Could the error in your startup cause the problem? The one with OpenIDConnect? Do you use it for logging in? Do you see it on your local?
Thanks for your reply. Yes we use OpenIDConnect, which does not work locally. However the fallback should be the standard Mendix Login page. Here the screenshot from my machine:
To create that screenshot I used a branch which a colleague created and he ends up with the HTTP 500. I did not change any settings. The console looks the same on my machine.
From my understanding the OpenIDConnect Error appears in startup, however, the HTTP500 appears later, as soon as somebody accesses the page. Except in the Browser I don’t see any further information what casues that error.
Are there access logs written anywhere else?
We found a workaround which solves the problem temporarily.
It seems like, that Mendix does not always recompile when starting the project locally.
We have set the “Allow anonymous users” for running locally to “Yes”, which did not solve the problem.
However changing it to “No”, Saving and starting, again ending up with the error and then changing it back to “Yes” and starting again solved it.
This workaround solved the problem on three different machines.
Initial setting to “Yes” → Error, Change to “No” → Error, change back to “Yes” → works.
We will use this workaround now whenever we run into that problem again.
If anyone knows this kind of behaviour and has a better solution, please let us know. Thank you.