Authenticating with U1 gives a "please check the address you entered" error

Bug #766225 reported by Matthew Revell
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Tomdroid
Won't Fix
Low
Olivier Bilodeau
Ubuntu One Servers
Invalid
Undecided
Unassigned

Bug Description

We should provide more details in the "Please check the address you entered" error. It should help the user know if it's a U1 problem, a tomdroid problem, a network problem or a cosmic rays problem. Also, it should be careful not to leak anything secret.

Original report:

I've just installed Tomdroid from the Android Market. I went into "Settings" and tried to authenticate with U1 but got the following error:

The connection to the server has failed, please check that the address you entered is correct.

I'm running an HTC Desire on Android 2.2 (build number 2.29.405.5)

Related branches

Revision history for this message
Olivier Bilodeau (plaxx) wrote :

I was able to reproduce the issue when you told me about it on IRC but now I can't reproduce. I got redirected to Ubuntu One in the android browser as expected.

Maybe it was a temporary ubuntu one problem? Can you try again please?

Changed in tomdroid:
assignee: nobody → Olivier Bilodeau (plaxx)
importance: Undecided → High
Revision history for this message
Matthew Revell (matthew.revell) wrote :

Ah! It works for me now too.

I did test the Ubuntu One sync with TomBoy and that was working at the time, but clearly something else was busted.

I've marked the bug Invalid; I hope you don't mind.

Changed in tomdroid:
status: New → Invalid
Revision history for this message
foxy123 (foxy) wrote :

I've got this problem too. Cannot authenticate:

"The connection to the server has failed, please check that the address you entered is correct."

Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) wrote :

In question #163432 we narrowed it down to a temporary connection problem to the Ubuntu One authentication servers.
https://answers.launchpad.net/tomdroid/+question/163432

Revision history for this message
Olivier Bilodeau (plaxx) wrote :

re-opening bug: we should provide more information to help user know if it's a U1 problem, a tomdroid problem, a network problem or a cosmic rays problem

Changed in tomdroid:
importance: High → Low
status: Invalid → Confirmed
description: updated
Olivier Bilodeau (plaxx)
Changed in tomdroid:
milestone: none → 0.5.1
Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) wrote :

Bug #863991 - Reported by chrisbuchholz on 2011-10-01 :

When I try to set up sync with https://edge.tomboy-online.org, I just get the message that "The connection to the server has failed" and that should check that the address is spelled correctly.
Now, I sync with this address with Tomboy, and that works perfectly, so I can only think that it is Tomdroid that doesn't work properly, or am I doing something completely wrong?

HTC Desire
Android 2.3.4
Tomdroid 0.4.1

Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) wrote :

How about providing a list of the most common services, with the links hard-coded, and just as last option the possibility to enter a own, custom link:

Service: Tomboy Online
               Ubuntu One
               Midgard
               Custom Server
               SD Card
              OK Cancel
-> on OK, either authenticate, or directly ask for Custom Server URL or SD Card location.

Custom Server URL: <TextField> (just enabled, if radiobutton is on Custom Server)
Location on SD Card: <TextField> (just enabled, if radiobutton is on SD Card)

With this we narrow out typing problems when entering the link. Then, if we are not able to connect, it is probably the fault of the server. (if nobody can connect any more, we just change the link in the sources.)
Additionally, we have to change the error message to more different messages explaining what is wrong exactly.

What's your opinion on this?

Changed in tomdroid:
assignee: Olivier Bilodeau (plaxx) → Stefan Hammer (j-4)
summary: Authenticating with U1 gives a "please check the address you entered"
- error on HTC Desire
+ error
Changed in tomdroid:
assignee: Stefan Hammer (j-4) → Olivier Bilodeau (plaxx)
Revision history for this message
Olivier Bilodeau (plaxx) wrote :

potential fix in linked branch

Changed in tomdroid:
status: Confirmed → In Progress
Changed in tomdroid:
milestone: 0.6.0 → none
Revision history for this message
W-barath-hotmail (w-barath-hotmail) wrote :

using latest tomdroid 0.5.0 (as of today) from the android marketplace:

Steps:

[settings]
  service: Tomboy Web
  server: https://one.ubuntu.com/notes/

[authenticate]

"Completing authentication. Please wait..."
"The connection to the server has failed, please check that the address you entered is correct."

[OK]

I've tried the server URL with and without the trailing '/' however it is used by the Tomboy Notes application.

