Hi,
I’m also struggling a bit with this after following the guides:
The static cookie is set up correctly.
Wireguard is set up correctly and the dig command is able to ping the Fly.io account and bring the application names.
The Node.connect() function just won’t connect (false return) even hardcoding application name and private/public IPV6 addresses, nothing seems to work. Has anyone been able to connect remotely?
Hi… The format for FULL_NODE_NAME changed relatively recently, to…
<APP-NAME>-<RELEASE-TAG>@<IP-ADDRESS>
And it looks like the guide is still using the older style.
I’d suggest fetching it directly from within iex:
$ fly ssh console
# /app/bin/app_name remote
> Node.self
:"app-name-01HZGUK389AO3J23KK7@fdaa:1:1234:abcd:efgh:effe:4044:2"
^^^^^^^^^^^^^^^^^^^^
|
previous way would have omitted this part
You may also need to change --sname my_remote to --name rem@<local-ipv6> (without the s after the hyphens), where the latter is an address that the remote machine can still access.