Closed Bug 313964 Opened 20 years ago Closed 9 years ago

when password is asked again ftp cannot do nsIAuthPrompt and gives onError on nsIXMLSinkObserver

Categories

(Core Graveyard :: Networking: FTP, defect)

1.7 Branch
x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: marja, Unassigned)

Details

Attachments

(3 files)

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Build Identifier: Mozilla 1.7.8 I first load an ftp: file as a RDF remote datasource, and also store it locally. Then I update the local file and upload it with nsIFTPChannel (nsIUpload) to web. Finally I use RDF .Refresh to read the updated file again to local file. I do it several times until at the end it does not succeed and gives onError on the nsIRDFXMLSinkObserver (code 2152398869). At the beginning the nsIUpload asks passwd with nsIAuthPrompt. When it fails it does not ask the passwd anymore like some routine does not know what to do when the passwd it lost (and why is it lost?). Here is some FTP package info about a case that first works and then does not. Reproducible: Sometimes Steps to Reproduce: 1.give passwd, load ftp file 2.upload changes it to web, load again with RDF remote datasource .Refresh 3.do several times until get error 2152398869 Actual Results: FTP sometimes looses passwd and does not know how to ask it again Expected Results: not loose passwd and at least ask it again if needed (And would be nice to be able to ask both user name and passwd but that's another thing). adding the ftp log, but I guess I need to define the bug first
not pw manager... probably FTP
Assignee: dveditz → dougt
Component: Password Manager → Networking: FTP
Product: Mozilla Application Suite → Core
QA Contact: benc
Version: unspecified → 1.7 Branch
I don't have a small testcase but I did a new package of my code in case it helps windows: http://www.annotea.org/mozilla/ubiwin_0_3_1.xpi linux: http://www.annotea.org/mozilla/ubi_0_3_1.xpi
an ftp log might help here. see http://www.mozilla.org/projects/netlib/http/http-debugging.html (also for FTP, see the bottom of that page)
Summary: when passwd is asked again ftp cannot do nsIAuthPrompt and gives onError on nsIXMLSinkObserver → when password is asked again ftp cannot do nsIAuthPrompt and gives onError on nsIXMLSinkObserver
Comment on attachment 201388 [details] ftplog - updates succeed about 3-4 times before ftp login problem trying to correct line feeds in the log file by edit edit but maybe I can only edit the flags
- I also did new beta version of code (ubi_0_3_2.xpi) linked from to www.annotea.org/mozilla/ubi.html - it fails the RDF Refresh most of the time with ftp file URIs that do not include passwd - HTTP files also occasionally fail to Refresh even with the setTimeout now in place - I wonder if it looses context when a specific situation happening once in a while in the protocol is being handled?
mass reassigning to nobody.
Assignee: dougt → nobody
only crit ftp fixes
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: