GithubHelp home page GithubHelp logo

Comments (9)

SKB-CGN avatar SKB-CGN commented on July 20, 2024

Please provide Browser Console Output from F12.

from iobroker.energiefluss.

Sineos avatar Sineos commented on July 20, 2024
[2022-08-27T16:29:36.530Z] ws connection error: CLOSE_ABNORMAL socket.io.js:68:32
[2022-08-27T16:29:36.530Z] Start reconnect 5 socket.io.js:66:41
Using Instance: energiefluss.0 functions.js:9:9
[2022-08-27T16:29:36.622Z] Try to connect socket.io.js:66:41
[2022-08-27T16:29:39.633Z] No READY flag received in 3 seconds. Re-init socket.io.js:67:32
[2022-08-27T16:29:39.633Z] Start reconnect 0 socket.io.js:66:41
Firefox can’t establish a connection to the server at ws://192.168.178.12:8082/?sid=1661617776623. socket.io.js:140:21
[2022-08-27T16:29:39.633Z] Try to connect socket.io.js:66:41
The connection to ws://192.168.178.12:8082/?sid=1661617776623 was interrupted while the page was loading. socket.io.js:140:21
[2022-08-27T16:29:39.635Z] Start reconnect 1 socket.io.js:66:41
[2022-08-27T16:29:39.635Z] ws connection error: CLOSE_ABNORMAL socket.io.js:68:32
[2022-08-27T16:29:39.635Z] Reconnect is already running 1 socket.io.js:66:41
Firefox can’t establish a connection to the server at ws://192.168.178.12:8082/?sid=1661617779633. socket.io.js:140:21
The connection to ws://192.168.178.12:8082/?sid=1661617779633 was interrupted while the page was loading. socket.io.js:140:21
[2022-08-27T16:29:39.635Z] Reconnect is already running 1 socket.io.js:66:41
[2022-08-27T16:29:39.635Z] ws connection error: CLOSE_ABNORMAL socket.io.js:68:32
[2022-08-27T16:29:39.635Z] Reconnect is already running 1 socket.io.js:66:41
[2022-08-27T16:29:40.647Z] Try to connect socket.io.js:66:41
[2022-08-27T16:29:43.651Z] No READY flag received in 3 seconds. Re-init socket.io.js:67:32
[2022-08-27T16:29:43.651Z] Start reconnect 2 socket.io.js:66:41
Firefox can’t establish a connection to the server at ws://192.168.178.12:8082/?sid=1661617780647. socket.io.js:140:21
The connection to ws://192.168.178.12:8082/?sid=1661617780647 was interrupted while the page was loading. socket.io.js:140:21
[2022-08-27T16:29:43.652Z] Reconnect is already running 2 socket.io.js:66:41
[2022-08-27T16:29:43.652Z] ws connection error: CLOSE_ABNORMAL socket.io.js:68:32
[2022-08-27T16:29:43.652Z] Reconnect is already running 2 socket.io.js:66:41
[2022-08-27T16:29:45.657Z] Try to connect socket.io.js:66:41
[2022-08-27T16:29:48.662Z] No READY flag received in 3 seconds. Re-init socket.io.js:67:32
[2022-08-27T16:29:48.662Z] Start reconnect 3 socket.io.js:66:41
Firefox can’t establish a connection to the server at ws://192.168.178.12:8082/?sid=1661617785658. socket.io.js:140:21
The connection to ws://192.168.178.12:8082/?sid=1661617785658 was interrupted while the page was loading. socket.io.js:140:21
[2022-08-27T16:29:48.663Z] Reconnect is already running 3 socket.io.js:66:41
[2022-08-27T16:29:48.663Z] ws connection error: CLOSE_ABNORMAL socket.io.js:68:32
[2022-08-27T16:29:48.663Z] Reconnect is already running 3 socket.io.js:66:41
[2022-08-27T16:29:51.669Z] Try to connect socket.io.js:66:41
[2022-08-27T16:29:54.686Z] No READY flag received in 3 seconds. Re-init socket.io.js:67:32
[2022-08-27T16:29:54.686Z] Start reconnect 4 socket.io.js:66:41
Firefox can’t establish a connection to the server at ws://192.168.178.12:8082/?sid=1661617791669. socket.io.js:140:21
The connection to ws://192.168.178.12:8082/?sid=1661617791669 was interrupted while the page was loading. socket.io.js:140:21
[2022-08-27T16:29:54.687Z] Reconnect is already running 4 socket.io.js:66:41
[2022-08-27T16:29:54.687Z] ws connection error: CLOSE_ABNORMAL socket.io.js:68:32
[2022-08-27T16:29:54.687Z] Reconnect is already running 4 socket.io.js:66:41
[2022-08-27T16:29:58.695Z] Try to connect socket.io.js:66:41
[2022-08-27T16:30:01.707Z] No READY flag received in 3 seconds. Re-init socket.io.js:67:32
[2022-08-27T16:30:01.707Z] Start reconnect 5 socket.io.js:66:41
Firefox can’t establish a connection to the server at ws://192.168.178.12:8082/?sid=1661617798695. socket.io.js:140:21
The connection to ws://192.168.178.12:8082/?sid=1661617798695 was interrupted while the page was loading. socket.io.js:140:21
[2022-08-27T16:30:01.709Z] Reconnect is already running 5 socket.io.js:66:41
[2022-08-27T16:30:01.709Z] ws connection error: CLOSE_ABNORMAL socket.io.js:68:32
[2022-08-27T16:30:01.709Z] Reconnect is already running 5 socket.io.js:66:41
[2022-08-27T16:30:06.717Z] Try to connect socket.io.js:66:41
GETws://192.168.178.12:8082/?sid=1661617806717
[HTTP/1.1 404 Not Found 1ms]
Firefox can’t establish a connection to the server at ws://192.168.178.12:8082/?sid=1661617806717. socket.io.js:140:21
[2022-08-27T16:30:06.725Z] Start reconnect 5 socket.io.js:66:41
[2022-08-27T16:30:06.725Z] ws connection error: CLOSE_ABNORMAL socket.io.js:68:32
[2022-08-27T16:30:06.725Z] Reconnect is already running 5 socket.io.js:66:41

