-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zeus on iOS expects HTTPS for LND REST; does not support plain HTTP even over Tor #2525
Comments
Today I updated to 0.9.2. The problem remains. |
have you tried restarting LND or the Tor process on your node? |
Yes, both. Happy to try specific things. But also -- my node is publicly (over Tor) reachable. I posted its address in the original report. Want to try it yourself? |
I think the SSL error would only throw if you had Certificate verification enable when using with Orbot. You want this unchecked as Tor services typically don't have https enabled, plus yours seems to have a http prefix. If issues persist you should consider an alternative remote connection method like Lightning Node Connect or Tailscale. We have some guides available here: https://docs.zeusln.app/category/remote-connections/ |
I agree that it is suspicious that the error mentions SSL. I have cert verification off, and the REST endpoint does not use TLS. So Zeus shouldn't be attempting TLS at all. |
I confirmed that the issue is that Zeus is assuming/expecting TLS. As an experiment, I changed my REST endpoint to use TLS, and I reconfigured the Tor onion service to listen on port 443 instead of 80. Zeus was able to connect, using the built-in Tor support! So, the bug is that Zeus does not support plain HTTP for the LND REST mode, and expects HTTPS even over Tor. I will update the issue title. |
Describe the bug
(edit: see comments; this has evolved.)
I run LND over Tor. It's at http://sv7ld5ajw6qtipmcttpzhhihhjpjfqs662cin36ylvh3sa6abv2fg3qd.onion.
When I try to set up Zeus with it ("LND over REST" mode), Zeus is never able to connect. It spins for ~30 seconds and says, "Error: An SSL error has occurred and a secure connection to the server cannot be made."
I've tried both built-in Tor support and Tor via Orbot app. Same result with both.
How I know the service is working properly:
Reproduce
sv7ld5ajw6qtipmcttpzhhihhjpjfqs662cin36ylvh3sa6abv2fg3qd.onion
Another way:
sv7ld5ajw6qtipmcttpzhhihhjpjfqs662cin36ylvh3sa6abv2fg3qd.onion
ZEUS version
v0.9.1
Node interface
LND (REST)
Network
Tor
Device
iPhone 12 Pro
Device operating system
iOS 18.1
Log output
No response
The text was updated successfully, but these errors were encountered: