-
Notifications
You must be signed in to change notification settings - Fork 14
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
Doesn't appear to work on proxy (Fedora 36) #67
Comments
That's weird. Have you been able to authenticate with Last.fm using other programs? Would it possible for you to share some details on your proxy setup? I'm not sure what could be causing this, rescrobbled uses rustfm-scrobble to scrobble to Last.fm, so the issue could very well be in that library. |
I can authenticate fine using My proxy is in the form I'll have a look into rustfm-scrobble. It seems that it is maybe not reading (or failing to get) the proxy values, but I didn't see anything that tried to read them in the Thanks. |
@C-Lunn This is a shot in the dark, but I've created a fork of rustfm-scrobble that uses a different HTTP client library. A rescrobbled version that uses this fork is on the Thanks! |
So, looks like it's connecting but a malformed request? |
Yes, sorry, this is a mistake on my part while modifying rustfm-scrobble. I've fixed it and it seems to work for me, could you please try again? (You might have to make sure deps of rescrobbled are re-downloaded, eg.
This can and should be fixed with a dependency, I'll make a separate issue. |
@InputUsername Thanks! |
@C-Lunn For posterity: the issue seems to be in ureq (current HTTP library in rustfm-scrobble). Ureq either doesn't pick up proxy settings, or if it does, doesn't support HTTPS proxies. The fix is to replace it with attohttpc, which does pick up proxy settings. |
@InputUsername |
@C-Lunn |
@C-Lunn |
Hi, I'm trying to scrobble from behind a proxy, and have obtained a key and shared secret from last.fm.
On starting the application, I am prompted for a username and password. Entering these, sometimes the application hangs, sometimes I get the following message:
Strace output, if it helps:
Unfortunately I can't test off-proxy due to my network setup.
Any help would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered: