Hello Surasak,
To me, this seems like a bug on the page generated by the rest-doc generator. Instead of loading the JavaScript file mentioned via HTTPS it is loading it via HTTP which a browser will flag as insecure content and automatically block.
Probably best to file a support ticket to make this known to Mendix.
Best,
Mitchel
Hello Mitchel,
Thank you for the reply.
I update modeler to v7.12, but got the same result.
Best Regards,
Surasak
In Chrome and among other browsers, you cannot have HTTPS and HTTP requests mixed. Choose either one of them. Your best bet is tracing down where (in what file) the request is being made and simply change the URL from HTTP to HTTPS.
This is nothing related to Mendix, as I had these issues a lot of time as well when hand-coding simple static websites. That is works on localhost, but doesn't when on a live server is simply a default rule of your browser. Localhost is like "Meh, I don't care".
Hello,
Please let me know if there was any solution found for this issue. We have similar issue in our Mendix app., which is being hosted in an on-prem environment.
Modeler version we are using is 7.16.
Hi,
I experienced this issue before. I guess that the application is running behind NGINX web server.
The following NGINX configuration must be added inside 'server' directive.
proxy_set_header X-Forwarded-Proto $scheme
This will prevent Swagger UI from being called in HTTP manner within HTTPS connection.
I hope this will help whoever found this issue.