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
Failed to detect an internet connection. #541
Comments
A new release is yet to be cut. And the old releases still have now-invalid credentials. Reinstall freyr using the latest version of the source code. npm install miraclx/freyr-js |
Try this instead $ git clone https://github.com/miraclx/freyr-js
$ cd freyr-js
$ npm install
$ npm link Now, try using |
Yeah, I just released As for the network issue, there's still work to be done. Try adding |
It hasn't made any network requests yet. It validated the input query and reported that it doesn't support YouTube links. You have to use either a Spotify, Apple Music, or Deezer link. |
Seems like a weird link. Does that open in the browser? It normally doesn't say |
Apparently so! I just tested it with a custom link https://music.apple.com/us/song/1699712652 opens a song-specific page, whereas the standard https://music.apple.com/us/album/delresto-echoes-feat-beyonc%C3%A9/1699712635?i=1699712652 highlights the song as part of the album. I'll open an issue tracking the support of this format. |
Indeed! and I can confirm that trying to download the whole album works fine. |
@LeBradshaw, I've added support for I'll cut a release as Thanks for contributing to making freyr more capable! |
As for the network connection issue, I think we should try a few things: $ curl https://icanhazip.com
107.53.232.145 You should see an IP address, which represents your public IP. If that works, we can proceed to more involved steps to find out what exactly is up with $ git clone https://github.com/miraclx/freyr-js
$ cd freyr-js
$ npm install Now, let's step into an interactive $ node
> let pip = await import("public-ip");
> pip.publicIp({ onlyHttps: true });
107.53.232.145 You should see the same IP address as earlier. |
Ping @LeBradshaw, whenever you find the time. |
Let's put $ node
> let pip = await import("public-ip");
> await pip.publicIp({ onlyHttps: true });
43.53.232.125 |
much of the same. I feel like I must be doing something wrong. Also, I found something really weird. The track "Fly in the freedom" tries to pull from youtube music, but the file it tries to fetch is almost 600 megs. I don't think freyr is at fault, but I wonder what file it's trying to pull. |
you forgot the Thanks for noting that, I'll have a look. |
Looks like it's trying to download this - https://www.youtube.com/watch?v=lH_OmS4nvq8 😅 I didn't write any classifiers for YouTube Music, as I did YouTube which would've filtered this result out. What you can do, for now.. for this particular track, is to force freyr to use the YouTube source $ freyr -S youtube https://music.apple.com/us/album/fly-in-the-freedom/915244168?i=915244220 |
Just realized the orignal issue may still persist. @LeBradshaw, can you confirm if freyr works nominally on your end on the latest release? |
I just installed freyr, and although I do have an internet connection it doesn't seem to be able to reach out. I imagine it has something to do with firewall rules.
The text was updated successfully, but these errors were encountered: