Tailscale app status is Dead

I use the instructions on tailscale.com/kb/1132/flydotio
Here are some of the logs:

2022-11-16T13:49:34Z   [info]2022/11/16 13:49:34 derphttp.Client.Connect: connecting to derp-9 (dfw)
2022-11-16T13:49:34Z   [info]/app/start.sh: line 5: /app/my-app: not found
2022-11-16T13:49:34Z   [info]2022/11/16 13:49:34 magicsock: derp-9 connected; connGen=1
2022-11-16T13:49:34Z   [info]2022/11/16 13:49:34 health("overall"): ok
2022-11-16T13:49:35Z   [info]Starting clean up.
--> v0 failed - Failed due to unhealthy allocations - no stable job version to auto revert to and deploying as v1 

--> Troubleshooting guide at https://fly.io/docs/getting-started/troubleshooting/
Error abort

The top line is the local machine, the others appeared after installing tailscale:

After a while they disappeared.
As far as I know, it’s impossible to use it. Help with advice, please.

your folder /app/my-app: not found

Yes, that’s why I attached only the suspicious part of the logs. I’m not clear - is my-app the correct string or should it be replaced by the application name from fly.io? For example, patient-paper-8228 as indicated in the fly.toml? The thing is, the result is the same.

Complete logs:

$ fly logs -a spring-resonance-9764

Waiting for logs...

2022-11-18T13:52:09.252 runner[8948966b] lhr [info] Starting instance

2022-11-18T13:52:09.664 runner[8948966b] lhr [info] Configuring virtual machine

2022-11-18T13:52:09.672 runner[8948966b] lhr [info] Pulling container image

2022-11-18T13:52:12.611 runner[8948966b] lhr [info] Unpacking image

2022-11-18T13:52:14.736 runner[8948966b] lhr [info] Preparing kernel init

2022-11-18T13:52:15.374 runner[8948966b] lhr [info] Configuring firecracker

2022-11-18T13:52:15.470 runner[8948966b] lhr [info] Starting virtual machine

2022-11-18T13:52:15.670 app[8948966b] lhr [info] Starting init (commit: 81d5330)...

2022-11-18T13:52:15.693 app[8948966b] lhr [info] Preparing to run: `/app/start.sh` as root

2022-11-18T13:52:15.702 app[8948966b] lhr [info] 2022/11/18 13:52:15 listening on [fdaa:0:dc48:a7b:7e:8948:966b:2]:22 (DNS: [fdaa::3]:53)

2022-11-18T13:52:15.831 app[8948966b] lhr [info] 2022/11/18 13:52:15 logtail started

2022-11-18T13:52:15.831 app[8948966b] lhr [info] 2022/11/18 13:52:15 Program starting: v1.32.2-t2f1a945ad-g07d934fd1, Go 1.19.2-ts3fd24dee31: []string{"/app/tailscaled", "--state=/var/lib/tailscale/tailscaled.state", "--socket=/var/run/tailscale/tailscaled.sock"}

2022-11-18T13:52:15.831 app[8948966b] lhr [info] y logpolicy.Config.Validate for /var/lib/tailscale/tailscaled.log.conf: config is nil 63ad3

2022-11-18T13:52:15.831 app[8948966b] lhr [info] 2022/11/18 13:52:15 logpolicy: using system state directory "/var/lib/tailscale"

2022-11-18T13:52:15.831 app[8948966b] lhr [info] logpolicy.ConfigFromFile /var/lib/tailscale/tailscaled.log.conf: open /var/lib/tailscale/tailscaled.log.conf: no such file or directory

2022-11-18T13:52:15.831 app[8948966b] lhr [info] logpolicy.Config.Validate for /var/lib/tailscale/tailscaled.log.conf: config is nil

2022-11-18T13:52:15.832 app[8948966b] lhr [info] 2022/11/18 13:52:15 wgengine.NewUserspaceEngine(tun "tailscale0") ...

2022-11-18T13:52:15.838 app[8948966b] lhr [info] 2022/11/18 13:52:15 router: v6nat = true

