- summary: Connection aborted in with Server behind proxy --> Connection aborted with istSOS behind a proxy
If istSOS is deployed behind a proxy, and some big amount of data is sent or requested.. An execption can be thrown because of the timeout between the proxy and the istSOS server.
This can be corrected configuring Apache with a long timeout interval:
ProxyPass /istsos http://x.x.x.x/istsos keepalive=On timeout=480
ProxyPassReverse /istsos http://x.x.x.x/istsos
It would be nice to catch this exception and notify the user about the wrong server conffiguration.
Traceback (most recent call last):
File "/usr/local/istsos/application.py", line 187, in executeWa
op.executeGet()
File "/usr/local/istsos/walib/istsos/services/procedures/procedures.py", line 509, in executeGet
"version": "1.0.0"
File "/usr/local/istsos/lib/requests/api.py", line 65, in get
return request('get', url, kwargs)
File "/usr/local/istsos/lib/requests/api.py", line 49, in request
response = session.request(method=method, url=url, kwargs)
File "/usr/local/istsos/lib/requests/sessions.py", line 461, in request
resp = self.send(prep, send_kwargs)
File "/usr/local/istsos/lib/requests/sessions.py", line 573, in send
r = adapter.send(request, kwargs)
File "/usr/local/istsos/lib/requests/adapters.py", line 415, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', error(4, 'Interrupted system call'))
None