Skip to content
Discussion options

You must be logged in to vote

I will need more logs to understand better.

Currently there are two types of connections in oxicord: REST (hyper) and Gateway (tungstenite), the hyper_util log is from the HTTP client, the log you mention does not necessarily mean that your Gateway profile was disconnected.

If you see that log between 2-5 minutes it may be the following:

  • hyper closes the idle connection after a timeout (default 90 seconds). If oxicord makes an API call after idle, hyper establishes a new connection.
  • typing indicators, make constant calls to the rest API.

If you are having a real disconnection from the Gateway, you should see something like this:

  • warn!(error = %error, "Connection error");
  • warn!("Heartbe…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@for-coursera
Comment options

Answer selected by for-coursera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants