https://bugs.winehq.org/show_bug.cgi?id=47476
Bug ID: 47476 Summary: Rhinoceros 6 unable to verify online-license because of missing functions in httpapi.dll Product: Wine-staging Version: 4.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: felix+winehq@klaftenegger.de CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 64852 --> https://bugs.winehq.org/attachment.cgi?id=64852 Log of running Rhino.exe
The current Version of Rhino3d (Version 6.15) isnt able to verify the online-license and im not able to test more functions without.
I was able to use Rhino3d Version 5 with wine this is a really old version and didnt need a online-license to run
The console-output shows that there are missing parts in wines httpapi.dll
--------------------------- Unhandled Exception: System.EntryPointNotFoundException: Unable to find an entry point named 'HttpCloseRequestQueue' in DLL 'httpapi.dll'. at System.Net.UnsafeNclNativeMethods.SafeNetHandles.HttpCloseRequestQueue(IntPtr pReqQueueHandle) at System.Net.HttpRequestQueueV2Handle.ReleaseHandle() at System.Runtime.InteropServices.CriticalHandle.Cleanup() at System.Runtime.InteropServices.CriticalHandle.Dispose(Boolean disposing) at System.Runtime.InteropServices.CriticalHandle.Finalize() ---------------------------
To be able to install and start rhino so far i needed to install following parts via winetricks:
dotnet35,dotnet40,dotnet452,vcrun2010,vcrun2013,vcrun2017
and wine need to be 64-bit
i have attached the full log.
https://bugs.winehq.org/show_bug.cgi?id=47476
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |httpapi Product|Wine-staging |Wine
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- Yes, httpapi is not implemented, and is likely to remain that way for a good while.
https://bugs.winehq.org/show_bug.cgi?id=47476
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|leslie_alistair@hotmail.com | |, z.figura12@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=47476
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Status|UNCONFIRMED |NEW Ever confirmed|0 |1 URL| |https://web.archive.org/web | |/20190707150806/http://file | |s.mcneel.com/dujour/exe/201 | |90613/rhino_en-us_6.15.1916 | |4.21011.exe Summary|Rhinoceros 6 unable to |Rhinoceros 6 (.NET 4.x app) |verify online-license |fails to verify |because of missing |online-license: |functions in httpapi.dll |System.EntryPointNotFoundEx | |ception: Unable to find an | |entry point named | |'HttpCloseRequestQueue' in | |DLL 'httpapi.dll' Keywords| |dotnet, download
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
I want to highlight that multiple 'httpapi' component meta-bugs already exist (which is bad):
* bug 38245 ("Constrcuct2 can't create a localhost server - httpapi stubs") * bug 46549 ("Multiple .NET 4.x applications and games using 'System.Net.HttpListener' class crash due incomplete httpapi implementation (PUBG Lite Launcher, SeeSnake HQ)")
Refining summary to target the missing stub - although it won't be enough to make the online login/licensing work.
I've created a snapshot of the download via Internet Archive:
https://web.archive.org/web/20190707150806/http://files.mcneel.com/dujour/ex...
BTW you don't need to install all the MS VC++ 2005, 2010, 2013, 2017 runtime redistributables. The app installer bundles them on its own, downloads and installs them.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Rhino 6/System
$ wine ./Rhino.exe ... 0072:fixme:httpapi:HttpInitialize ({2,0}, 0x1, 0000000000000000): stub! 0072:fixme:httpapi:HttpCreateServerSession ({2,0}, 000000002F46E4C0, 0): stub! 0072:fixme:httpapi:HttpCreateServerSession ({2,0}, 000000002F46E4C0, 0): stub! 0072:fixme:httpapi:HttpCreateServerSession ({2,0}, 000000002F46E4C0, 0): stub! --- snip ---
I was able to activate a demo license key though (no login required). It contacted some server to phone home some node-lock data. On that path 'httpapi' didn't seem involved. I've encountered more bugs/crashes later which deserve their own bug reports.
$ sha1sum rhino_en-us_6.15.19164.21011.exe 85e34606c761ec7229cbe2c6ba7efeae7e778a97 rhino_en-us_6.15.19164.21011.exe
$ du -sh rhino_en-us_6.15.19164.21011.exe 263M rhino_en-us_6.15.19164.21011.exe
$ wine --version wine-4.12.1-3-g0b1a953fc3
Regards
https://bugs.winehq.org/show_bug.cgi?id=47476
--- Comment #3 from felix+winehq@klaftenegger.de --- I started the install of rhino in none stagging wine and the installer always crashed installing vcrun and co. I was only able to install rhino with using winetricks, but nice to see some other is trying the same.
Saddly my primary goal would be using a online-license since i would need the licens on more than one workstation.
Bad that there is no developing on the httpapi at the moment.
https://bugs.winehq.org/show_bug.cgi?id=47476
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello felix,
I've created bug 47480 ("Rhinoceros 6 (.NET 4.x app) crashes in rsaenh during local license file validation") for a follow-up crash.
After fixing that, the app starts and shows main user-interface which seems to be functional. I loaded some example named 'rdk_material_scene.3dm' which took some time.
Regards
https://bugs.winehq.org/show_bug.cgi?id=47476
Esdras Tarsis esdrastarsis@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |esdrastarsis@gmail.com
--- Comment #5 from Esdras Tarsis esdrastarsis@gmail.com --- (In reply to Zebediah Figura from comment #1)
Yes, httpapi is not implemented, and is likely to remain that way for a good while.
Why "remain that way for a good while"? Is the implementation of this dll too complex? Would dll winhttp help in the implementation of httpapi?
https://bugs.winehq.org/show_bug.cgi?id=47476
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- (In reply to Esdras Tarsis from comment #5)
(In reply to Zebediah Figura from comment #1)
Yes, httpapi is not implemented, and is likely to remain that way for a good while.
Why "remain that way for a good while"? Is the implementation of this dll too complex? Would dll winhttp help in the implementation of httpapi?
Essentially because it's very complex—we have to write a whole HTTP request parser and socket server, and it all has to work using communication from a pseudo-kernel driver. winhttp doesn't help; at best it could do parsing, but it doesn't do any of the parsing we need.
However, I've actually been working on an implementation myself. In fact I have a working and hopefully upstream-ready implementation of version 1 request queues; it's currently waiting for review.
https://bugs.winehq.org/show_bug.cgi?id=47476
winetaste@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetaste@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=47476
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |b19f4488f6d73e5c4ebdeee4484 | |5c54832477ecb Status|NEW |RESOLVED
--- Comment #7 from Zebediah Figura z.figura12@gmail.com --- HttpCloseRequestQueue() is implemented in https://source.winehq.org/git/wine.git/commitdiff/b19f4488f6d73e5c4ebdeee44845c54832477ecb. Please open new reports for further bugs affecting the given application.
https://bugs.winehq.org/show_bug.cgi?id=47476
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.16.