snobu / destreamer

Save Microsoft Stream videos for offline enjoyment.
MIT License
2.37k stars 439 forks source link

Error: connect ECONNREFUSED 127.0.0.1:80 #331

Closed Lettly closed 3 years ago

Lettly commented 3 years ago

I'm on linux (Ubuntu), and when I try to download a video I get this error, why? How can I fix it?

Console log

./destreamer.sh -k -i "https://web.microsoftstream.com/video/12994dde-7408-49ce-a089-68fd8a7f4e82"

[WARNING] Access token has expired! 

Launching headless Chrome to perform the OpenID Connect dance...
Navigating to login page...
We are logged in.
waitFor is deprecated and will be removed in a future release. See https://github.com/puppeteer/puppeteer/issues/6214 for details and how to migrate your code.
Wrote access token to token cache.
At this point Chromium's job is done, shutting it down...

Fresh access token dropped into .token_cachen 

Parsing video/group urls
Fetching videos info... 

[WARNING] Error: connect ECONNREFUSED 127.0.0.1:80. Retrying request...

[WARNING] Error: connect ECONNREFUSED 127.0.0.1:80. Retrying request...

[WARNING] Error: connect ECONNREFUSED 127.0.0.1:80. Retrying request...

[WARNING] Error: connect ECONNREFUSED 127.0.0.1:80. Retrying request...

[WARNING] Error: connect ECONNREFUSED 127.0.0.1:80. Retrying request...

[WARNING] Error: connect ECONNREFUSED 127.0.0.1:80. Retrying request...

[WARNING] Error: connect ECONNREFUSED 127.0.0.1:80. Retrying request...

[ERROR] Error: connect ECONNREFUSED 127.0.0.1:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1135:16)
lukaarma commented 3 years ago

Destreamer is resolving microsoftstream.com to localhost for some reason.. Did you ever edit you host file or are you in some kind of restricted network setting?

Lettly commented 3 years ago

No, i never edited my host file. I also tried on Windows and i have the same problm.


From: lukaarma notifications@github.com Sent: Tuesday, March 2, 2021 12:17:00 PM To: snobu/destreamer destreamer@noreply.github.com Cc: Marco Giuseppini giuseppini.marco@live.it; Author author@noreply.github.com Subject: Re: [snobu/destreamer] Error: connect ECONNREFUSED 127.0.0.1:80 (#331)

Destreamer is resolving microsoftstream.com to localhost for some reason.. Did you ever edit you host file or are you in some kind of restricted network setting?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/snobu/destreamer/issues/331#issuecomment-788832354, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF36IXCNU7LHS7MRGDGKDSLTBTCKZANCNFSM4YOQATCA.

lukaarma commented 3 years ago

Sorry for the delay, are you still having this issue?

Lettly commented 3 years ago

No more, a few days later it resolved on its own