Hello Atlassian Developer Community,
I am facing a challenging issue with the forge tunnel
command in the Forge CLI. Despite various troubleshooting attempts, the problem persists, and I’m seeking insights or solutions from the community.
Issue Description: When executing the forge tunnel
command for my Forge app, it consistently fails with the following error message related to Docker image pulling:
Checking Docker image... failed
Cannot pull the tunnel image.
Notably, this occurs even though I can manually pull the Docker image (atlassian/forge-tunnel:latest
) without any trouble.
Specific Error from Docker:
Error: The manifest.yml file is not a valid YAML. Fix it and try again.
{"__tunnel_error__":true,"name":"InvalidManifestError","attributes":{"isUserError":true}}
Despite this error, both forge lint
and forge deploy
run successfully, indicating no issues with the manifest.yml
file.
Successful Steps:
- Deployment using
forge deploy
works flawlessly. forge lint
shows no issues with the manifest file.- Manual pulling of the
atlassian/forge-tunnel:latest
Docker image is successful.
Troubleshooting Steps Taken:
- Validated
manifest.yml
for syntax errors using online tools. - Cleared Docker cache with
docker system prune -a
. - Manually pulled
atlassian/forge-tunnel:latest
image using Docker. - Checked the Docker daemon’s status and configuration.
- Assessed network connectivity impacting Docker operations.
- Reinstalled both Docker and Forge CLI.
- Attempted running
forge tunnel
with the--verbose
flag, which didn’t yield additional details.
Environment:
- Forge CLI version: 7.0.0
- Docker version: 4.26.1
Has anyone else encountered a similar issue, or are there known conflicts with specific configurations or versions? Any advice, experiences, or suggestions from the community would be immensely helpful.
Thank you very much in advance for your assistance!