freyr-js
freyr-js copied to clipboard
Freyr Failed to Detect An Internet Connection
I have an issue with freyr detecting an internet connection.
/ __/_______ __ _______
/ /_/ ___/ _ \/ / / / ___/
/ __/ / / __/ /_/ / /
/_/ /_/ \___/\__, /_/
/____/ v0.8.1
freyr - (c) Miraculous Owonubi <[email protected]>
------------------------------------------------------
[!] Failed To Detect An Internet Connection
Anyone knows how to solve this issue?
What does curl icanhazip.com
say?
It shows my IP address
Interesting. How did you install freyr and What version are you running?
Installed through npm. Running v0.8.1. Previously i had the --global issue, not sure if its related
Can you try the latest master and see if that works for you? I patched an issue with network check a long time ago and don't expect v0.8.1 to have any issues. Just try master and see if that works.
$ git clone https://github.com/miraclx/freyr-js
$ cd freyr-js
$ npm install
$ node cli.js <song-url>
Sorry, it still does not work for me
Can you try the docker images?
$ docker run -it --rm freyrcli/freyrjs-git:master <song-url>
Sorry I am not sure how to run the docker. Im not good enough at python
Start here: https://docs.docker.com/
I had the same issue. Using the docker package works.
@kamiTT, can you describe your network setup?
- Are you using a VPN?
- What does
curl icanhazip.com
show?
Also, which version of freyr are you on? and how did you install it?
I tried it with and without a vpn. curl icanhazip.com
will output my IP address/the server IP address. I installed via yarn and I'm using version 0.8.1. I use the cloudfare DNS if that could affect it.
Got it, I'll try to reproduce the issue and see if I can arrive at a fix. Thanks for the info.
same issue here.. i am running from docker(windows), but works in ubuntu
@vasanthtt, can you include logs? And describe your network setup
If it's the network checking logic that is flaky, you can disable it with --no-net-check
. But it's there for a reason, if freyr runs perfectly with that flag set, but reports no internet without the flag, we'd need to look into it more.
Same issue here with version 0.9.0 installed with "npm install -g freyr" The first time I run freyr, it almost always says "Failed To Detect An Internet Connection". A second run with the exact same command just immediately after the faulty one is generally ok. Sure with --no-net-check, it works too.
Yeah, I could confirm I had the same issue. Network checking over a VPN plain failed, while without it worked fine. I'll take a look at this soon.
I haven't experienced this issue in a while. If anyone can provide an update on the state of this, that would be very much appreciated. Otherwise, I'll have to close this soon.
Hi, at the moment, every time i try Freyr, a new error will appear.
I am currently trying docker but am hanging at "Awaiting user authentication"
Sorry but I have only super basic knowledge on python and none for docker. Not sure what I am doing wrong
Extracted into #529, can you provide the full logs?