The case of frequent disconnections :) #50
-
|
Hi! Am I right to suggest that with log-level set to debug, every log entry, which contains this: means I was disconnected from Discord, and oxicord did the re-connection? And if so, then also another question: what could cause these disconnections? My network probably? The ISP? My local settings? And then maybe any hints on how I can improve this situation? I seem to have way to many of those re-connection, almost every 2-5 min. (Just in case, I get fiber-optic internet from my ISP, which is later distributed over the house with TP-LINK AX1800.) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I will need more logs to understand better. Currently there are two types of connections in oxicord: REST (hyper) and Gateway (tungstenite), the If you see that log between 2-5 minutes it may be the following:
If you are having a real disconnection from the Gateway, you should see something like this:
|
Beta Was this translation helpful? Give feedback.
I will need more logs to understand better.
Currently there are two types of connections in oxicord: REST (hyper) and Gateway (tungstenite), the
hyper_utillog 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:
hypercloses the idle connection after a timeout (default 90 seconds). If oxicord makes an API call after idle,hyperestablishes a new connection.If you are having a real disconnection from the Gateway, you should see something like this:
warn!(error = %error, "Connection error");warn!("Heartbe…