I was logged into the One.Ubuntu.Com site in the android browser when Tomboy was started, so authentication is definitely not the problem. As far as I can tell, tomdroid is simply not launching the Android browser to request the authentication in the first place.

This was working perfectly in tomdroid 0.4.1 a few months ago for me, with the same settings. At some point Tomdroid forgot my settings and I've tried reinstalling, clearing its settings, even factory resetting my phone. No joy.

Revision history for this message
W-barath-hotmail (w-barath-hotmail) wrote :

using latest "stable" tomdroid 0.6.0 (as of today) from launchpad.net:

Steps:

[Settings]
  Service: Online Synchronization
  Server: https://one.ubuntu.com/notes

[Authenticate]

"Completing authentication. Please wait..."
"The connection to the server has failed, please check that the address you entered is correct."

[OK]

As far as I can tell, the difference between 0.5.0 and 0.6.0 are as follows:
- The service "Tomboy Web" has been renamed to "Online Synchronization"
- authentication now fails about 3x faster. Great performance improvement!

Revision history for this message
W-barath-hotmail (w-barath-hotmail) wrote :

using latest "beta" tomdroid 0.7.2 (as of today) from launchpad.net:

Steps:

[Settings]
  Service: Online Synchronization
  Server: https://one.ubuntu.com/notes

[@] - the sync icon on the main notes page

"Completing authentication. Please wait..."
"The connection to the server has failed, please check that the address you entered is correct."

Wow, this one reports back authentication failure so quickly that I begin to doubt that it even talked to the internet.

Changed in tomdroid:
status: In Progress → Won't Fix
Revision history for this message
cleric (logicalcombine) wrote :

I just updated to version 0.6.1 on Samsung Galaxy S3 running Android 4.1.1 and I'm not able to synchronise.

I removed my phone from Ubuntu One authenticated devices and then went on the phone and tried to re-authenticate with: https://one.ubuntu.com/notes and getting same error: "The connection to the server has failed, please check that the address you entered is correct".

What's going on? Is it just a blip with Ubuntu One? Or has Ubuntu One dropped Tomboy notes support? Or is this a bug in the app?

Thank you.

Revision history for this message
Jan Henke (jhe) wrote :

Note synchronisation has been removed from the U1 service. Verified with desktop tomboy. You have to use one of the other synchronisation means.

Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) wrote :

Hi! Please see the release announcement for more information: https://launchpad.net/tomdroid/+announcement/11263

You might also want to keep updated via google plus: https://plus.google.com/112452353708124768359

I could offer you a private account on www.notesync.org for testing the server.
I use it daily and it never failed. However, it is still beta quality and your notes are not stored encrypted. If you want to risk this, write me an email and I will send you the username/password.

Martin Albisetti (beuno)
Changed in ubuntuone-servers:
status: New → Invalid
Revision history for this message
Michael (micmen) wrote :

I don't know what "authenticate with U1" means, but I think I have the same problem on both of my Android devices:
Whenever I try to sync I get the message "The connection to the server has failed, please check that the address you entered is correct." (I get it in german language, current translation is "Die Verbindung zum Server ist fehlgeschlagen. Bitte überprüfe die angegebene Adresse.").
"Check the address" is nonsens for as the software can see I entered exactly what is given: https://edge.tomboy-online.org/
I tried it without the backspace in the end, but didn't help. It's the same on both devices, tablet and smartphone, I installed TomDroid yesterday on both of them and tried to sync for more than 24 hours now.

This bug is more than 3 years old so I think there is a solution, but I can't find any...

Revision history for this message
Stefan Hammer (j-4-deactivatedaccount) wrote :

@micmen
Ubuntu One sync service was shut down long ago, and it seems also tomboy-online was already shut down. Therefore there does not exist any note sync server behind your url.
You need to have a Rainy or Snowy server to be able to sync your notes. You can host such a server yourself: http://dynalon.github.io/Rainy/#!index.md

Next time, please open a new bug report - this one was already closed long ago!
Have fun.
Stefan

Revision history for this message
Michael (micmen) wrote :

Well, then two things should be done:
The "first TomDroid note" should get a new content, no longer giving old server addresses, but telling how to configure an own server.
The error message should be rewritten as well, telling people that maybe their own server is down or wrong parameters were given, and mentioning the information given in the "first TomDroid note".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.