Project

General

Profile

Segnalazione #66

Handle octofussd connection refused error

Added by Christopher R. Gabriel over 5 years ago. Updated over 5 years ago.

Status:
Chiuso
Priority:
Normale
Assignee:
Start date:
11/23/2016
Due date:
% Done:

100%


Description

If the octofussd backend is not running or not reachable (for remote usage), the connection refused is now an unhandled exception.

We need to handle it and show the user a proper error message/page.

Associated revisions

Revision f9c6b6cd (diff)
Added by Enrico Zini over 5 years ago

Handle ConnectionRefusedError on login and on views. refs: #66

Revision 24811002
Added by Enrico Zini over 5 years ago

Handle ConnectionRefusedError. Fixes #66

History

#1 Updated by Enrico Zini over 5 years ago

  • Assignee set to Enrico Zini

#2 Updated by Anonymous over 5 years ago

  • Status changed from Nuovo to Risolto
  • % Done changed from 0 to 100

#3 Updated by Enrico Zini over 5 years ago

  • Status changed from Risolto to Chiuso

When connection refused is detected at the beginning of a view, now there's a redirect to the login view. Trying to login again gives a connection refused error message, unless the server is back.

This is better than a traceback, but not optimal. There's now a place to hook a more optimal solution, though.

Also available in: Atom PDF