02-24-2021 11:15 PM
Same issue as WMPS Legend Icons Load Path , but solution does not seem to work (or I'm not paying attention to something).
WebMap 2020 update 1 (16.6.1 build 45)
i. Legend icons display, but in developer tools observe
Mixed Content: The page at 'https://server.domain.local/GeospatialPortal/' was loaded over HTTPS, but requested an insecure element 'http://server.domain.local/WMPSService/cache/WMPSService/1061.png'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
i.e. its making a http request, edge simply uses https anyway
ii. Perform print (using print service, not local service)
Legend icons are missing from print.
Using phantomjs for print engine.
(This is core problem)
iii. Checked the WMPS service capabilities doco
Observed the URLs to the legend icons use http, not https
Any ideas what I missed?
Solved! Go to Solution.
02-25-2021 01:43 AM
Please see the following for HTTPS printservice:
I need to do more testing on https WMPS legend icon path...
You could try replacing the png paths (from http to https) within "<APPLICATION_NAME>_Capabilities.xml" file located in the WMPS "cache" folder.
02-25-2021 11:02 AM
I neglected to mention I had followed Configuring Print Service over HTTPS protocol and have the print service successfully running over https. (aside from those pesky legend icons going walkabout)
I manually edited the wmps capabilities doco and changed http to https.
The legend icons now appear in the prints.
02-25-2021 11:09 AM
I should also mention for the WMPS service I have 'Require SSL' checked in IIS, so it will only serve up https, not http. (Public facing site will only be serving up https).
02-25-2021 11:39 AM
I know that you mentioned that you "configured WMPS to run over https", but still, to be absolutely sure, have you followed the instructions given at:
Start Menu > GeoMedia WebMap Professional > GeoMedia WebMap Welcome Page > Documentation > GeoMedia WebMap Administrator Guide =>
search for "https"
=> select "HTTPS Configuration for GeoMedia WebMap services"
02-25-2021 12:54 PM
Went through the instructions again and realised I hadn't deleted the 'http binding'.
Did that, rebooted, and now working.
Will play with the bindings more later to get a better understanding of how portal and http bindings interact.
02-26-2021 03:33 AM
The WMPS capabilities document will generate HTTP links if there are both HTTP and HTTPS binding defined in IIS. If you remove the HTTP binding, the WMPS caps will have proper HTTPS links.
This is a long running WebMap known limitation...