get-got / discord-downloader-go

A Discord bot program to download and otherwise handle files sent in Discord channels with extensive configuration. Can be used as a genuine Discord Bot or user account / self-bot
MIT License
277 stars 31 forks source link

[2.5.2-dev] Frequent Gateway errors and disconnects #137

Closed MarcG2 closed 7 months ago

MarcG2 commented 7 months ago

See screenshot below. These disconnects have occurred 4 times within a 10 hour period. Is this a server side issue?

I recently started running this app on a different system with a global VPN running. The downloader is set to be fully excluded from the VPN since I found it was unable connect with it running. But I wonder if it's still somehow causing issues.

Screenshot 2024-02-14 164832

kauffy commented 7 months ago

This looks like an error on your side having to do with your network configuration. Are you using randomized MAC id on your machine or router or anything?

MarcG2 commented 7 months ago

Are you using randomized MAC id on your machine or router or anything? No, I haven't configured my system to do that. I don't think my VPN, Private Internet Access, is doing it either. But I'll leave the VPN off for a while since I've got no better ideas.

I started using the VPN right before Discord started having 403 errors on version 2.4 of the downloader. I don't think I was getting these disconnect errors then.

Is there an easy way to have the app log to text file? When I checked today, the app seems to consistently crash after about a day or two of uptime.

kauffy commented 7 months ago

As far as I know, the log is what you see on the screen when you run the app- there isn't more information. This information is written to a file, though, continuously (that is, it doesn't overwrite when you restart the app).

I have found that it seems like the app is "gone" after a day or two-- it's just closed and I'm not sure when, why, or how. A lot of the time, after a similar period, the app will still be there, but it will be hung and doing nothing.

MarcG2 commented 7 months ago

It turns out my issue was in fact caused by the VPN. PIA has an option called "advanced kill switch" and apparently having that enabled was causing my disconnect problems.

get-got commented 7 months ago

Thanks for the follow up, good to know