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.
Hello I have big issues connecting to svn server. It happened before for some reasons after reinstalling Netbeans, switching off the computer..., it used to come back but not this time for weeks now. Trying to connect to svn server for checkout, update or whatever, I have this : ==[IDE]== 1 mars 2016 08:56:29 Updating "MyProject" to HEAD update C:/wamp/www/MyProject -r HEAD --force svn: E170001: OPTIONS of '/svn/MyProject/trunk': 403 Forbidden (http://my.svn.address.fr) svn: E170001: OPTIONS of '/svn/MyProject/trunk': 403 Forbidden (http://my.svn.address.fr) I am sure of my id and password, sure that the svn server works as I have been using Tortoise svn since Netbeans subversion does not work. This is the IDE LOG (no error, obviously) INFO [org.netbeans.modules.subversion]: Finished indexing svn cache with 3 entries. Elapsed time: 515 ms. INFO [org.netbeans.libs.svnclientadapter]: Javahl client adapter is not available Failed to load JavaHL Library. These are the errors that were encountered: no libapr-1 in java.library.path no libapriconv-1 in java.library.path no libaprutil-1 in java.library.path no libsvn_subr-1 in java.library.path no libsvn_delta-1 in java.library.path no libsvn_diff-1 in java.library.path no libsvn_wc-1 in java.library.path no libsvn_fs-1 in java.library.path no libsvn_repos-1 in java.library.path no libsvn_ra-1 in java.library.path no libsvn_client-1 in java.library.path no libsvnjavahl-1 in java.library.path no svnjavahl-1 in java.library.path no svnjavahl in java.library.path java.library.path = C:\Program Files\NetBeans 8.1\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\Program Files\EasyPHP-DevServer-14.1VC9\binaries\php\php_runningversion;C:\oracle11\product\11.2.0;C:\oracle\product\10.2.0;C:\oracle\product\11.2.0;c:\iss\shared_lib;c:\iss\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\COMM;C:\NSDLL;C:\Program Files\Java\jdk1.6.0_38\bin;C:\wamp\bin\php\php5.3.13;C:\wamp\bin\php\php5.3.13\PEAR-1.9.4;C:\Program Files\Mark Lagendijk\WinLess;C:\wamp\bin\mysql\mysql5.5.24\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\bin;C:\Program Files\wkhtmltopdf;C:\ProgramData\Composer\bin;C:\oracle\product\10.2.0\client_1\BIN;C:\Program Files\Kaspersky Lab\Kaspersky Endpoint Security 10 for Windows\;C:\Program Files\nodejs\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\nodejs;C:\Program Files\Java\jdk1.8.0_60\bin;D:\Utilisateurs\Me\AppData\Roaming\npm;C:\oracle11_temp\product\11.2.0;. INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: JavaHL not available. Falling back on SvnKit. INFO [org.netbeans.modules.subversion.client.SvnClientFactory]: svnClientAdapter running on svnkit Diagnostic information Input arguments: -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade -Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense -client -Xss2m -Xms32m -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.java2d.noddraw=true -Dsun.java2d.dpiaware=true -Dsun.zip.disableMemoryMapping=true -Xmx409m -Djdk.home=C:\Program Files\Java\jdk1.8.0_60 -Dnetbeans.home=C:\Program Files\NetBeans 8.1\platform -Dnetbeans.user=D:\Utilisateurs\Me\AppData\Roaming\NetBeans\8.1 -Dnetbeans.default_userdir_root=D:\Utilisateurs\Me\AppData\Roaming\NetBeans -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=D:\Utilisateurs\Me\AppData\Roaming\NetBeans\8.1\var\log\heapdump.hprof -Dsun.awt.keepWorkingSetOnMinimize=true -Dnetbeans.dirs=C:\Program Files\NetBeans 8.1\nb;C:\Program Files\NetBeans 8.1\ergonomics;C:\Program Files\NetBeans 8.1\ide;C:\Program Files\NetBeans 8.1\extide;C:\Program Files\NetBeans 8.1\java;C:\Program Files\NetBeans 8.1\apisupport;C:\Program Files\NetBeans 8.1\webcommon;C:\Program Files\NetBeans 8.1\websvccommon;C:\Program Files\NetBeans 8.1\enterprise;C:\Program Files\NetBeans 8.1\mobility;C:\Program Files\NetBeans 8.1\profiler;C:\Program Files\NetBeans 8.1\python;C:\Program Files\NetBeans 8.1\php;C:\Program Files\NetBeans 8.1\identity;C:\Program Files\NetBeans 8.1\harness;C:\Program Files\NetBeans 8.1\cnd;C:\Program Files\NetBeans 8.1\cndext;C:\Program Files\NetBeans 8.1\dlight;C:\Program Files\NetBeans 8.1\groovy;C:\Program Files\NetBeans 8.1\extra;C:\Program Files\NetBeans 8.1\javacard;C:\Program Files\NetBeans 8.1\javafx exit Compiler: HotSpot Client Compiler Heap memory usage: initial 32,0MB maximum 396,4MB Non heap memory usage: initial 160,0kB maximum -1b
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.
... http://wiki.netbeans.org/FaqLogMessagesFile