The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Getting 404 on calling invoke with Forge Tunnel

Atif Dastgir
October 19, 2025

Hi,

I have a created a basic app using this template https://developer.atlassian.com/platform/forge/build-a-hello-world-app-in-confluence.

It works fine when I deploy and install on my site. However, when I use 'forge tunnel', I'm getting a 404 error "Error: There was an error invoking the function - 404". I didn't make any changes to manifest etc. - just used the template code generated using 'forge create'

Can any guide what maybe causing this?

 

By debugging I found that whenever I run 'forge tunnel', it starts tunnel at a random port. When invoke is called, it redirects to localhost:8080/resolver - so there's a port mismatch. Is there a way to start tunnel with specific port?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Atif Dastgir
October 20, 2025

By debugging I found that whenever I run 'forge tunnel', it starts tunnel at a random port. When invoke is called, it redirects to localhost:8080/resolver - so there's a port mismatch. Is there a way to start tunnel with specific port?

 

TAGS
AUG Leaders

Atlassian Community Events