No friends yet.
Open a GitHub issue and I'll work with you to debug this. We're using Symfony's Request object so we should be able to get this sorted out. In the short term it may help to install via git rather than composer so you can checkout a pull request.
First step, check the URL in the elgg_sites_entity table. That should be the public URL.