Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGIS 3.2.1 - WMS server URL not accepted #27383

Closed
qgib opened this issue Aug 7, 2018 · 13 comments
Closed

QGIS 3.2.1 - WMS server URL not accepted #27383

qgib opened this issue Aug 7, 2018 · 13 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Aug 7, 2018

Author Name: Armand Bahi (Armand Bahi)
Original Redmine Issue: 19556
Affected QGIS version: 3.2.1
Redmine category:web_services_clients/wms


I have a WMS server running with mapserver on https://demo.veremes.net/wms/public/cd59_raster?service=WMS&version=1.3.0&request=GetCapabilities

When adding the layer I got the "Invalid Layer : Raster layer Provider is not valid" error

But if I copy the GetCapabilities result on a file and put it on https://demo.veremes.net/cd59_raster then it works

It seems like something on the first URL is not accepted


@qgib
Copy link
Contributor Author

qgib commented Aug 7, 2018

Author Name: Giovanni Manghi (@gioman)


Just tested on master and looks fine here (see attached image).


  • status_id was changed from Open to Feedback
  • 13077 was configured as Screenshot_20180807_095612.png

@qgib
Copy link
Contributor Author

qgib commented Aug 7, 2018

Author Name: Armand Bahi (Armand Bahi)


I've tried on Windows and it works too, it seems the problem is on the linux version (tested on 3.2.1+28bionic amd64)

@qgib
Copy link
Contributor Author

qgib commented Aug 7, 2018

Author Name: Giovanni Manghi (@gioman)


Armand Bahi wrote:

I've tried on Windows and it works too, it seems the problem is on the linux version (tested on 3.2.1+28bionic amd64)

try clean the cache in your qgis linux installation.

@qgib
Copy link
Contributor Author

qgib commented Aug 8, 2018

Author Name: Armand Bahi (Armand Bahi)


It doesn't change anything

@qgib
Copy link
Contributor Author

qgib commented Aug 8, 2018

Author Name: Giovanni Manghi (@gioman)


Armand Bahi wrote:

It doesn't change anything

on the same network does it work on a different machine?

@qgib
Copy link
Contributor Author

qgib commented Aug 12, 2018

Author Name: Robert Rigo (Robert Rigo)


I may have similar problem. I want to load _http://geoportal.dgu.hr/services/inspire/orthophoto_2014-2016/wms into qGIS 3.2.1 but I get error "Invalid Layer : Raster layer Provider is not valid (provider: wms, URI: crs=EPSG:3765&dpiMode=7&format=image/png&layers=OI.OrthoImagery&styles=&url=http://geoportal.dgu.hr/services/inspire/orthophoto_2014-2016/wms".

But, when I load WMS layer in 2.18.20, it loads like charm. Then I save project file in 2.18.20. Then I open project file (saved in 2.18.20) in 3.2.1. and WMS layer is there which is strange. Then I remove WMS layer in 3.2.1 and try to load same layer in 3.2.1 and I get same error. I am using Windows 7. BTW: this is my first issue report, sorry if I did it wrong.

@qgib
Copy link
Contributor Author

qgib commented Aug 12, 2018

Author Name: Giovanni Manghi (@gioman)


Robert Rigo wrote:

I may have similar problem. I want to load _http://geoportal.dgu.hr/services/inspire/orthophoto_2014-2016/wms into qGIS 3.2.1 but I get error "Invalid Layer : Raster layer Provider is not valid (provider: wms, URI: crs=EPSG:3765&dpiMode=7&format=image/png&layers=OI.OrthoImagery&styles=&url=http://geoportal.dgu.hr/services/inspire/orthophoto_2014-2016/wms".

But, when I load WMS layer in 2.18.20, it loads like charm. Then I save project file in 2.18.20. Then I open project file (saved in 2.18.20) in 3.2.1. and WMS layer is there which is strange. Then I remove WMS layer in 3.2.1 and try to load same layer in 3.2.1 and I get same error. I am using Windows 7. BTW: this is my first issue report, sorry if I did it wrong.

on what OS do you observe this?

@qgib
Copy link
Contributor Author

qgib commented Aug 13, 2018

Author Name: Armand Bahi (Armand Bahi)


So I tried on a Debian 9 and it worked correctly, I'm going to create a new Ubuntu 18 and test on it

@qgib
Copy link
Contributor Author

qgib commented Aug 13, 2018

Author Name: Armand Bahi (Armand Bahi)


Seems to work on an other Ubuntu18 machine, I'll reinstall it on mine, do you want to make some tests before I do it ?

@qgib
Copy link
Contributor Author

qgib commented Aug 13, 2018

Author Name: Giovanni Manghi (@gioman)


Armand Bahi wrote:

Seems to work on an other Ubuntu18 machine, I'll reinstall it on mine, do you want to make some tests before I do it ?

this suggest the issue is caused by something very specific in your original qgis installation, hard to say what exactly. If you find it please reopen this ticket.


  • status_id was changed from Feedback to Closed
  • resolution was changed from to invalid

@qgib qgib closed this as completed Aug 13, 2018
@qgib
Copy link
Contributor Author

qgib commented Aug 13, 2018

Author Name: Robert Rigo (Robert Rigo)


Giovanni Manghi wrote:

Robert Rigo wrote:

I may have similar problem. I want to load _http://geoportal.dgu.hr/services/inspire/orthophoto_2014-2016/wms into qGIS 3.2.1 but I get error "Invalid Layer : Raster layer Provider is not valid (provider: wms, URI: crs=EPSG:3765&dpiMode=7&format=image/png&layers=OI.OrthoImagery&styles=&url=http://geoportal.dgu.hr/services/inspire/orthophoto_2014-2016/wms".

But, when I load WMS layer in 2.18.20, it loads like charm. Then I save project file in 2.18.20. Then I open project file (saved in 2.18.20) in 3.2.1. and WMS layer is there which is strange. Then I remove WMS layer in 3.2.1 and try to load same layer in 3.2.1 and I get same error. I am using Windows 7. BTW: this is my first issue report, sorry if I did it wrong.

on what OS do you observe this?

On Windows 7. Should I open new ticket, since this one is closed?

@qgib
Copy link
Contributor Author

qgib commented Aug 13, 2018

Author Name: Giovanni Manghi (@gioman)


On Windows 7. Should I open new ticket, since this one is closed?

the observations above point to a local (installation? cache? network?) issues, not a qgis one. Please try on a different machine, in the same network (with a clean installation/profile) and see if still does not work.

@qgib
Copy link
Contributor Author

qgib commented May 15, 2019

Author Name: Alex Hajnal (@Alex-Kent)


FWIW, clearing the QGIS cache (Settings → Options → Network → Cache settings → Clear) fixed the issue for me. I'm using QGIS 2.16.0 (GDAL/OGR 1.11.3).

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant