Problems with forge tunnel

Vanisha June 9, 2021

Hello everyone, 

I am very new to Atlassian Forge and am currently trying to develop an app using Forge.

For the installation, I have followed the instructions on this page: https://developer.atlassian.com/platform/forge/getting-started/

 

I am able to deploy and install the app on my local instance but unfortunately I am running into the following error when using forge tunnel.

 

Checking Docker image... 100%
Your Docker image is up to date.
docker: Error response from daemon: invalid IP address in add-host: "host-gateway".
See 'docker run --help'.

Forge tunnel initially worked but all of a sudden it stopped working (without me changing anything).

 

What I've tried already:

  • Uninstalling and reinstalling forge/npm/node
  • Starting/restarting docker
  • Deleting the forge tunnel image and re-downloading it again. 
  • Upgrading forge tunnel

Versions used:

  • Node: 12.22.1
  • Ubuntu: 18.04.2 
  • npm: 7.16.0
  • Docker: 20.10.2
  • Forge: 1.4.0

 

Thanks in advance!

3 answers

1 accepted

0 votes
Answer accepted
Yuri Zavyalov June 18, 2021

Hi

Actually, I think, it is a problem with the docker.

Anyway, remove && install every time solve this issue for me...

Sometimes it needs to install twice  (remove && install && install) :)

I don't know why but it works )

sudo apt-get remove docker-ce docker-ce-cli containerd.io
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo apt-get install docker-ce docker-ce-cli containerd.io

Docker 20.10.7
Ubuntu 20.04.2 LTS

Peter Schmidt August 20, 2021

Thanks Yuri for this hack with the double install. It didn't work in my setup after the first install, but then ... Feels a little bit scary though ...

I have:

Docker 20.10.8
Ubuntu 21.04 hirsute

0 votes
Kacper Nowak January 11, 2023

I had problem with tunnel unable to connect when running forge on Zorin Linux in virtual machine. I had two network cards present - one nat to internet, one host-only.

I had to remove all network cards and leave only one card in the system. Since then forge works fine.

0 votes
Gernot Grames June 17, 2021

Hi,

do you have found an answer? I am facing the same issue.

I am using forge/docker inside a linux vm on a windows host.

Thx

Vanisha June 17, 2021

Hello @Gernot Grames

unfortunately I have not been able to fix the problem yet. 

I also wrote a post on the Atlassian Developer Community and got some hints: 

https://community.developer.atlassian.com/t/problems-with-forge-tunnel/48834

 

Maybe that could help you :) 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events