Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Cannot connect to Twitch, retrying in... #383

Closed
ThisIsCyreX opened this issue Dec 9, 2023 · 9 comments
Closed

Cannot connect to Twitch, retrying in... #383

ThisIsCyreX opened this issue Dec 9, 2023 · 9 comments
Labels
Help / Issue General or specific issues that just require some additional assistance to solve Solved This issue has been resolved

Comments

@ThisIsCyreX
Copy link
Contributor

Hello 😃

On a freshly installed Windows 11 machine, in the same room and same network - the application isn't able to run.. for some reason.
I deleted the settings/cookies/cache - nothing changes:
image

Disabled IPv6 on that machine, exception in Windows Defender/Firewall.
The machine is able to connect to m.twitch.tv with Edge and Firefox without problems.
I use the prebuild exe from this repo.

@DevilXD DevilXD added the Bug Something isn't working label Dec 10, 2023
@DevilXD
Copy link
Owner

DevilXD commented Dec 10, 2023

What about accessing https://id.twitch.tv/oauth2/validate ? The page should load into a JSON payload that looks like this:
picture

@ThisIsCyreX
Copy link
Contributor Author

Same result:
image

I tried this fork, just to see if something changes via Docker.
And yes, via Docker, it connects:
image

Like I said in this issue, my daily driver had the same issue after a reinstall, but later that day worked for some reason.
But now it just will not connect.

@DevilXD
Copy link
Owner

DevilXD commented Dec 10, 2023

There's no functional difference between the fork and the master build, which leads me to believe it's a matter of the executable issue. Please try running the master build from source, by setting up the runtime environment, etc. There's some instructions on how to do so here: https://github.com/DevilXD/TwitchDropsMiner/wiki/Setting-up-the-environment,-building-and-running

Once that works, the executable may suddenly start working as well. Please verify that too.

@ThisIsCyreX
Copy link
Contributor Author

Python312, git 2.43 and latest VS Build Tools 2022:
image

Run from source or build from source - no changes 🤔

@DevilXD
Copy link
Owner

DevilXD commented Dec 11, 2023

Then if you'd try the fork without Docker, it'd still not work - as I said, the fork has no functional difference, the same URLs are accessed, etc.

Fork or not, the issue appears to be somewhere else. But nothing more comes to my mind right now.

@ThisIsCyreX
Copy link
Contributor Author

Yeah, the fork isn't working from source or without docker too.

@ThisIsCyreX
Copy link
Contributor Author

I checked via "Resource Monitor" what the application is connecting to:
image

and my other "good" machine:
image

Not sure if this helps. It tries/is connecting to fastly cloud services? But not AWS..
But isn't answering the question why.

@DevilXD
Copy link
Owner

DevilXD commented Dec 11, 2023

Looks kinda like a DNS issue to me. Maybe try a ipconfig /flushdns? Set your DNS server to 1.1.1.1 temporarily?

@ThisIsCyreX
Copy link
Contributor Author

Soo.. it works
Tried different DNS settings without success.
I uninstalled Python, git, VS Studio
ran those commands:
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow

and...
image

Thanks for your help :)

@DevilXD DevilXD added Solved This issue has been resolved Help / Issue General or specific issues that just require some additional assistance to solve and removed Bug Something isn't working labels Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help / Issue General or specific issues that just require some additional assistance to solve Solved This issue has been resolved
Projects
None yet
Development

No branches or pull requests

2 participants