Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Zulip: 10s delay before message is sent #1869

Closed
imolein opened this issue Aug 2, 2022 · 0 comments · Fixed by #2024
Closed

Zulip: 10s delay before message is sent #1869

imolein opened this issue Aug 2, 2022 · 0 comments · Fixed by #2024

Comments

@imolein
Copy link

imolein commented Aug 2, 2022

Describe the bug
Since v1.23.1 messages from Zulip are sent with a delay of 10s, because the first event request fails. After the 10s timeout (introduced in #1589) matterbridge receives the message.

To Reproduce
In my case:

  • Update matterbridge to version newer or equal v1.23.1
  • Write a message in Zulip
    • the first event request fails at every message

Expected behavior
Messages are sent directly.

Screenshots/debug logs

time="2022-08-02T14:37:03+02:00" level=debug msg="receiving error: <nil>" func=handleQueue file="bridge/zulip/zulip.go:129" prefix=zulip
time="2022-08-02T14:37:13+02:00" level=debug msg="== Receiving gozulipbot.EventMessage{...}" func=handleQueue file="bridge/zulip/zulip.go:136" prefix=zulip

Environment (please complete the following information):

  • OS: Ubuntu 20.04.4
  • Matterbridge version: 1.25.2 20f841c

Additional context

  • Zulip version: 5.5
  • Matterbridge config:
[discord]
	[discord.channel]
	Token=""
	Server=""
	RemoteNickFormat="{NICK}"
	ShowEmbeds=true
	EditSuffix=" (edited)"

[zulip]
	[zulip.channel]
	Token=""
	Login=""
	Server=""
	RemoteNickFormat="**{NICK}**: "

[[gateway]]
name="zulipdiscord"
enable=true

[[gateway.inout]]
account="discord.channel"
channel="ID:0000"

[gateway.inout.options]
WebhookURL=""

[[gateway.inout]]
account="zulip.channel"
channel="Channel/topic:DiscordBridge"
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants