Skip to main content
Question

WFS reader fails before connection timeout is reached.

  • April 26, 2017
  • 3 replies
  • 60 views

fmelizard
Safer
Forum|alt.badge.img+21

I have a WFS reader that is failing at 5 minutes when I am attempting to read in a large number of features. The reader is set to Prefer HTTP Post if available. The connection and transfer timeouts have both been set to 7200. The error I am seeing in the log file is:

Sending HTTP 'Post' Request to {Feature WFS}, waiting for response.

Received HTTP response header: 'HTTP/1.1 100 Continue'

Received HTTP response header: 'HTTP/1.1 503 Service Unavailable.

Is there another setting besides the timeouts that could be causing this failure at 5 minutes? We have talked to the WFS administrators and they could not find anything on their end that would cause the issue.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • April 26, 2017

Hi @angelam,

Is there a reason for preferring post? does the service actually support this type of request? any luck with another WFS version? does the service also reacts this way with another client?


fmelizard
Safer
Forum|alt.badge.img+21
  • Author
  • Safer
  • April 26, 2017

There is a limit to the length of url requests. A post submits a request in an xml file. We found that we were hitting the limit with some of our requests so which necessitated the switch to post. I have not tried a different WFS version. Would there be a difference in how 1.1 vs 2.0 handles this?


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • April 26, 2017

Not necessarily but with the 2.0.0 version you can use paging, if the service supports it (check the get capabilities for that)