If you try to go to:
Admin -> Metadata Sharing / Export Metadata -> Create package -> next -> Add metadata to package -> Concept (Choose Individually) -> Pick any concept -> Save
Nothing will happen.
In network, you can see a xhr request to ‘https://mdsbuilder.openmrs.org/openmrs/module/metadatasharing/export/selectItems.form?type=Concept’, which returned 302 to ‘http://mdsbuilder.openmrs.org/openmrs/module/metadatasharing/export/edit.form’ (note the protocol change from https to http).
It’s a little bit weird to see an ajax request returning 302, but
The browser then blocks it:
Blocked loading mixed active content “http://mdsbuilder.openmrs.org/openmrs/module/metadatasharing/export/edit.form”
In front of docker, I have an nginx (to offload from https to http), but I’m adding the headers:
proxy_set_header HOST $host; proxy_set_header X-Forwarded-Proto $scheme;
This has always been enough to all other applications (I don’t think I’ve had problems with refapp).
Can someone with more java knowledge please investigate why that module is completely ignoring that configuration? That doesn’t seem to happen anywhere else.
I really have no way of debugging this.