GithubHelp home page GithubHelp logo

Comments (7)

pixelhomie avatar pixelhomie commented on May 26, 2024 1

You should not use postman, it doesn't stay connected. There is also a client version which stays connected all the time. This is not a normal web server, this is a web socket, it requires continues connection.

On Mon, Sep 20, 2021, 09:11 pixelhomie @.***> wrote: I added country and language to the config and now i can connect. But everytime i send a command a disconnect is the result... For example i send a command (with Postman) to start listening to events interface { messageId: string; command: "start_listening"; } Server response 2021-09-20 07:04:38.188 INFO Client disconnected with ip: ::ffff:192.168.1.160 port: 53101 code: 1005 reason: What does Code 1005 mean? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#24 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUSN7V5734MMHJ5NBNOIUDUC3NBTANCNFSM5DZYT3BA .

Since v8.5 Postman is able to establish Websocket connections. It is currently Beta but it does work very well. My mistake was that my JSON was incorrect. Now it is working as expected.

ksnip_20210920-202912

from eufy-security-ws.

fuatakgun avatar fuatakgun commented on May 26, 2024

did you put your country into config? me and many other users are using EU accounts with no problem

from eufy-security-ws.

pixelhomie avatar pixelhomie commented on May 26, 2024

I added country and language to the config and now i can connect. But everytime i send a command a disconnect is the result...

For example i send a command (with Postman) to start listening to events

interface { messageId: string; command: "start_listening"; }

Server response
2021-09-20 07:04:38.188 INFO Client disconnected with ip: ::ffff:192.168.1.160 port: 53101 code: 1005 reason:

What does Code 1005 mean?

from eufy-security-ws.

fuatakgun avatar fuatakgun commented on May 26, 2024

from eufy-security-ws.

bropat avatar bropat commented on May 26, 2024

@pixelhomie

I think the problem is that i have an Eufy EU Account which has a different API Uri.

No, that is not the case. The integration starts with the global url at the first call and if there is a "better" region, this is indicated in the response and the integration then uses the "correct" url. In the concrete example, the integration starts with the global url and then switches to the "EU" url.
I myself live in the EU and it's working well ;-)

from eufy-security-ws.

LucaBors avatar LucaBors commented on May 26, 2024

Hi guys, sorry if i reopen this closed 3d but i'm in the same condition. I tried to pass at the container COUNTRY=IT and LANGUAGE=IT, even if i see in the container log that the change is accepted i'm still with the same error as above. I'm doing something wrong? thank you.

from eufy-security-ws.

bropat avatar bropat commented on May 26, 2024

This was and is a container network problem. In the error above you can see a DNS resolution problem.

from eufy-security-ws.

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.