You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a request is cancelled for a PostGIS-backed layer, this unexpectedly results in a 500 error being returned:
ERRO[0017] Tile request failed: pq: canceling statement due to user request (HTTP error 500)
Upon further investigation, it appears that the PostgreSQL library we use returns the opaque error string pq: canceling statement due to user request when a request is cancelled (e.g. when panning around quickly on the map), which is incorrectly being handled as an unexpected server error (500 error code).
While this is currently not impacting end use in map interfaces (since when a browser cancels a request, it discards/closes its receive socket), this is clearly bypassing some code that was written specifically to handle request cancellations which in turn may impact:
When a request is cancelled for a PostGIS-backed layer, this unexpectedly results in a 500 error being returned:
Upon further investigation, it appears that the PostgreSQL library we use returns the opaque error string
pq: canceling statement due to user request
when a request is cancelled (e.g. when panning around quickly on the map), which is incorrectly being handled as an unexpected server error (500 error code).While this is currently not impacting end use in map interfaces (since when a browser cancels a request, it discards/closes its receive socket), this is clearly bypassing some code that was written specifically to handle request cancellations which in turn may impact:
The text was updated successfully, but these errors were encountered: