Hi,
I’m following the hello world tutorial for forge, and forge tunnel doesn’t seem to work at the moment. I’ve read other entries in the forum and they fixed it either by restarting docker, signing into docker, or it just worked fine the next day However I’m not able to get past that.
My setup is as follows:
- MacBookPro (apple silicon)
- forge --version = 7.0.2
- node --version = v20.11.0
- docker --version = Docker version 25.0.2, build 29cf629
- git --version = git version 2.39.3 (Apple Git-145)
- grok --version = ngrok version 3.6.0
So first odd thing:
Checking Docker image… failed
Cannot pull the tunnel image.Checking Docker image… failed
Cannot pull the tunnel image.
I’m signed into docker and I can see the atlassian/forge-tunnel image pulled into docker desktop
ngrok is working fine since I can see a debug line stating that the tunnel started
t=2024-02-08T19:59:02+0000 lvl=info msg="started tunnel" obj=tunnels > name=25b1852b-39aa-4cef-9a30-81da35b14930 addr=http://localhost:37935 > url=https://a68d-47-221-143-191.ngrok-free.app
Started tunnel at address: https://a68d-47-221-143-191.ngrok-free.app
▶️ GraphQL https://api.atlassian.com/graphql
Query:
mutation forge_cli_createApplicationTunnels($input: CreateAppTunnelsInput!) {
createAppTunnels(input: $input) {
success
errors {
message
extensions {
errorType
statusCode
}
}
keepAlive
}
}
Variables:
{
"input": {
"appId": "ari:cloud:ecosystem::app/{my-app-id}",
"environmentKey": "default",
"tunnelDefinitions": {
"faasTunnelUrl": "https://a68d-47-221-143-191.ngrok-free.app/",
"customUI": [
{
"tunnelUrl": "http://localhost:8034/",
"resourceKey": "main"
}
]
},
"force": true
}
}
t=2024-02-08T19:59:02+0000 lvl=warn msg="failed to check for update" obj=updater err="Post \"https://update.equinox.io/check\": tls: failed to verify certificate: x509: certificate signed by unknown authority"
◀️ GraphQL
Request ID: fda87eee32da461fa085fb853cabd6a0
Result: {
"createAppTunnels": {
**"success": true,**
"errors": null,
"keepAlive": "1707424084345"
}
}
At the end it runs forge lint with no issues and fails on Bundling code …
=== Running forge lint…
t=2024-02-08T19:59:12+0000 lvl=dbug msg=“heartbeat received” obj=tunnels.session obj=csess id=324193ba7c80 clientid=cfd42722fd17c4032ec5651e52499044 latency_ms=60
No issues found.=== Bundling code…
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
In the container I see the following logs:
Error: The manifest.yml file is not a valid YAML. Fix it and try again.
and
Rerunning the command with --verbose may give more details.
{“tunnel_error”:true,“name”:“InvalidManifestError”,“attributes”:{“isUserError”:true}}
The hello world app I’m building is as is, deployed and installed manually (forge deploy & forge install)
Any help would be greatly appreciated