Socket.io is up and running:
grafik

from iobroker.energiefluss.

SKB-CGN avatar SKB-CGN commented on July 20, 2024

Please change change in Web Adapter socket instance to integrated. Then the connection is working.

Do you need socket.io?
In most cases the integrated socket instance in Web Adapter is working fine.

from iobroker.energiefluss.

Sineos avatar Sineos commented on July 20, 2024

In fact the web adapter is using web sockets:

grafik

Otherwise the VIS editor is not working correctly for me.

Edit: But you are right, "integrated" works, but I would like to avoid running multiple web instances (if this would anyway be possible because neither in your adapter, nor in VIS I can choose the web instance).

from iobroker.energiefluss.

SKB-CGN avatar SKB-CGN commented on July 20, 2024

Instance integrated is also working with VIS under all "standard" conditions.

What is not working inside the VIS Editor, if on integrated instance?

Currently, I am not able to provide any other solution.

from iobroker.energiefluss.

Sineos avatar Sineos commented on July 20, 2024

What is not working inside the VIS Editor, if on integrated instance?

For example importing projects. Have not encountered anything else but this one for sure is not working under "integrated" and also not working under "socket.io" (at least for me - just retested it)

from iobroker.energiefluss.

SKB-CGN avatar SKB-CGN commented on July 20, 2024

Means, that one is neither working with integrated and socket?

So, why using socket instead of integrated? :)

from iobroker.energiefluss.

Sineos avatar Sineos commented on July 20, 2024

Sorry for not being clear. As stated in #17 (comment) I'm using the web instance with web-sockets because otherwise the VIS editor is not fully working.

Energiefluss is only working with "integrated" in the web instance but not with "socket.io" and also not with "web-socket".
Testing with socket.io was only during troubleshooting VIS and Energiefluss

from iobroker.energiefluss.

SKB-CGN avatar SKB-CGN commented on July 20, 2024

Ah ok. Currently the adapter only works with integrated. Sorry for this.

from iobroker.energiefluss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.