Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Forge tunnel doesn't work - Linux Mint

Etienne Larroumets
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 8, 2025

Hi everybody,

I'm currently having a problem with Forge tunnel. I'm working on an app which uses Custom UI and I use a local server on http://localhost:3000 for React frontend app which I start with "npm run dev" before starting forge tunnel.

When I deploy and install the app on my site there is no problem and the app works correctly. But when I start "forge tunnel" and reload my app in Jira, Chrome browser throws an error and the loading wheel in my app is stuck turning...

Here is the error from Chrome console : 


main.tsx:42
Uncaught (in promise) Error: There was an error invoking the function - Cannot find module '/tmp/forge-dist-61130-USWW6w7cMQ75/bundled/index.js' Require stack: - /tmp/forge-dist-61130-USWW6w7cMQ75/__forge_wr... (truncated) at invoke (https://jira-frontend-bifrost.prod-east.frontend.public.atl-paas.net/assets/async-forge-ui-issue-view-extension.8f99cde1.js:57:112503) at async https://jira-frontend-bifrost.prod-east.frontend.public.atl-paas.net/assets/async-forge-ui-issue-view-extension.8f99cde1.js:57:143624 Error: There was an error invoking the function - Cannot find module '/tmp/forge-dist-61130-USWW6w7cMQ75/bundled/index.js' Require stack: - /tmp/forge-dist-61130-USWW6w7cMQ75/__forge_wr... (truncated) at he.error (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:133263) at Object.<anonymous> (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:141036) at JSON.parse (<anonymous>) at Se.o (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:140895) at Se (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:141048) at Me.s.on (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:145708) at Me (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:145845) at https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:151831 at e.try (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:124315) at https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:2:151628

 In my terminal, where tunnel runs, I see the requests from Jira.

It seems like the app tries to reach files in /tmp folder on my disk but doesn't find "index.js"...

Every time I start forge tunnel, it creates a new folder "/forge-dist-*****-************/ in my /tmp folder.

If I stop tunneling, the app works correctly again.

Part of manifest.yml :

resources:
- key : frontend-resource
- path : static/frontend/dist
- tunnel:
- port:3000
...
runtime: - name: nodejs22.x
I created, deployed and installed an other app with UI Kit (hello-world-app from tutorials) and tunnel works ! I don't understand...
Here is my config : 
  • Linux Mint 22.1 (Ubuntu 24.04)
  • Node 22.14.0
  • Forge 11.2.0
  • No Firewall

Is there anyone who had the same problem ??

 

EDIT : I just saw I was in the wrong Atlassian Community...If a moderator can delete this post...I will post in Dev Community

2 answers

0 votes
Aron Gombas _Midori_
Community Champion
April 9, 2025

@Etienne Larroumets If you are still here, here is the solution.

I am a developer also on Linux (although in my case it is Ubuntu). Had the same problem a few days ago, and downgrading the Forge CLI to the previous minor version solved it immediately!

0 votes
Laura Campbell
Community Champion
April 8, 2025

Hi @Etienne Larroumets 

Can you confirm if you still want a moderator to delete this question? Glad you found the Developer Community.

Etienne Larroumets
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 9, 2025

Hi @Laura Campbell

I posted a message on the Dev Community and got the solution. 

It's the same solution as @Aron Gombas _Midori_ , I downgraded to 11.1.0 and now it works.

You can delete this post to avoid having a duplication.

Thank you.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events