Closed stripey679 closed 2 years ago
I don't have an embassy and therefore cannot reproduce this. Can this problem be reproduced in VirtualBox?
Have you tried http://[tor-address].local
?
I am taking a look at this, though want to quickly point out that we figured the best solution for Specter + EmbassyOS was to package up Specter to run on the Embassy itself and access it through a webUI as with other services.
This is currently up on our alpha/beta marketplaces if you'd like to try it out.
In the mean time I am going to hunt down why Specter isn't able to connect over LAN.
Further info here: https://github.com/Start9Labs/embassy-os/issues/1148
tldr: You aren't going to be able to connect over LAN just yet, so I'd definitely encourage using Specter on the Embassy itself.
we figured the best solution for Specter + EmbassyOS was to package up Specter to run on the Embassy itself and access it through a webUI as with other services.
I have a requirement for Specter to scan and detect a USB signing device at the point of use, which won't be the Embassy OS host hardware. My understanding is that Specter hosted on the Embassy OS device as a service will detect USB devices over a network. That is, if I connect a signer to an Ubuntu host I'm using to access Specter as a service over the network, the Specter service won't be able to detect the signer. If my understanding is inaccurate, please let me know and I'll give it a shot. I didn't try to do so because others online implied they wasted a lot of time and never got it working, in at least some cases even when the signer connected directly to the Embassy OS host (which again, isn't my use case).
Further info here: Start9Labs/embassy-os#1148
tldr: You aren't going to be able to connect over LAN just yet, so I'd definitely encourage using Specter on the Embassy itself.
Thank you for this information. I will keep an eye on this.
For sure, it should be released soon.
Yes the use-case is this: Specter runs as a service on the Embassy. Specter also runs on your laptop/desktop and you plug the signing device into that machine (not the Embassy). Then you configure the HWI to allow connections to your laptop's Specter/HWI from the Embassy Specter's address. You do this by going into Specter on the Embassy, clicking on the top right cog, click USB Devices, select "remote specter USB connection" and copy what is in step two into here:
http://127.0.0.1:25441/hwi/settings/ (go into a browser on your laptop where Specter is running for this)
Then go back to the Embassy Specter and click "save changes" and then click "Test connect" (you will need the signing device plugged in for this to work.)
Hope that's clear - there are detailed instructions in the package that is due for release this week.
Edit: One thing to add: This will work over .local, no need to use Tor for this. This is really fast and the best way to use Specter on the Embassy imo.
Edit 2: Things are a lot simpler when using airgappable signing devices like Coldcards. Just thought I'd mention that.
It 's not yet mentioned, so for the completeness: This is about the "HWIbridge": https://docs.specter.solutions/desktop/hwibridge/
@stripey679 feel free to also jump in the telegram-developer-group which might make it easier to address/discuss your requirements. https://t.me/+yS4VO2JqBHkzYTI6
Closing this for now as it's quite embassy specific.
Just adding some notes here, this was an absolute nightmare to setup.
What eventually got things working for me on specter-desktop v2.0.2 locally was:
https
even though the interface instructions say http
Brief statement of the problem: After considerable time and effort attempting to solve the problem myself, I remain unable to connect to my Embassy OS full node over my local network. I am able to connect over Tor, but this is extremely slow and even simple actions such as switching between wallets often take over a full minute. Before complaining about the performance, I endeavored to follow the primary recommended action for improving performance, which was to connect to my full node over the local network rather than over Tor. I have been unable to do so.
Steps to reproduce: Steps to reproduce the environment
Steps to reproduce the specific problem I'm reporting
Notes:
https://[tor-address].local
) is specifically an RPC interface and not a browser-facing URL, I have no good way to test that myself. Since the "normal"https://embassy-[alphanumeric].local
address provided during initial setup along with the downloadable embassy cert works fine, I'm trusting that the LAN address for the RPC-JSON interface works correctly as well. I did try using theembassy-[alphanumeric].local
address as the Host address just to be thorough, and I received the same instant "Test failed: Connection to node failed" error that I did with the Interface LAN address that was supposed to work.Edits: 2022-06-06 Edit 1: Clarify installing the Bitcoin Core service in Embassy OS 2022-06-06 Edit 2: Fix an unbalanced parenthesis character 2022-06-06 Edit 3: Add edit log