I’m building an application like Loveable, where I have to spin up and down apps and machines with user code.
Now I’ve ran into an issue that I haven’t been able to resolve:
I’ve got a backend, that creates an app, assigns a shared ip v4 and creates a machine for the app, that runs my docker container.
If I use the Postman to run the request everything spins up just fine and the app is almost immediately available.
If however execute the exact same request (even copied the code from Postman) from my nextjs project, the app spins up, ip gets assigned, machine gets created and everything looks exactly the same in the dashboard, but the app is not becoming available through the hostname / fly dev domain.
The apps and machines are identical and the logs are the same.
Is there any logical explanation for this behaviour?
Thanks so much!