Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#23284 closed Bug (invalid)

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

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 (last modified by Tim Graham)

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/", line 59, in __call__
        return self.application(environ, start_response)
      File "/home/ubuntu/site/local/lib/python2.7/site-packages/django/core/handlers/", line 206, in __call__
        response = self.get_response(request)
      File "/home/ubuntu/site/local/lib/python2.7/site-packages/django/core/handlers/", line 114, in get_response
        response = wrapped_callback(request, *callback_args, **callback_kwargs)
      File "./main/", line 12, in decorator
        return function(*args, **kwargs)
      File "./main/", line 214, in get_nominals
        qwt.report_trace(e, request)
      File "./main/", line 206, in get_nominals
      File "./Protocols/", line 51, in get_credits
        return, self.login)
      File "./utils/", line 166, in get_credits
        request = self.__create_request_my_api(Credits, 'find_active_credit', service_id, login)
      File "./utils/", line 122, in __create_request_my_api
        terminal_info = getattr(class_api, method_name)(**args)
      File "./my_api/", line 11, in find_active_credit
        obj_response = credit.get_credit_from_response(self.send_request())
      File "./my_api/to/", line 17, in get_credit_from_response
        print xml_response
    IOError: [Errno 5] Input/output error

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


Debug = True

Obs: Django 1.6

Any idea how fix that?

Change History (2)

comment:1 Changed 9 years ago by Tim Graham

Resolution: invalid
Status: newclosed

comment:2 Changed 8 years ago by Tim Graham

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top