cloudflare / cloudflare/cloudflared
Service stalls on boot
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
After installing the service, it appears to stall on boot. Here's the logs for the service start:
```
parker@ubuntu:~$ sudo service cloudflared status
[sudo] password for parker:
● cloudflared.service - Argo Tunnel
Loaded: loaded (/etc/systemd/system/cloudflared.service; enabled; vendor preset: enabled)
Active: activating (start) since Mon 2020-02-10 16:47:49 PST; 16min ago
Main PID: 3876 (cloudflared)
Tasks: 10 (limit: 4915)
CGroup: /system.slice/cloudflared.service
└─3876 /usr/local/bin/cloudflared --config /etc/cloudflared/config.yml --origincert /etc/cloudflared/cert.pem --no-autoupdate
Feb 10 16:47:49 ubuntu systemd[1]: Starting Argo Tunnel...
Feb 10 16:47:49 ubuntu cloudflared[3876]: time="2020-02-10T16:47:49-08:00" level=info msg="Version 2020.2.0"
Feb 10 16:47:49 ubuntu cloudflared[3876]: time="2020-02-10T16:47:49-08:00" level=info msg="GOOS: linux, GOVersion: go1.12.7, GoArch: amd64"
Feb 10 16:47:49 ubuntu cloudflared[3876]: time="2020-02-10T16:47:49-08:00" level=info msg=Flags config=/etc/cloudflared/config.yml hostname=tunnel.domain no-au
Feb 10 16:47:49 ubuntu cloudflared[3876]: time="2020-02-10T16:47:49-08:00" level=info msg="Starting metrics server" addr="127.0.0.1:33829"
Feb 10 16:47:49 ubuntu cloudflared[3876]: time="2020-02-10T16:47:49-08:00" level=info msg="Proxying tunnel requests to http://localhost"
Feb 10 16:47:50 ubuntu cloudflared[3876]: time="2020-02-10T16:47:50-08:00" level=info msg="Connected to LAX" connectionID=0
````
It doesn't ever appear in the control panel, and doesn't ever allow connections through the tunnel it creates.
I have read the documentation and have re-read it - it just doesn't seem to ever fully start. I have installed the service using sudo permissions.
After manually starting it after logging in after boot - it works using the same config file. I honestly don't know what could be happening here.
Contributor guide
Assessment
This issue has not been assessed yet.