stakwork / sphinx-relay

Node.js wrapper for communication between sphinx client and lightning node.
MIT License
249 stars 71 forks source link

After I finish the intial setup, unable to interact with app #99

Open beeforbacon opened 3 years ago

beeforbacon commented 3 years ago

Hey all. Trying this out and I got the relay installed manually on my local machine. Scanned the QR code with the app, and got through the setup process. Now I am on the dashboard with +Friend, +Group buttons, etc. My issue is that whatever I click it just shows the loading circle. I cant add or join anything. Just perpetual loading. Also whenever I click the "profile" option, the app hard crashes. Thanks for any ideas.

pitoi commented 3 years ago

Are you seeing a yellow or green bolt on the upper right? Also, any information you can provide on the network setup you're using (tor?) and app (iOS or Android?)

beeforbacon commented 3 years ago

Are you seeing a yellow or green bolt on the upper right? Also, any information you can provide on the network setup you're using (tor?) and app (iOS or Android?)

Sure. There is usually a yellow bolt in the corner that appears after a long loading circle animation. My LND node is tor enabled, but I have external IP also set for remote access with other apps (zeus, zap). Using the android APK.

Evanfeenstra commented 3 years ago

Sounds like the app is not reaching relay, or for some reason not authenticated.

Can you see the relay logs?

beeforbacon commented 3 years ago

Sounds like the app is not reaching relay, or for some reason not authenticated.

Can you see the relay logs?

What's the default logs file out of ~/sphinx-relay/ dir? Can't find any logs file. I may be blind.

bitcoinlizard commented 3 years ago

I found that Android will let you get through the initial setup even though you never successfully connected to the node. On iPhone you are not allowed past step 1 if the phone can't connect to the relay. I suspect you have a reachability issue with your relay. I had to specify "https://" and the :port number for the "public_url" setting. After you start the systemd service you can run this command and you should see your phone interacting with your relay: journalctl -u sphinx-relay -f