https://bugs.winehq.org/show_bug.cgi?id=54623
Bug ID: 54623 Summary: unimplemented websocket.dll.WebSocketCreateClientHandle Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: a44687@gmail.com Distribution: ---
Created attachment 74148 --> https://bugs.winehq.org/attachment.cgi?id=74148 Crash dump
Trying to install and run MediRoutes (a niche dotnet application I use for work) and it consistently throws the following:
wine:Call from 7B012302 to unimplemented function websocket.dll.WebSocketCreateClientHandle, aborting
The app gets as far as prompting for login credentials (which are successful), after which a few status dialogs while it loads, then immediately crashes.
I have tried on wine versions 7.22, 8.0, 8.2, 8.3 (Ubuntu bionic packages) with identical results.
Thank you for your time.
https://bugs.winehq.org/show_bug.cgi?id=54623
Mohamad Al-Jaf mowinebugs@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mowinebugs@mail.com
--- Comment #1 from Mohamad Al-Jaf mowinebugs@mail.com --- Created attachment 74153 --> https://bugs.winehq.org/attachment.cgi?id=74153 WebSocketCreateClientHandle Stub
Does this patch help?
https://bugs.winehq.org/show_bug.cgi?id=54623
--- Comment #2 from a44687@gmail.com --- Wow, quick response! I will give it a shot and get back. Thanks!
https://bugs.winehq.org/show_bug.cgi?id=54623
--- Comment #3 from a44687@gmail.com --- It now gets past that point, but hangs shortly after on a spinner. Not seeing any specific errors in the console. Probably just not going to happen with this app, I'll have to use VM instead :(
https://bugs.winehq.org/show_bug.cgi?id=54623
--- Comment #4 from Mohamad Al-Jaf mowinebugs@mail.com --- (In reply to a44687 from comment #3)
It now gets past that point, but hangs shortly after on a spinner. Not seeing any specific errors in the console. Probably just not going to happen with this app, I'll have to use VM instead :(
Seeing as how login was successful, it's likely that an implementation of WebSocketCreateClientHandle is not needed, but just to be sure you could use the native winsocket.dll from a Windows installation and see if it changes anything.
Another thing you could try is installing the .NET framework using
$ winetricks dotnet472
Also, this likely won't help but you could also try
$ winetricks d3dcompiler_47
Could you attach the console output here? Just do
$ wine "MediRoutesHost.exe" &> log.txt
https://bugs.winehq.org/show_bug.cgi?id=54623
--- Comment #5 from a44687@gmail.com --- Created attachment 74165 --> https://bugs.winehq.org/attachment.cgi?id=74165 Console log
https://bugs.winehq.org/show_bug.cgi?id=54623
--- Comment #6 from a44687@gmail.com --- I'm sorry I didn't already mention that I did install dotnet472 with winetricks, made sure to remove mono, so I was a little confused on this point (how a built-in library was being called). I certainly could have made a mistake on my end.
I am attaching console output as requested. Again your help is appreciated!
https://bugs.winehq.org/show_bug.cgi?id=54623
--- Comment #7 from a44687@gmail.com --- Further information: I also am getting a dotnet exception dialog "Error 3:The type initializer for 'System.Net.WebSockets.WebSocketProtocolComponent' threw an exception" just before it hangs.
https://bugs.winehq.org/show_bug.cgi?id=54623
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|unimplemented |MediRoutes crashes on |websocket.dll.WebSocketCrea |unimplemented function |teClientHandle |websocket.dll.WebSocketCrea | |teClientHandle Version|unspecified |8.3
https://bugs.winehq.org/show_bug.cgi?id=54623
--- Comment #8 from Mohamad Al-Jaf mowinebugs@mail.com --- (In reply to a44687 from comment #7)
Further information: I also am getting a dotnet exception dialog "Error 3:The type initializer for 'System.Net.WebSockets.WebSocketProtocolComponent' threw an exception" just before it hangs.
The error seems to be caused by the stub: https://referencesource.microsoft.com/#system/net/system/Net/WebSockets/WebS...
Though, it doesn't seem like it would cause a hang. Could you test it with the native websocket.dll from Windows?
Unfortunately, I can't test it myself as there doesn't seem to be an option to register an account for MediRoutes.
https://bugs.winehq.org/show_bug.cgi?id=54623
--- Comment #9 from a44687@gmail.com --- Yeah, unfortunately it is a paid service that you have to call them to create an account for.
In any case, that fixed it! This solves the problem for me, but is there anything more I can do for you?
https://bugs.winehq.org/show_bug.cgi?id=54623
--- Comment #10 from Mohamad Al-Jaf mowinebugs@mail.com --- (In reply to a44687 from comment #9)
Yeah, unfortunately it is a paid service that you have to call them to create an account for.
In any case, that fixed it! This solves the problem for me, but is there anything more I can do for you?
Glad to hear it's working now. You've been helpful, thanks.
Looks like a few Websocket functions needs to be implemented for this app to work.
https://bugs.winehq.org/show_bug.cgi?id=54623
--- Comment #11 from a44687@gmail.com --- Cheers!
https://bugs.winehq.org/show_bug.cgi?id=54623
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #12 from Vijay Kamuju infyquest@gmail.com --- Sent a MR for this function https://gitlab.winehq.org/wine/wine/-/merge_requests/4579
https://bugs.winehq.org/show_bug.cgi?id=54623
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c9ce39d0a17a0d4e33547ec782b | |d97a8d84808c1 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #13 from Vijay Kamuju infyquest@gmail.com --- Stub is commited.
This will fix the crash, but to make it actually work it needs proper implementation.
https://gitlab.winehq.org/wine/wine/-/commit/c9ce39d0a17a0d4e33547ec782bd97a...
https://bugs.winehq.org/show_bug.cgi?id=54623
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.21.