2022-11-18T13:52:15.848 app[8948966b] lhr [info] 2022/11/18 13:52:15 router: failed to determine ip command fwmask support: exit status 1

2022-11-18T13:52:15.848 app[8948966b] lhr [info] 2022/11/18 13:52:15 dns: [rc=unknown ret=direct]

2022-11-18T13:52:15.848 app[8948966b] lhr [info] 2022/11/18 13:52:15 dns: using *dns.directManager

2022-11-18T13:52:15.848 app[8948966b] lhr [info] 2022/11/18 13:52:15 link state: interfaces.State{defaultRoute=eth0 ifs={eth0:[172.19.11.114/29 172.19.11.115/29 2605:4c40:94:b6a7:0:8948:966b:1/127 fdaa:0:dc48:a7b:7e:8948:966b:2/112]} v4=true v6=true}

2022-11-18T13:52:15.849 app[8948966b] lhr [info] 2022/11/18 13:52:15 magicsock: disco key = d:29ca3c6b5fec755f

2022-11-18T13:52:15.849 app[8948966b] lhr [info] 2022/11/18 13:52:15 Creating WireGuard device...

2022-11-18T13:52:15.849 app[8948966b] lhr [info] 2022/11/18 13:52:15 Bringing WireGuard device up...

2022-11-18T13:52:15.849 app[8948966b] lhr [info] 2022/11/18 13:52:15 Bringing router up...

2022-11-18T13:52:15.850 app[8948966b] lhr [info] 2022/11/18 13:52:15 Clearing router settings...

2022-11-18T13:52:15.850 app[8948966b] lhr [info] 2022/11/18 13:52:15 Starting link monitor...

2022-11-18T13:52:15.850 app[8948966b] lhr [info] 2022/11/18 13:52:15 Engine created.

2022-11-18T13:52:15.851 app[8948966b] lhr [info] 2022/11/18 13:52:15 external route: up

2022-11-18T13:52:15.858 app[8948966b] lhr [info] 2022/11/18 13:52:15 Start

2022-11-18T13:52:15.859 app[8948966b] lhr [info] 2022/11/18 13:52:15 using backend prefs; created empty state for "_daemon": Prefs{ra=true dns=true want=false routes=[] nf=on Persist=nil}

2022-11-18T13:52:15.859 app[8948966b] lhr [info] 2022/11/18 13:52:15 generating new network-lock key

2022-11-18T13:52:15.861 app[8948966b] lhr [info] 2022/11/18 13:52:15 network-lock key written to store

2022-11-18T13:52:15.861 app[8948966b] lhr [info] 2022/11/18 13:52:15 Backend: logs: be:0d329d81cd662c4579755f82bf3e57ab47a141dbe29eeca044a131a2ce863ad3 fe:

2022-11-18T13:52:15.861 app[8948966b] lhr [info] 2022/11/18 13:52:15 Switching ipn state NoState -> NeedsLogin (WantRunning=false, nm=false)

2022-11-18T13:52:15.861 app[8948966b] lhr [info] 2022/11/18 13:52:15 blockEngineUpdates(true)

2022-11-18T13:52:15.861 app[8948966b] lhr [info] 2022/11/18 13:52:15 wgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers)

2022-11-18T13:52:15.862 app[8948966b] lhr [info] 2022/11/18 13:52:15 wgengine: Reconfig: configuring DNS er

2022-11-18T13:52:15.862 app[8948966b] lhr [info] 2022/11/18 13:52:15 wgengine: Reconfig: configuring DNS

2022-11-18T13:52:15.862 app[8948966b] lhr [info] 2022/11/18 13:52:15 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0}

2022-11-18T13:52:15.862 app[8948966b] lhr [info] 2022/11/18 13:52:15 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]}

2022-11-18T13:52:15.862 app[8948966b] lhr [info] 2022/11/18 13:52:15 dns: OScfg: {Nameservers:[] SearchDomains:[] MatchDomains:[] Hosts:[]}

