jenkinsci / jenkinsci/subversion-plugin
[JENKINS-5750] SVNAuthenticationException while estimating the SVN server's timestamp
- Dominant language
- Java
- Stars
- 131
- Forks
- 275
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 6
Description
The Subversion plugin of Hudson tries to estimate the remote timestamp of the Subversion server. It uses the root URL of the Subversion Repository, which fails if the Subversion Repository has a special security configuration that denies access to the root of the Subversion repository.
Example:
https://server/svn --> Hudson has no access
https://server/svn/project --> Hudson has access
The project's subversion location is https://server/svn/project, but Hudson tries to estimate the remote timestamp with the URL https://server/svn.
This exception is logged:
hudson.subversion.SubversionSCM: Failed to estimate the remote timestamp
org.tmatesoft.svn.core.SVNAuthenticationException: svn: PROPFIND of '/svn': 403 Forbidden
Possible solutions to the problem:
- Use the full URL to estimate the remote timestamp
- Catch the SVNAuthenticationException and try again with the full URL
---
Originally reported by mka2, imported from: SVNAuthenticationException while estimating the SVN server's timestamp
Raw content of original issue
The Subversion plugin of Hudson tries to estimate the remote timestamp of the Subversion server. It uses the root URL of the Subversion Repository, which fails if the Subversion Repository has a special security configuration that denies access to the root of the Subversion repository.
Example:
https://server/svn --> Hudson has no access
https://server/svn/project --> Hudson has accessThe project's subversion location is https://server/svn/project, but Hudson tries to estimate the remote timestamp with the URL https://server/svn.
This exception is logged:
hudson.subversion.SubversionSCM: Failed to estimate the remote timestamp
org.tmatesoft.svn.core.SVNAuthenticationException: svn: PROPFIND of '/svn': 403 ForbiddenPossible solutions to the problem:
- Use the full URL to estimate the remote timestamp
- Catch the SVNAuthenticationException and try again with the full URL
Contributor guide
Assessment
This issue has not been assessed yet.