after deploying and installing app in development environment. when i run forge tunnel it is showing the below error
when i run forge tunnel it is showing this error
{"__tunnel_error__":true,"name":"NgrokError","attributes":{}}
Error: Failed to start tunnel, could not establish a connection. how to resolve it
Error: Failed to start tunnel, could not establish a connection.
at NgrokCreateTunnelService.establishTunnel (/tunnel/node_modules/@forge/tunnel/out/services/create-tunnel-service.js:39:19)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async StartTunnelCommand.startFaaSTunnelServer (/tunnel/node_modules/@forge/tunnel/out/command/start-tunnel-command.js:38:35)
at async StartTunnelCommand.execute (/tunnel/node_modules/@forge/tunnel/out/command/start-tunnel-command.js:71:38)
at async runTunnel (/tunnel/node_modules/@forge/sandbox-tunnel/out/index.js:3
You might be experiencing an intermittent network issue or you may have a firewall blocking the port.
Would you be able to test again on different networks to see if it isn’t a firewall issue.
i just started running into this error with forge tunnel this afternoon. it was working just fine earlier today, but now i’m getting the following:
{"__tunnel_error__":true,"name":"NgrokError","attributes":{}}
Error: Failed to start tunnel, could not establish a connection.
Error: Failed to start tunnel, could not establish a connection.
at NgrokCreateTunnelService.establishTunnel (/tunnel/node_modules/@forge/tunnel/out/services/create-tunnel-service.js:39:19)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async StartTunnelCommand.startFaaSTunnelServer (/tunnel/node_modules/@forge/tunnel/out/command/start-tunnel-command.js:38:35)
at async StartTunnelCommand.execute (/tunnel/node_modules/@forge/tunnel/out/command/start-tunnel-command.js:71:38)
at async runTunnel (/tunnel/node_modules/@forge/sandbox-tunnel/out/index.js:34:24)
with the verbose flag, i see that ngrok requires an account:
lvl=eror msg="terminating with error" obj=app err="authentication failed: Usage of ngrok requires a verified account and authtoken.\n\nSign up for an account: https://dashboard.ngrok.com/signup\nInstall your authtoken: https://dashboard.ngrok.com/get-started/your-authtoken\r\n\r\nERR_NGROK_4018\r\n"
i’ve tried re-authenticating with forge to see if that would help, but no dice. i then signed up for an ngrok account, installed the ngrok CLI tool, and configured my auth token on the CLI, but still hit the same error.
Welcome to the Atlassian developer community @DerekBrooks,
This is a very recent problem with an initial solution posted over here:
I’m going to lock this thread to avoid splintering out into many threads about the same underlying issue but please feel free to join the other thread.