2022-11-18T13:52:15.862 app[8948966b] lhr [info] 2022/11/18 13:52:15 health("overall"): error: state=NeedsLogin, wantRunning=false

2022-11-18T13:52:16.068 app[8948966b] lhr [info] 2022/11/18 13:52:16 ipnserver: conn2: connection from userid 0; root has access

2022-11-18T13:52:16.074 app[8948966b] lhr [info] 2022/11/18 13:52:16 Start

2022-11-18T13:52:16.074 app[8948966b] lhr [info] 2022/11/18 13:52:16 control: client.Shutdown()

2022-11-18T13:52:16.074 app[8948966b] lhr [info] 2022/11/18 13:52:16 control: client.Shutdown: inSendStatus=0

2022-11-18T13:52:16.074 app[8948966b] lhr [info] 2022/11/18 13:52:16 control: mapRoutine: quit

2022-11-18T13:52:16.074 app[8948966b] lhr [info] 2022/11/18 13:52:16 control: Client.Shutdown done.

2022-11-18T13:52:16.074 app[8948966b] lhr [info] 2022/11/18 13:52:16 using backend prefs; created empty state for "_daemon": Prefs{ra=true dns=true want=false routes=[] nf=on Persist=nil}

2022-11-18T13:52:16.075 app[8948966b] lhr [info] 2022/11/18 13:52:16 generating new machine key

2022-11-18T13:52:16.075 app[8948966b] lhr [info] 2022/11/18 13:52:16 machine key written to store

2022-11-18T13:52:16.075 app[8948966b] lhr [info] 2022/11/18 13:52:16 Backend: logs: be:0d329d81cd662c4579755f82bf3e57ab47a141dbe29eeca044a131a2ce863ad3 fe:

2022-11-18T13:52:16.075 app[8948966b] lhr [info] 2022/11/18 13:52:16 Switching ipn state NoState -> NeedsLogin (WantRunning=true, nm=false)

2022-11-18T13:52:16.076 app[8948966b] lhr [info] 2022/11/18 13:52:16 blockEngineUpdates(true)

2022-11-18T13:52:16.076 app[8948966b] lhr [info] 2022/11/18 13:52:16 StartLoginInteractive: url=false

2022-11-18T13:52:16.076 app[8948966b] lhr [info] 2022/11/18 13:52:16 control: client.Login(false, 2)

2022-11-18T13:52:16.076 app[8948966b] lhr [info] 2022/11/18 13:52:16 control: LoginInteractive -> regen=true

2022-11-18T13:52:16.076 app[8948966b] lhr [info] 2022/11/18 13:52:16 control: doLogin(regen=true, hasUrl=false)

2022-11-18T13:52:18.010 app[8948966b] lhr [info] 2022/11/18 13:52:18 control: control server key from https://controlplane.tailscale.com: ts2021=[fSeS+], legacy=[nlFWp]

2022-11-18T13:52:18.010 app[8948966b] lhr [info] 2022/11/18 13:52:18 control: Generating a new nodekey.

2022-11-18T13:52:18.010 app[8948966b] lhr [info] 2022/11/18 13:52:18 control: RegisterReq: onode= node=[BzQa+] fup=false

2022-11-18T13:52:18.011 app[8948966b] lhr [info] 2022/11/18 13:52:18 control: creating new noise client

2022-11-18T13:52:18.063 app[8948966b] lhr [info] 2022/11/18 13:52:18 control: RegisterReq: got response; nodeKeyExpired=false, machineAuthorized=true; authURL=false

2022-11-18T13:52:18.063 app[8948966b] lhr [info] 2022/11/18 13:52:18 blockEngineUpdates(false)

2022-11-18T13:52:18.083 app[8948966b] lhr [info] 2022/11/18 13:52:18 active login: mail@gmail.com

2022-11-18T13:52:18.092 app[8948966b] lhr [info] 2022/11/18 13:52:18 Switching ipn state NeedsLogin -> Starting (WantRunning=true, nm=true)

