Closed jalbstmeijer closed 1 year ago
@rootzoll Looks at first look like the wrong url is in redis
For my install it looks the same in the installed_app_status
message:
{
"id": "lnbits",
"version": "0.10.6",
"installed": true,
"status": "online",
"address": "https://<localurl>",
"httpsForced": "1",
"httpsSelfsigned": "1",
"hiddenService": "<onionurl>.onion",
"authMethod": "none",
"details": {},
"error": ""
},
@cstenglein I dont see redis in play here. For me this looks like the WebUI is creating the wrong url formatting in the end.
The way it goes is: The API calls the script bonus.lnbits.sh status
takes the toraddress
from there and gives it out as the hiddenService
for the lnbits app. And in your example above this looks correct. But when calling the WebUI thru TorBrowser with the WebUI-Onion, then going to the APP section and wanna opening lnbits - I also see a https://{raspiublitz_url}.onion/{lnbits_url}.onion
style address which does not work.
@cstenglein BTW it seems to be the same for all apps (not just lnbits) when the WebUI running in TorBrowser that the "OPEN" link has that malforme.
@rootzoll thank you for clarifying, looks like I didn't understand the issue at first.
Got a fix ready, will push soon.
When on the onion url of RaspiBlitz, LNBits is linked as https://{raspiublitz_url}.onion/{lnbits_url}.onion instead of http://{lnbits_url}.onion