[NETCONF-376] Can the timeout for HTTP response be configured? Created: 17/Mar/17 Updated: 13/Aug/19 |
|
| Status: | Confirmed |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Vratko Polak | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 8015 |
| Description |
|
Recent longevity test case fails on ConnectionError [0] after time suspiciously close to 60 minutes. I think the HTTP server ODL uses has a default timeout, and it closes any TCP connections not transmitting data for 60 minutes. I have not found any place which would allow the timeout value to be configured. For the longevity test in question, we can rework the call to be non-blocking, but configuring timeout would be easier for us. |
| Comments |
| Comment by Vratko Polak [ 17/Mar/17 ] |
|
Debugging has revealed this error on our Python (requests) client: This maybe indicates that abortive [1] TCP connection release occurred. [1] http://docs.oracle.com/javase/8/docs/technotes/guides/net/articles/connection_release.html |