2022-11-18T13:52:18.092 app[8948966b] lhr [info] 2022/11/18 13:52:18 magicsock: SetPrivateKey called (init)

2022-11-18T13:52:18.093 app[8948966b] lhr [info] 2022/11/18 13:52:18 wgengine: Reconfig: configuring userspace WireGuard config (with 0/1 peers)

2022-11-18T13:52:18.093 app[8948966b] lhr [info] 2022/11/18 13:52:18 wgengine: Reconfig: configuring router

2022-11-18T13:52:18.129 app[8948966b] lhr [info] 2022/11/18 13:52:18 wgengine: Reconfig: configuring DNS

2022-11-18T13:52:18.129 app[8948966b] lhr [info] 2022/11/18 13:52:18 dns: Set: {DefaultResolvers:[] Routes:{tail54feb.ts.net.:[] ts.net.:[]}+65arpa SearchDomains:[tail54feb.ts.net.] Hosts:2}

2022-11-18T13:52:18.129 app[8948966b] lhr [info] 2022/11/18 13:52:18 dns: Resolvercfg: {Routes:{.:[fdaa::3]} Hosts:2 LocalDomains:[tail54feb.ts.net. ts.net.]+65arpa}

2022-11-18T13:52:18.129 app[8948966b] lhr [info] 2022/11/18 13:52:18 dns: OScfg: {Nameservers:[100.100.100.100] SearchDomains:[tail54feb.ts.net.] MatchDomains:[] Hosts:[]}

2022-11-18T13:52:18.130 app[8948966b] lhr [info] 2022/11/18 13:52:18 peerapi: serving on http://100.82.134.235:42993

2022-11-18T13:52:18.130 app[8948966b] lhr [info] 2022/11/18 13:52:18 peerapi: serving on http://[fd7a:115c:a1e0:efe3::6452:86eb]:42993

2022-11-18T13:52:18.337 app[8948966b] lhr [info] 2022/11/18 13:52:18 magicsock: home is now derp-8 (lhr)

2022-11-18T13:52:18.338 app[8948966b] lhr [info] 2022/11/18 13:52:18 magicsock: endpoints changed: 205.234.240.73:48881 (stun), [2605:4c40:94:b6a7:0:8948:966b:1]:46584 (stun), 172.19.11.114:48881 (local), 172.19.11.115:48881 (local), [2605:4c40:94:b6a7:0:8948:966b:1]:48881 (local)

2022-11-18T13:52:18.339 app[8948966b] lhr [info] 2022/11/18 13:52:18 magicsock: adding connection to derp-8 for home-keep-alive

2022-11-18T13:52:18.339 app[8948966b] lhr [info] 2022/11/18 13:52:18 Switching ipn state Starting -> Running (WantRun

2022-11-18T13:52:18.339 app[8948966b] lhr [info] 2022/11/18 13:52:18 Switching ipn state Starting -> Running (WantRun ing=true, nm=true)

2022-11-18T13:52:18.341 app[8948966b] lhr [info] 2022/11/18 13:52:18 control: NetInfo: NetInfo{varies=false hairpin=false ipv6=true udp=true icmpv4=false derp=#8 portmap= link=""}

2022-11-18T13:52:18.342 app[8948966b] lhr [info] 2022/11/18 13:52:18 derphttp.Client.Connect: connecting to derp-8 (lhr)

2022-11-18T13:52:18.342 app[8948966b] lhr [info] /app/start.sh: line 5: /app/spring-resonance-9764: not found

2022-11-18T13:52:18.346 app[8948966b] lhr [info] 2022/11/18 13:52:18 magicsock: derp-8 connected; connGen=1

2022-11-18T13:52:18.346 app[8948966b] lhr [info] 2022/11/18 13:52:18 health("overall"): ok

2022-11-18T13:52:18.702 app[8948966b] lhr [info] Starting clean up.

Hi Dmitry, what are you trying to do with tailscale?

Hi tvdfly. I would like to have my own exit node, because many VPN services are blocked in my country.

1 Like