Assertion failed of svn_uri_is_ancestor

193 views
Skip to first unread message

Manho Seetoo

unread,
Jun 2, 2022, 4:00:46 AM6/2/22
to TortoiseSVN
Hello, 

I'm new to use the TortoiseSVN. I have deployed my SVN server on the remote machine by docker and I can access the file folder from the browser corectly (like https://svn.hkcrc.site/xxxx).
I met the error when I try to connect to the SVN server and  I am confused by the error: assertion failed(svn_uri_is_ancestor(pathrev->repos_root_url,url)). Is there any one know what's error meaning and how to solve it?
121fa68f96e7049935846a1b9f43f80.png

Thank you.

Stefan

unread,
Jun 2, 2022, 11:24:18 AM6/2/22
to TortoiseSVN
the assertion means that the url you're trying to use does not point to a real svn url.
I can't be sure here, but it seems you're accessing the part just above a repository, maybe try https://svn.hkcrc.site/xxx/repo

Message has been deleted

Manho Seetoo

unread,
Jun 6, 2022, 2:08:54 AM6/6/22
to TortoiseSVN
Thank you for your suggestion. I've try  url like https://svn.hkcrc.site/xxx/repo (in my case the xxx is specific repository) and that is still not work. If I enter https://svn.hkcrc.site/xxxx the browser can already find the right folder.

I use nginx to proxy the https request to server, do you have any idea or experience that can help me on this issue? Thanks again!

Daniel Sahlberg

unread,
Jun 6, 2022, 3:58:40 AM6/6/22
to TortoiseSVN
måndag 6 juni 2022 kl. 08:08:54 UTC+2 skrev manho....@gmail.com:
Thank you for your suggestion. I've try  url like https://svn.hkcrc.site/xxx/repo (in my case the xxx is specific repository) and that is still not work. If I enter https://svn.hkcrc.site/xxxx the browser can already find the right folder.

I use nginx to proxy the https request to server, do you have any idea or experience that can help me on this issue? Thanks again!

I recently configured IIS as a proxy in front of Apache Subversion and the only issue I had was with svn copy, requiring to set a specific HTTP header. Details can be found in the following message in us...@subversion.apache.org (it also contains a link on how to setup Apache http as a proxy): https://lists.apache.org/thread/j2c0kp4rmsw4rf9y4hw2zntxvd0hy051

/Daniel

Manho Seetoo

unread,
Jun 10, 2022, 1:24:35 AM6/10/22
to TortoiseSVN
Thank you. I'll try that with nginx!
Reply all
Reply to author
Forward
0 new messages