Error: Failed to establish state with product

Hey guys,

My Node.js/forge Jira app comes with a weird problem.
In the backend an express server is running on a docker container. And actually the app works fine so far. Except this one time every morning when I start the app for the first time, I can’t connect with the server and I get this error message:

Error: Failed to establish ready state with product
at global-bridge.js:8

The docker container / express server is still up, but don’t recieves any data, why I think it has something to do with forge. Anyway, when I restart the app the error seems to be gone until the next morning. This makes it very hard to debug, if I don’t know how to provoke this problem.
Maybe someone bumped into a similar issue and could help me out?

Cheers and thank you guys!

2 Likes

Hello. I have the same issue, it is very annoying. Each time after ~1 hour of local development and refreshing the app page I get the error. The page refreshing is super slow, but after 5-10 refreshes the app page finally loaded then after 5-8 successful app page reloading - the error appears again and it repeats again and again

Here is super strange code (global-bridge.js), it is looks rundomly works

Looks I find the solution. I changed the runtime to native and the problem is gone
изображение