Comments (3)
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.
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.
Thanks! I'll give it a try.
from lightning.
Related Issues (20)
- Unable to decode psbt produced by splice_init, splice_update and splice_signed HOT 1
- Splicing: how to get the outnum of the new funding transaction?
- multifundchannel reserves funds before the opening transaction is confirmed to work HOT 2
- the gossip_store file is too big HOT 2
- Do not treat waitanyinvoice timeout on REST as an error HOT 1
- Attempting to close channel that does not have option_shutdown_anysegwit enabled fails, becomes uncloseable
- lightning-blacklistrune future (not yet existing) runes HOT 1
- Unable to apply spending restrictions to a rune HOT 4
- Document steps to take after emergency.recover HOT 6
- Retries of revoke_and_ack need to use explicit hsmd_revoke_commitment_tx HOT 1
- make check error on arm64 Fedora 39 HOT 3
- A script that makes it easy to export c-lightning logs into Prometheus and Grafana HOT 2
- renepay crashed HOT 12
- crash in master on ppc64le HOT 4
- `bad gossip` after merging the gossip rework HOT 2
- riscv arch requires linking to libatomic? HOT 3
- Large amount of forwarding and routing logs on my node which I suspect are locking up c-lightning and causing my server to run out of RAM HOT 5
- plugin-autoclean: succeededforwards del failed - couldn't find the forward HOT 1
- lightningd crash due assertion in gossip store HOT 1
- [bug] UTXO Created for Channel Open, but Channel Never Opened... HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightning.