Hi @MK-R-J,
Thanks for the update and for sharing the logs.
I reviewed the nginx error and it shows that the request to /api/engine/info is being served from the nginx static root (/usr/share/nginx/html) instead of being forwarded to the Axon Ivy Engine. That’s why the mobile app gets a 404 when it tries to load the engine info endpoint.
If you following the proxy.conf in example project, only the /demo-portal/ path is proxied to the engine.
Because the Mobile App completely communicate with the engine though API, it requires access to engine API endpoints like /api/engine/info, which the example proxy doesn’t forward.
I think to fix this, you need to update the reverse proxy to explicitly proxy API paths so they are forwarded to the engine, e.g.:
proxy.conf
location /api/ {
proxy_pass http://ivy:8080/api/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
You can check the rest endpoint path that need to forwarded in Engine Cockpit -> Services -> Rest services
Follow this documentation for more information:
https://developer.axonivy.com/doc/12.0/en/concepts/3rd-party-integration/restapi.html
Please try to edit the nginx config and let me know if you still encounter the error.