Giter Club home page Giter Club logo

Comments (3)

tonyaldon avatar tonyaldon commented on June 26, 2024 1

Maybe you can try to disable server certificate verification with the following line

http_session.verify = False

In the example of the documentation it is set to True.

I think you can also set it to the full path to your certificate (/path-to/ca.pem).

You can find more information here:

https://python-socketio.readthedocs.io/en/latest/client.html

If you want to give a try to a JS client you can check the first section in this live session we did in September:

https://lnroom.live/2023-09-14-live-0013-getting-started-with-clnrest-plugin/

from lightning.

BTCBellyButton avatar BTCBellyButton commented on June 26, 2024 1

The change to False of the .verify flag worked. After that I realized my virtual environment was missing websocket-client.
Now it works.

I also tried specifying the full path to ca.pem but that caused the server to refuse the connection:

HTTPSConnectionPool(host='10.0.0.25', port=3010): Max retries exceeded with url: /socket.io/?transport=polling&EIO=4&t=1702596534.9846961 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4f52b0ba60>: Failed to establish a new connection: [Errno 111] Connection refused'))

Once removed the ca.pem part, it worked again.

Thanks!!

from lightning.

BTCBellyButton avatar BTCBellyButton commented on June 26, 2024

Thanks! I'll give it a try.

from lightning.

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.