• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Discord (error from conn reader)

Vosly0

Member
Welcome,
I've got a little problem with the bot. I'm using two instances, one TeamSpeak3-Bot and one Discord-Bot. The TeamSpeak3 instance works fine, but the Discord instance keeps disconnecting randomly.

Logs:
2018-05-20T22:24:53+02:00 disconnected from discord
2018-05-20T22:24:53+02:00 error from conn reader: read tcp VPS_IP:40782->104.16.59.37:443: use of closed network connection
2018-05-20T22:23:57+02:00 unknown: {"op":1,"d":null,"s":172,"t":""}
2018-05-20T22:23:57+02:00 starting voice connection
2018-05-20T22:23:57+02:00 identifying to discord
2018-05-20T22:23:57+02:00 hello: {"op":10,"d":{"heartbeat_interval":41250,"_trace":["gateway-prd-main-brt4"]},"s":0,"t":""}
2018-05-20T22:23:57+02:00 Discord bot account valid (id: 4470672XXXXX, name: BOT 24/7 )
2018-05-20T22:23:53+02:00 disconnected from discord
2018-05-20T22:23:53+02:00 error from conn reader: read tcp VPS_IP:40778->104.16.59.37:443: use of closed network connection
2018-05-20T22:22:57+02:00 starting voice connection
2018-05-20T22:22:57+02:00 identifying to discord
2018-05-20T22:22:57+02:00 hello: {"op":10,"d":{"heartbeat_interval":41250,"_trace":["gateway-prd-main-vxkk"]},"s":0,"t":""}
2018-05-20T22:22:57+02:00 Discord bot account valid (id: 4470672XXXXX, name: BOT 24/7 )
2018-05-20T22:22:53+02:00 disconnected from discord
2018-05-20T22:22:53+02:00 error from conn reader: read tcp VPS_IP:40776->104.16.59.37:443: use of closed network connection
2018-05-20T22:21:57+02:00 starting voice connection
2018-05-20T22:21:57+02:00 identifying to discord
2018-05-20T22:21:57+02:00 hello: {"op":10,"d":{"heartbeat_interval":41250,"_trace":["gateway-prd-main-1476"]},"s":0,"t":""}
2018-05-20T22:21:57+02:00 Discord bot account valid (id: 4470672XXXXX, name: BOT 24/7 )
2018-05-20T22:21:53+02:00 disconnected from discord
2018-05-20T22:21:53+02:00 error from conn reader: read tcp VPS_IP:40774->104.16.59.37:443: use of closed network connection

iptables:

-A OUTPUT ! -o lo -p udp -m conntrack --ctstate NEW -m udp --dport 40000:65535 -j ACCEPT

TeamSpeak 3 Version: 3.1.9
Sinusbot Version: 0.13.37-9791176
 
Top