Implement a mechanism to ignore SSL errors (similar to QGIS)
What is the bug or the crash? What were your expectations and what actually happened?
Here are a few examples:
Liegenschaften RLP (Funktionierte bis zu diesem Wochenende noch - Jetzt nicht mehr, da ein Zertifikat abgelaufen ist)
https://www.geoportal.rlp.de/mapbender/php/mod_showMetadata.php/../wms.php?layer_id=61680&PHPSESSID=fligmmtpgllifprrgi0pt0tcum&VERSION=1.1.1
Liegenschaften RLP (Funktioniert nicht in QField - Fehler: invalid dataprovider - in QGIS funktioniert es)
https://www.geoportal.rlp.de/mapbender/php/wms.php?layer_id=61680&withChilds=1&VERSION=1.1.1
Liegenschaften Saarland (nach längerem Arbeiten in QField crasht die App wenn dieser Layer aktiv ist)
https://geoportal.saarland.de/mapbender/php/wms.php?layer_id=44399&VERSION=1.1.1&withChilds=1
Der Layer wurde jetzt durch diesen ersetzt welcher funktioniert:
https://geoportal.saarland.de/mapbender/php/wms.php?layer_id=38960&VERSION=1.1.1
Steps to reproduce the issue
Simply try to use the layers specified above in the QField app
Version
3.6.3
Operating system name
Android
Operating system version
WIN 11
Reinstall QField
- [x] I have a fresh install of the latest QField version, but the problem persists.
- [x] Problem can be reliably reproduced, doesn't happen randomly.
- [x] Problem happens with all files and projects, not only some files or projects.
Additional context
No response
@rtdietrich , these two WMS servers have bad SSL certificates, that'd make them fail under QField:
- https://www.geoportal.rlp.de/mapbender/php/mod_showMetadata.php/../wms.php?layer_id=61680&PHPSESSID=fligmmtpgllifprrgi0pt0tcum&VERSION=1.1.1
- https://www.geoportal.rlp.de/mapbender/php/wms.php?layer_id=61680&withChilds=1&VERSION=1.1.1
As for the two other ones, I can get them to load as valid layers, but the content is fully blank, is that what's expected here? If not, please provide a sample project for us to dissect the situation further :)
@rtdietrich , these two WMS servers have bad SSL certificates, that'd make them fail under QField:
* https://www.geoportal.rlp.de/mapbender/php/mod_showMetadata.php/../wms.php?layer_id=61680&PHPSESSID=fligmmtpgllifprrgi0pt0tcum&VERSION=1.1.1 * https://www.geoportal.rlp.de/mapbender/php/wms.php?layer_id=61680&withChilds=1&VERSION=1.1.1As for the two other ones, I can get them to load as valid layers, but the content is fully blank, is that what's expected here? If not, please provide a sample project for us to dissect the situation further :)
To get the last two layers displayed just go there and integrate another OSM (just to be able to nagivate more easily). Then use OSM to find the region “Saarland” in Germany and zoom in. When a sufficient zoom level is reached, the WMS layer becomes visible
To the other two layers with the invalid certificate. In QGIS you can simply ignore this and the layers will be displayed correctly. Can this also be done in QField?
@rtdietrich , I see, you do have to zoom in quite a lot -- seen here rendered beautiful in QField :)
And indeed QField does not offer a way to ignore faulty / invalid certificates at the moment. We can turn this into an enhancement request?
And indeed QField does not offer a way to ignore faulty / invalid certificates at the moment. We can turn this into an enhancement request?
I would be very pleased about this, as we are dependent on these WMS links.