GithubHelp home page GithubHelp logo

Comments (4)

owainlloyd avatar owainlloyd commented on June 16, 2024

Same issue and time as above. Last reading was received at was 15:44 on the 7th March.

from pyloopenergy.

chamsters avatar chamsters commented on June 16, 2024

Same issue and time as above. Last reading was received at was 15:44 on the 7th March.

My last log was 15:40, too! Glad it's not just me...
Could be a certificate issue? Has loop changed their system somehow?

from pyloopenergy.

pavoni avatar pavoni commented on June 16, 2024

Same here. My simple debug demo traces the following.

❯ python demo.py                                                                                                                                                                                                                                         ⏎
INFO:root:Started
INFO:pyloopenergy.loop_energy:Started LoopEnergy thread
INFO:pyloopenergy.loop_energy:Opening socket connection
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.your-loop.com:443
DEBUG:urllib3.connectionpool:https://www.your-loop.com:443 "GET /socket.io/1/ HTTP/1.1" 400 None
WARNING:socketIO_client:[waiting for connection] unexpected status code (400)
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.your-loop.com:443
DEBUG:urllib3.connectionpool:https://www.your-loop.com:443 "GET /socket.io/1/ HTTP/1.1" 400 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.your-loop.com:443
DEBUG:urllib3.connectionpool:https://www.your-loop.com:443 "GET /socket.io/1/ HTTP/1.1" 400 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.your-loop.com:443

So guess they changed something (this stuff is all undocumented).

from pyloopenergy.

pavoni avatar pavoni commented on June 16, 2024

OK looks like loop updated their very old socket.IO server to 2.0, the library was using the very old 0.9 version. Looks to work OK on my system.

So if you switch to library version 0.1.0 it should work.

from pyloopenergy.

Related Issues (19)

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.