cytopia/devilbox

[Bug]: ngrok agent is too old and does not start

Opened this issue · 0 comments

Have you already looked into this bug?

(Optional) Error message

Your ngrok-agent version "2.3.29" is too old. The minimum supported agent version for your account is "3.2.0". Please update to a newer version with ngrok update, by downloading from https://ngrok.com/download, or by updating your SDK version. Paid accounts are currently excluded from minimum agent version requirements. To begin handling traffic immediately without updating your agent, upgrade to a paid plan: https://dashboard.ngrok.com/billing/subscription.

What went wrong?

ngrok does not start because the agent version is too old

Expected behaviour

ngrok should start as expected

How can we reproduce the bug?

Enable and configure ngrok per the instructions and then start Devilbox

Host Operating System

Linux

Host Platform (amd64, arm64, other)

amd64

(Linux only) Is SELinux enabled?

Yes, SELinux is enabled

Docker version

27.0.3, build 7d4bcd8

Docker Compose version

v2.28.1-desktop.1

Devilbox version

v3.0.0-beta-0.3

Have you removed stopped containers before starting?

Yes

Have you pulled latest Docker images before starting?

Yes

Devilbox start command

docker compose up

Config: .env file

################################################################################
###
### ngrok: Once the Devilbox is running, visit http://localhost:4040 in your browser to get URL for public available project
###
################################################################################
HOST_PORT_NGROK=4040
NGROK_HTTP_TUNNELS=www.mysite.test:httpd:80
NGROK_AUTHTOKEN=my-ngrok-key-here

Config: docker-compose.override.yml

No response

Config: ./check-config.sh

Log: docker-compose logs

ngrok-1               | [INFO]  Using region as specified in REGION: us
ngrok-1               | [INFO]  Using authtoken as specified in AUTHTOKEN
ngrok-1               | #authtoken: 3FqC8NZYFm3FCTnq31YP_4PVTJD76Ugzejfn5Eq49A
ngrok-1               | #region: us
ngrok-1               | #console_ui: true
ngrok-1               | #http_proxy: false
ngrok-1               | #inspect_db_size: 50000000
ngrok-1               | log_level: info
ngrok-1               | log_format: json
ngrok-1               | #log: /var/log/ngrok.log
ngrok-1               | log: stdout
ngrok-1               | #metadata: '{"serial": "00012xa-33rUtz9", "comment": "For customer alan@example.com"}'
ngrok-1               | #root_cas: trusted
ngrok-1               | #socks5_proxy: "socks5://localhost:9150"
ngrok-1               | #update: false
ngrok-1               | #update_channel: stable
ngrok-1               | web_addr: 0.0.0.0:4040
ngrok-1               | region: us
ngrok-1               | authtoken: 1wVABOn4sSqxobN1P1JBnKTV00N_7Z3EVJdLdM5hHxQREfGT4
ngrok-1               | tunnels:
ngrok-1               |   tunnel_1:
ngrok-1               |     addr: httpd:80
ngrok-1               |     host_header: "www.mysite.test"
ngrok-1               |     proto: http
ngrok-1               | {"addr":"0.0.0.0:4040","lvl":"info","msg":"starting web service","obj":"web","t":"2024-08-09T03:41:39.530252044Z"}
ngrok-1               | {"err":"Your ngrok-agent version \"2.3.29\" is too old. The minimum supported agent version for your account is \"3.2.0\". Please update to a newer version with `ngrok update`, by downloading from https://ngrok.com/download, or by updating your SDK version. Paid accounts are currently excluded from minimum agent version requirements. To begin handling traffic immediately without updating your agent, upgrade to a paid plan: https://dashboard.ngrok.com/billing/subscription.\r\n\r\nERR_NGROK_121\r\n","lvl":"eror","msg":"failed to auth","obj":"tunnels.session","t":"2024-08-09T03:41:39.684985324Z"}
ngrok-1               | {"err":"Your ngrok-agent version \"2.3.29\" is too old. The minimum supported agent version for your account is \"3.2.0\". Please update to a newer version with `ngrok update`, by downloading from https://ngrok.com/download, or by updating your SDK version. Paid accounts are currently excluded from minimum agent version requirements. To begin handling traffic immediately without updating your agent, upgrade to a paid plan: https://dashboard.ngrok.com/billing/subscription.\r\n\r\nERR_NGROK_121\r\n","id":"b8a9695eeb1a","lvl":"eror","msg":"failed to reconnect session","obj":"csess","t":"2024-08-09T03:41:39.685072726Z"}
ngrok-1               | {"err":"Your ngrok-agent version \"2.3.29\" is too old. The minimum supported agent version for your account is \"3.2.0\". Please update to a newer version with `ngrok update`, by downloading from https://ngrok.com/download, or by updating your SDK version. Paid accounts are currently excluded from minimum agent version requirements. To begin handling traffic immediately without updating your agent, upgrade to a paid plan: https://dashboard.ngrok.com/billing/subscription.\r\n\r\nERR_NGROK_121\r\n","lvl":"eror","msg":"session closing","obj":"tunnels.session","t":"2024-08-09T03:41:39.685140927Z"}
ngrok-1               | {"err":"Your ngrok-agent version \"2.3.29\" is too old. The minimum supported agent version for your account is \"3.2.0\". Please update to a newer version with `ngrok update`, by downloading from https://ngrok.com/download, or by updating your SDK version. Paid accounts are currently excluded from minimum agent version requirements. To begin handling traffic immediately without updating your agent, upgrade to a paid plan: https://dashboard.ngrok.com/billing/subscription.\r\n\r\nERR_NGROK_121\r\n","lvl":"info","msg":"received stop signal","obj":"app","t":"2024-08-09T03:41:39.685236729Z"}
ngrok-1               | {"err":"Your ngrok-agent version \"2.3.29\" is too old. The minimum supported agent version for your account is \"3.2.0\". Please update to a newer version with `ngrok update`, by downloading from https://ngrok.com/download, or by updating your SDK version. Paid accounts are currently excluded from minimum agent version requirements. To begin handling traffic immediately without updating your agent, upgrade to a paid plan: https://dashboard.ngrok.com/billing/subscription.\r\n\r\nERR_NGROK_121\r\n","lvl":"eror","msg":"terminating with error","obj":"app","t":"2024-08-09T03:41:39.68525713Z"}
ngrok-1               | {"err":"Your ngrok-agent version \"2.3.29\" is too old. The minimum supported agent version for your account is \"3.2.0\". Please update to a newer version with `ngrok update`, by downloading from https://ngrok.com/download, or by updating your SDK version. Paid accounts are currently excluded from minimum agent version requirements. To begin handling traffic immediately without updating your agent, upgrade to a paid plan: https://dashboard.ngrok.com/billing/subscription.\r\n\r\nERR_NGROK_121\r\n","lvl":"crit","msg":"command failed","t":"2024-08-09T03:41:39.685522435Z"}
ngrok-1               | Your ngrok-agent version "2.3.29" is too old. The minimum supported agent version for your account is "3.2.0". Please update to a newer version with `ngrok update`, by downloading from https://ngrok.com/download, or by updating your SDK version. Paid accounts are currently excluded from minimum agent version requirements. To begin handling traffic immediately without updating your agent, upgrade to a paid plan: https://dashboard.ngrok.com/billing/subscription.
ngrok-1               |
ngrok-1               | ERR_NGROK_121
ngrok-1               |

(Optional) Additional information

No response