Closed ItaloCunhaBueno closed 3 years ago
Any help is welcome. Thanks.
@ItaloCunhaBueno does it happens only with this specific endpoint or it happens also with others?
I had two other people in our network complaining about this exact behaviour. So, yes, it happens in other clients accessing these WMS layers.
So, yes, it happens in other clients
@ItaloCunhaBueno my question is the other way around, it happens using other (server) endpoints? Does it happens outside your network?
Our network is not open so I cant tell if it happens to outside access, about other WMS services, I will search for a public WMS link and test it.
Our network is not open so I cant tell if it happens to outside access, about other WMS services, I will search for a public WMS link and test it.
@ItaloCunhaBueno you have to test also outside your network, using a public endpoint, to rule out that the issue is in your network.
Our network is not open so I cant tell if it happens to outside access, about other WMS services, I will search for a public WMS link and test it.
@ItaloCunhaBueno you have to test also outside your network, using a public endpoint, to rule out that the issue is in your network.
This I cant do, company rules. But would that explain why QGIS is not even trying to request the tiles?
This I cant do, company rules.
@ItaloCunhaBueno you can't test QGIS on a personal PC?
This I cant do, company rules.
@ItaloCunhaBueno you can't test QGIS on a personal PC?
Well, let me explain my setup:
I'm working from home (bnecause COVID) as every other employee in the company I work, we all use a VPN to connect to the company's network. The geoserver is located in the company's network, wich is not open to the public (hense the VPN) and I cant expose the geoserver services to the public.
My access to the internet does not pass through the VPN (I have internet access with vpn turned off), so I dont think it's something to do with the VPN.
I just tested several layers in a public WMS service and the problem persist, so (thankfully for me) it's not a problem in our geoserver configuration. Must be something in QGIS. And if it's a QGIS configuration problem, it's a default configuration problem because other employees (that arent tech savvy and problably didnt change QGIS configs) are having the same issue.
I just tested several layers in a public WMS service and the problem persist, so (thankfully for me) it's not a problem in our geoserver configuration. Must be something in QGIS. And if it's a QGIS configuration problem, it's a default configuration problem because other employees (that arent tech savvy and problably didnt change QGIS configs) are having the same issue.
@ItaloCunhaBueno are you all using the VPN? if yes you must remove the VPN from the equation. Just test a public endpoint without using the VPN.
I have now shutdown the VPN and QGIS and start all over. I added some public layers:
https://geoservicos.ibge.gov.br/geoserver/CGEO/ows?SERVICE=WMS&
Still, same behaviour, after some time QGIS stops requesting the layer and what was already there disappears (you dont even have to change zoom level, just panning the canvas makes the layer disappears).
So, VPN out of equasion, our geoserver config out of equasion too.
https://geoservicos.ibge.gov.br/geoserver/CGEO/ows?SERVICE=WMS&
Still, same behaviour, after some time QGIS stops requesting the layer and what was already there disappears (you dont even have to change zoom level, just panning the canvas makes the layer disappears).
@ItaloCunhaBueno I have added 10/12 layers from the above service, and in a few minutes of zooming and panning I have not lost the visibility of any layer. Can You post a screencast of what you observe? Thanks.
let qgis rest still for some minutes and see if it disappears when you move. I will try to record a video later today.
note: Im using the LTR version (3.16.6)
let qgis rest still for some minutes
@ItaloCunhaBueno vou almoçar, let's see what happens after.
Here's some recording of the problem:
https://drive.google.com/file/d/1yDGZU4gGQChL4kdGmfDUmC8Z4jfKsN7y/view?usp=sharing
Since the problem happened with VPN off and everything we discussed until now, I used my original setup (company's geoserver and VPN):
I added some vector layer just to force QGIS to reproject the WMS layer, then added the WMS, everything works fine (requests are made in the right panel), I then let QGIS rest still for 2 minutes, then pan the canvas. As you can see, the WMS layer disappears. To prove that QGIS think it's there, I 'zoom to layer' (for some reason record doesnt show right click menus), QGIS pan with success to the layer extent. The right panel does not show any request being made. I then remove the layer and add it again, and itial request is made but nothing else.
@ItaloCunhaBueno vou almoçar, let's see what happens after.
@ItaloCunhaBueno left qgis idle for over 1 hour, changed connection from cable to wireless > no issues. With the above public endpoint it works without issues. This do not seems to be a general QGIS issue. Have you tried with a new QGIS profile and see if it makes any difference?
Created a new profile, same result as in the video, after 2 minutes the layer disappears.
Created a new profile, same result as in the video, after 2 minutes the layer disappears.
@ItaloCunhaBueno ok, it was worth giving a try. Still not a general QGIS issue in my opinion (and after having tested several different endpoints and different versions of QGIS on different platforms).
Have been using WMS layers a lot in QGIS of late, and this issue has never occurred to me.
It's probably a Geoserver problem but still, it doesn't explain why QGIS don't even log it trying to request new tiles... Is it possible that geoserver is "banning" the client process that is requesting, and when I restart QGIS I'm able to request againd because it's using a new process ID?
Update: for some reason it's not happening anymore.
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.
While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue. Or, if you have any further questions, there are also further support channels that can help you.
I have configured dozens of geoserver WMS layers, when added to QGIS, it reproject and display the layers just fine, checking the request log with F12 shows all requests as it should.
The issue: after some time, QGIS stops requesting the WMS layer and it disappears from the canvas. Clicking in 'Zoom to layer', adjusts canvas extent to layer extent correctly, but the layer does not show.
Here's a screenshot of the requests:
inside the yellow square are all the correct requests wich have returned image just fine, outside the square, each pair of lines was me removing and adding the layer to see if it reappears, with no success.
A normal successful request looks like this:
the pair of requests after it stops working, looks like this:
The Geoserver log after everything stops working looks like this:
The geoserver log before everything stops looks like a repeated bunch of these lines:
For now, the only way to make QGIS show the layer correctly again is to shut QGIS down and open the project again. After some time the problem returns.
Other useful information:
QGIS network settings:
Geoserver WMS settings:
QGIS about info:
I dont think it's a Geoserver problem because it appears that QGIS simply stops requesting the layer (in opposite to show bad request errors).
Any help is welcome. Thanks.