iDisk impossible to make a branch

Bug #357659 reported by yogsototh
2
Affects Status Importance Assigned to Milestone
Bazaar WebDAV plugin
Confirmed
Undecided
Unassigned

Bug Description

Hello,

in a first time all seems to work, it creates the directory. But after few time, I've got the following issue.

$ bzr branch . http+webdav://<email address hidden>/user/Data/project
HTTP <email address hidden>, Realm: 'me.com' password:
bzr: ERROR: Invalid http response for http://idisk.me.com/.bzr/branch-format: Unable to handle http code 402: Account Error: Nonexistent

I've got this issue on Windows XP under Cygwin (bzr 1.3.1) and on Mac OS X Leopard.

description: updated
Revision history for this message
Vincent Ladeuil (vila) wrote :

402 !

RFC2616 says: 402 Payment Required

First time ever I see that one :-)

Yet, the the server says: "402: Account Error: Nonexistent", so you may want to double-check that you can access that folder without iDisk.

Anyway doing 'bzr branch . <remote>' is a uncommon way to say:

bzr push <remote>

Can you try the later or even 'bzr push -Dhttp <remote>' that will produce more info in ~/.bzr.log and report ?

Revision history for this message
yogsototh (yann-esposito-2nd) wrote :

Hi,

reading the logs I detected the problem come from a requested path error.

InvalidHttpResponse: Invalid http response for http://idisk.me.com/.bzr/branch-format: Unable to handle http code 402: Account Error: Nonexistent

But it should had requested :

http://idisk.me.com/my.name/Data/webroot/.bzr/branch-format

Because use the path for the identification, as there is no .bzr user, I get an 402 error.

I join my .bzr.log

Revision history for this message
Vincent Ladeuil (vila) wrote :

Eerk, the .bzr.log contain far enough information to get your username *and* your password !!!

I deleted the attachement it but you may want to change your password anyway.

Revision history for this message
yogsototh (yann-esposito-2nd) wrote :

I made a change and replace on my password and user before sending the bzr.log. I believed it would be enough. Thanks for the comment thought.

Revision history for this message
Vincent Ladeuil (vila) wrote :

I think there a re really two different problems here:

- one is that the server proposes basic and digest and we chose Basic (we should chose Digest),

- the second is that the 402 error should be handled more gracefully

Changed in bzr.webdav:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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