This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Cannot connect to svn server | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | mlwacosmos |
Component: | Subversion | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
mlwacosmos
2016-03-01 08:18:20 UTC
Does NetBeans ask for the username and password? You must keep entering a wrong credentials, that's what the "svn: E170001: OPTIONS of '/svn/MyProject/trunk': 403 Forbidden" is usually about. You can try resetting your saved credentials by going to Tools -> Options -> Team -> Versioning -> Subversion and Manage Connection Settings... - then select your saved connection settings and click on Remove from History. Then NetBeans should ask you again. Yes it asks but credentials are good 200% sure. I am so sure that when I want to make a checkout a project, Netbeans tries to connect, says it cannot and asks the id and password again, I click retry and it can connect and goes on the second window, I want to check out the trunk and give the address, it says it cannot connect and gives me the login form again, I click retry and it goes to the trunk and this till it is ready to download and then I always have the login form for each file checked out Do you connect over http or https? Can you use wireshark and check if correct username and password is sent to the server? And please attach the IDE log with the error printed when you cancel the auth dialog: - run Subversion -> Update - the authentication dialog opens, right? - enter your credentials - the dialog should open again, right? - now dismiss it - click on cancel - the IDE log should contain an exception with a message from the server, attach the log. This may also be an issue with authorization to different parts of the repository. I.e. it may happen that user has access (r+w) to let's say "repositoryRoot/projectA" but does not have access to "repositoryRoot" itself. Is that your case? Do you access to the repository root? Can you svn checkout the full repository? No...I try to get my project with Eclipse and it works good...It is definitely with netbeans and it is not something on my computer because for my colleagues it is the same thing with netbeans (In reply to mlwacosmos from comment #6) > No...I try to get my project with Eclipse and it works good...It is > definitely with netbeans and it is not something on my computer because for > my colleagues it is the same thing with netbeans Not sure what you're replying to. I asked if you can checkout the root of the repository (/svn) in CLI (or Eclipse), not a specific project: /svn/MyProject/trunk. It's possible that NetBeans somehow internally saves the password incorrectly. Could you please start NB with "-J-Dversioning.util.KeyringSupport.level=-1 -J-Dversioning.keyring.logpassword=true" and when the wrong credential dialog opens please take a look into the IDE log (View->IDE log) and search for message containing "Getting password:". Does that print the correct repository URL and the correct password? Have you been able to check the extracted password? I cannot check the root of the repository ever. It cannot connect ans yes... doing what u said, the password is good (In reply to mlwacosmos from comment #10) It sounds like NB for some reason attempts to touch the repository root before doing proper request to your project. Could you generate a thread dump while the login dialog is opened [1]? That could show from where the call to the repository comes. And also please attach the full IDE log after you click on retry in the dialog. Thanks. [1] - http://wiki.netbeans.org/GenerateThreadDump [2] - http://wiki.netbeans.org/FaqLogMessagesFile And one more thing to try. When the login dialog opens, please click on Cancel (instead of OK/Retry). That should spit the exception log with full error into the IDE log. Take the IDE log and attach it with the error. FINEST [versioning.util.KeyringSupport]: Getting password: versioning.subversion.:http://svn02.myDomain.com/svn/MYPROJECT -- "myPassword" FINEST [versioning.util.KeyringSupport]: Getting password: versioning.subversion.:http://svn02.myDomain.com/svn -- "myPassword" FINEST [versioning.util.KeyringSupport]: Getting password: versioning.subversion.:http://svn02.myDomain.com -- "myPassword" FINE [versioning.util.KeyringSupport]: Saving password for versioning.subversion.:http://svn02.myDomain.com/svn/MYPROJECT FINEST [versioning.util.KeyringSupport]: Saving password: "myPassword" FINEST [versioning.util.KeyringSupport]: Getting password: versioning.subversion.:http://svn02.myDomain.com/svn/MYPROJECT -- "myPassword" FINEST [versioning.util.KeyringSupport]: Getting password: versioning.subversion.:http://svn02.myDomain.com/svn -- "myPassword" FINEST [versioning.util.KeyringSupport]: Getting password: versioning.subversion.:http://svn02.myDomain.com -- "myPassword" FINEST [versioning.util.KeyringSupport]: Getting password: versioning.subversion.:http://svn02.myDomain.com/svn/MYPROJECT -- "myPassword" FINEST [versioning.util.KeyringSupport]: Getting password: versioning.subversion.:http://svn02.myDomain.com/svn -- "myPassword" FINEST [versioning.util.KeyringSupport]: Getting password: versioning.subversion.:http://svn02.myDomain.com -- "myPassword" Please start with attaching the IDE log with the error. I really don't know where to start and would like at least to see the exception and where it comes from. |