Open aghayanlena opened 8 months ago
@aghayanlena How does the UNC path get in there? How do you build the executable? Also, could you share the browser and console logs, please?
Hi @tsmaeder ,
I installed the Theia executable on one of my servers and ran it via the UNC path from another machine.
Those are the steps that I use to generate the package: $ yarn $ yarn build $ yarn dist
You can find the package.json and electron-builder.json files in the bug description.
Bug Description:
The initialization of my theia custom electron application fails on Windows when running theia via UNC path. ( --no-sandbox option is presented) From the Network tab of DevTools the following request is refused: Request URL: http:///socket.io/?EIO=4&transport=polling&t=OvSpqm9
Although, from the logs, it is listening to http://127.0.0.1: .
The same request that is addressed to localhost returns the response successfully:
$ curl http://127.0.0.1/:/socket.io/?EIO=4&transport=polling
0{"sid":"cx7PqAU7lTT64JufAAAB","upgrades":["websocket"],"pingInterval":30000,"pingTimeout":60000,"maxPayload":100000000}
Steps to Reproduce:
I use the following configuration to build/package my custom theia application:
package.json of electron-app
electron-builder.json
Steps to reproduce:
The front-end does not open successfully; it keeps sending the socket.io request (mentioned in the bug description) forever.
Additional Information
Don't see the same behavior on Linux.