Opened 10 years ago

Last modified 8 years ago

#23284 closed Bug

Amazon + Django each 12 hours appears that [Errno 5] Input/output error — at Initial Version

Reported by: guisoares2011 Owned by: nobody
Component: Uncategorized Version: 1.6
Severity: Normal Keywords: ioerror, amazon
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I have problem in my application. When the application is started or restarted my code works 100% but after 6h and 12h appears strange error.

That error only occurred in environment amazon.

File "/home/ubuntu/site/local/lib/python2.7/site-packages/dj_static.py", line 59, in call

return self.application(environ, start_response)

File "/home/ubuntu/site/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 206, in call

response = self.get_response(request)

File "/home/ubuntu/site/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 114, in get_response

response = wrapped_callback(request, *callback_args, callback_kwargs)

File "./main/decorators.py", line 12, in decorator

return function(*args, kwargs)

File "./main/views.py", line 214, in get_nominals

qwt.report_trace(e, request)

File "./main/views.py", line 206, in get_nominals

credit=protocol_obj.get_credits(),

File "./Protocols/protocol.py", line 51, in get_credits

return self.request.management.get_credits(self.service.id, self.login)

File "./utils/Management.py", line 166, in get_credits

request = self.create_request_my_api(Credits, 'find_active_credit', service_id, login)

File "./utils/Management.py", line 122, in create_request_my_api

terminal_info = getattr(class_api, method_name)(args)

File "./my_api/Credits.py", line 11, in find_active_credit

obj_response = credit.get_credit_from_response(self.send_request())

File "./my_api/to/Credit.py", line 17, in get_credit_from_response

print xml_response

IOError: [Errno 5] Input/output error

When error ocurred i need restart server to fix but it return in some hours.

In settings.py

Debug = True

Obs: Django 1.6

Any idea how fix that?

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top