Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increasing timeout time when datastore server request takes longer than ... #1405

Merged
merged 1 commit into from
Jan 28, 2014

Conversation

nlake44
Copy link
Contributor

@nlake44 nlake44 commented Jan 28, 2014

...1 second

@nlake44
Copy link
Contributor Author

nlake44 commented Jan 28, 2014

Addresses the following error seen by the AppScale Dashboard
ERROR 2014-01-28 03:20:53,819 server.py:628] Request to '/logs/logs/192.168.33.15' failed
Traceback (most recent call last):
File "/root/appscale/AppServer/google/appengine/tools/devappserver2/server.py", line 622, in _handle_request
environ, wrapped_start_response)
File "/root/appscale/AppServer/google/appengine/tools/devappserver2/request_rewriter.py", line 311, in _rewriter_middleware
response_body = iter(application(environ, wrapped_start_response))
File "/root/appscale/AppServer/google/appengine/tools/devappserver2/server.py", line 1052, in _handle_script_request
request_type)
File "/root/appscale/AppServer/google/appengine/tools/devappserver2/instance.py", line 382, in handle
request_type))
File "/root/appscale/AppServer/google/appengine/tools/devappserver2/http_runtime.py", line 147, in handle
response = connection.getresponse()
File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
line = self.fp.readline()
File "/usr/lib/python2.7/socket.py", line 430, in readline
data = recv(1)
timeout: timed out
INFO 2014-01-28 03:20:53,819 server.py:580] default: "GET /logs/logs/192.168.33.15 HTTP/1.0" 500 -

@nlake44
Copy link
Contributor Author

nlake44 commented Jan 28, 2014

This is on our normal Precise image. Not sure about the windows comment. Increasing the timeout helped render pages where the datastore server was taking over 1 second.

DrOctogon pushed a commit that referenced this pull request Jan 28, 2014
Increasing timeout time when datastore server request takes longer than ...
@DrOctogon DrOctogon merged commit 1e8a8ef into AppScale:master Jan 28, 2014
@nlake44 nlake44 deleted the increase-timeout branch February 4, 2014 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants