01-28-2019 04:02 AM - edited 01-28-2019 04:03 AM
Hi,
Creating a workspace in the Admin portal, the service WMS is displayed. I assign space to the consumer portal, the service WMS is not loaded. An error occurs: the Layer does not support this coordinate system.
01-28-2019 06:29 AM
Hi Anna,
Please open browser developer tools, switch to Network tab and look gor PUT call to Backend and what is the response. There might be a more information of the fail.
Thanks,
Jan
01-28-2019 09:29 PM - edited 01-28-2019 09:34 PM
Hi Jan,
Information of the fail:
Failed to load resourse: the server responded with a status of 404 (not Found). /favicon.ico:1
WMS service works on https.
01-29-2019 12:53 AM
Hi Anna,
This 404 error isn't related, it's just telling you that the web page doesn't have any favicon.ico file in its root folder (used to display in a browser tab, besides the page title).
I was rather curious about the call to the backend (this is similar but for a WFS):
01-29-2019 01:53 AM
{"connectionId":"b85dac53-f8e0-495a-90db-5142672efc3d","error":"WMS caps are not WMS caps."}
01-29-2019 03:02 AM
Does the WMS support version 1.1.1? Please try to issue GetCapabilities request on the WMS and specify parameter version=1.1.1.
The error message can be translated as "WMS Capabilities are not WMS Capabilities".
01-29-2019 03:12 AM
01-29-2019 03:37 AM - edited 01-29-2019 03:37 AM
Ok, assuming that this was a WMS response to ?request=GetCapabilities&service=WMS&version=1.1.1 then it's clear that this WMS doesn't support version 1.1.1 => it will not work in Consumer Portal.
01-29-2019 04:23 AM - edited 01-29-2019 04:46 AM
Jan, uploaded to the portal WMS services via http, everything works. Consumer portal does not work with https services?
But WMTS services work on the portal via https.
01-30-2019 04:53 AM
Hi Anna,
Consumer portal works with HTTPS, but you must switch the Backend service to HTTPS as well. Please see following article.
BTW: The WMPS Search (BackendWMPS service) "can" work under HTTPS too but it's not natively supported yet. See comments in the linked article for more info.