jenkinsci / jenkinsci/subversion-plugin

[JENKINS-5750] SVNAuthenticationException while estimating the SVN server's timestamp

Open
#665 5 comments 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:major resolution:unresolved
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


  • status: Open
  • priority: Major
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 9
  • watchers: 11
  • imported: 20251212-090250

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 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


Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.