Network::OnReply received empty document
| Affects | Status | Importance | Assigned to | Milestone | ||
|---|---|---|---|---|---|---|
| ubuntuone-credentials | Status tracked in Trunk | |||||
| | Stable-13-10 |
Fix Released
|
Undecided
|
Unassigned | ||
| | Trunk |
Fix Released
|
High
|
Mike McCracken | ||
| | ubuntuone-credentials (Ubuntu) |
Undecided
|
Unassigned | |||
Bug Description
Sometimes when adding an Ubuntu One account through system settings on the phone I've received the error:
Network::OnReply received empty document
(see attached screenshot)
I don't know what's the reason for this problem, and the message doesn't help at all. We should either display a better error message saying why the process failed, or just say that something went wrong and retry.
Related branches
- dobey (community): Approve on 2013-10-04
- PS Jenkins bot: Approve (continuous-integration) on 2013-10-03
-
Diff: 65 lines (+10/-5)4 files modifiedlibubuntuoneauth/errormessages.h (+3/-1)
libubuntuoneauth/network.cpp (+0/-2)
libubuntuoneauth/responses.h (+1/-1)
qml-credentials-service/ubuntuone_credentials_service.cpp (+6/-1)
| Leo Arias (elopio) wrote : | #1 |
| Changed in ubuntuone-credentials: | |
| assignee: | nobody → Mike McCracken (mikemc) |
| Mike McCracken (mikemc) wrote : | #2 |
| Changed in ubuntuone-credentials: | |
| status: | Confirmed → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #3 |
This bug was fixed in the package ubuntuone-
---------------
ubuntuone-
[ Diego Sarmentero ]
* adding files
* ssolib files
* adding license
* SSO Lib working
* new folder structure
* updating .pro
* Fixing some design issues.
* Improve Error handling in the application as requested by design.
* Support urls in the --picture argument, to handle download of the
image from this application.
* Fix UI flow requested by design for Returning Customers.
[ Leo Arias ]
* Cleaned the autopilot tests.
* Refactor the fake servers to be a thread on the same process,
started from a fixture on the test setup.
* Added missing files from previous autopilot fixtures MP. .
[ Ubuntu daily release ]
* New rebuild forced
[ CI bot ]
* No change rebuild against Qt 5.2.1.
[ Brian Curtin ]
* Update the tests.pro file to work with changes to how the library is
built.
* Add more tests.
[ Michael McCracken ]
* Simplify header layout to avoid issues in packaging. (LP: #1190782).
(LP: #1190782)
* Improvements to available slots and signals on ssoservice object.
* Fixes for registration
* mark two methods of Token as const, and fix a leak from oauth
library.
* Add QML plugin that wraps login/register and signUrl functionality
of libubuntuoneauth, and accompanying QML UI prototype
* Add support for two-factor auth to the ssoservice and QML plugin
(LP: #1197081). (LP: #1197081)
* Add error signal for failure cases in Network class - covers
connection failures.
* Improve UI, better support embedding into external QML, and add
embedding example code.
* Fix credential deletion and expose it via QML plugin.
* Validate input and show error messages for invalid email, short
password, etc.
* add cmake rule to generate qmltypes file for qtcreator integration.
* Make background of embeddable component transparent, and use smaller
font sizes to fit better on small screens.
* Fix typo in signal connection for handleError.
* set signon plugin name to 'ubuntuoneplugin' as required by the
signond plugin loader.
* Ensure initial value of _state variable is IDLE.
* Add UOA provider plug-in to house login/register UI. Move that UI
from credentials service plug-in.
* Fix example code for QML plugin to no longer try to show the
CredentialsUI that doesn't exist anymore, and improve its comments
to better explain the remaining API.
* Re-add a regexp validator to the email textfield.
* Add minimal Qt/C++ example app and README describing how to use
libubuntuon
* Add cancel/continue buttons back.
* Fix spacing and margins of login/register UI. Use default fontSizes
pending design input.
* Provide faster visual feedback of activity after clicking
'continue'.
* Fix flickable scrolling. Fix sizing of nested Columns in LoginForm
and RegisterForm, and use correct anchors.
* Improve integration with Online Accounts System settings module.
* Fix registration errors caused by scrambling parameters due ...
| Changed in ubuntuone-credentials (Ubuntu): | |
| status: | New → Fix Released |

Leo, if you see this again, could you look at the file ~/.cache/ ubuntuone/ log/authenticat ion.log and see what's shown there? It should have a similar "Network:OnReply" error, but may also tell us the specific HTTP error code.
Thanks,
-mike