Project > settings > server > application root URL ?
I set this - and it works in the modeller. When I publish to the Mendix App server running behind apache, this is a problem. I did set the root URL in the Console app on the server, BUT I have the fix. I set the root URL just as the hostname and left out the http:// part....
Thanks for the answer - I noticed the error when looking at the Modeller settings.