-
Notifications
You must be signed in to change notification settings - Fork 12
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
Wine support #6
Comments
The embedded cpprest SDK uses WinHTTP as backend. Looking at the Wine source this should be supported. I've added a new 1.2.0 release with improved error reporting. Maybe this yields more information. |
Show!!! =DDD I did loved the news. =DDD Thanks!!! =))) Keep up the Excellent Work!!!! =))) |
@gix thank you very much for quickly adding extra logging. Now I get the following when I try to authorise:
|
Can you please try running with tracing enabled? |
Sure, gladly. Proxy is none configured, other web request such as the search for component updates also works. With tracing enabled, the foobar console now shows:
This error interestingly translates to "The server name cannot be resolved." Full Wine WinHTTP trace after clicking the request authorisation button:
Also here, the hostname resolver fails. I can resolve |
I tried reproducing this myself with Wine 3.0.2 (on Ubuntu, with the package directly from WineHQ) but it crashes when I request authorization due to an unimplemented function in the standard library. So I wonder why it runs further for you. |
It's indeed weird. I'm also running this on Wine 3.0.2 but on macOS, using Homebrew as a package manager. Looking at the formula, it builds from WineHQ sources and only applies one patch against screen flickering. Could possibly a library override cause the different behaviour? I have a bunch of runtime packages installed for fb2k and all the plugins I'm using. |
I have a component for foobar2000 which utilises Windows Script Host and while I can get it working under WINE, I can't connect to the Last.fm API via https. http works fine so I guess it's some security/certificate issue. Apparently Last.fm has something called SNI on their servers which Windows XP does not support - anything newer than Vista does. I guess that shows how far behind WINE is when implementing windows APIs. https://en.wikipedia.org/wiki/Server_Name_Indication AFAIK, winetricks only supports the XP version of IE8 and there isn't much hope of getting anything newer working. |
https isn't used to scrobble (I wasn't even aware that the endpoint supports it) so this shouldn't be the problem. On another note I tried with the latest Wine development release and it works fine. |
I thought https was a requirement for all POST requests but now I can't find any reference to that in the API docs at all - all examples are using http. Sorry for the noise! |
Hello, as today this issue still persist, I'm with the following errors:
Anyone have a workaround for this? My environment is PlayOnMac 4.4.2 with the shipped Wine version. |
I am using foobar2000 under Wine (on MacOS, with WineBottler and Wine 2.0) and it seems to be unable to connect to the last.fm service at all. The problem starts when trying to request the authorisation:
foo_scrobble: Failed to get auth token. (error: -2, <unknown error>)
Looking at the source, this appears to happen in
WebService::GetAuthToken()
which seemingly ends up in the generic exception handler.Originally I tried to authorise on a Windows system and copy the configuration to my Wine setup, which led to the following issue when scrobbling the cached tracks:
foo_scrobble: Scrobbling (Internal foo_scrobble error)
All in all the impression is that there's probably an issue with cpprest on Wine.
Using the latest stable Wine package 3.0.2, authorisation also fails but with a different error:
foo_scrobble: Failed to get auth token. (error: 11, The service is temporarily offline.)
On each event, Wine doesn't log any errors or warnings (using debug mode
warn+all
) that would hint on missing or incomplete API support.The text was updated successfully, but these errors were encountered: