-
Notifications
You must be signed in to change notification settings - Fork 10
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
Using Browser-Sync / Html Config Proxy needs minutes to finish loading #475
Comments
One thing more that I noticed: So: It seems that the React admin portion needs longer to load than the client side socket.io timeout allows. |
Unfortunately I have to revert my last post. When I persist the connectTimout in the Further: If I start the dev-server with the --verbose flag (activating silly messages) and also the Browser-Sync with debug level logs (manually edited here Line 960 in 259a1cc
I am poking around in the fog... |
I further narrowed it down a little bit. It is highly connected to What do I mean? --> To better analyse it I created a complete new adapter with React enabled with The complete described behaviour from above occurs as fast as I manually switch to |
Hi folks,
I am using React for the admin part of a adapter. When I launch the
dev-server
withwatch
ordebug --wait
it needs minutes to load. A complete cycle looks like that:As one can see the websocket is not able to establish a connection.
A few things I noticed:
createHtmlConfigProxy
(https://github.com/ioBroker/dev-server/blob/259a1ccfb9b75f4403a58e6feb47f1353845f195/src/index.ts#L759C17-L759C38) that breaks the flow.Unfortunately I am not skilled in Browser-Sync at all so I don't have a clue what is wrong here.
A complete log until the connection succeeds is attached below.
localhost-1711220680850.log
The text was updated successfully, but these errors were encountered: