Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339496 - improve detection of repository url when validating
Summary: improve detection of repository url when validating
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 06:29 EST by Szõts Ákos CLA
Modified: 2011-05-09 12:47 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szõts Ákos CLA 2011-03-10 06:29:22 EST
Build Identifier: 20110301-1815

When I add a Trac repository, it always returns with HTTP error 404, with this message: No Trac repository found at url: HTTP Error 404

It took me some time to debug with Wireshark that Mylyn is always appending string "login/xmlrpc" to the end of the server URL. 

But if you visit this Trac XML-RPC address within your browser you got the following instruction: 
"Use http://xxxx.com/project/login/xmlrpc with basic authentication for user context."

Following this causes the error appear.

Please, check the end of the Server URL address field whether it already contains /login/xmlrpc and don't append that again.

Reproducible: Always

Steps to Reproduce:
1. Create a new Trac based repository within Mylyn
Comment 1 Steffen Pingel CLA 2011-03-10 06:40:23 EST
If I understand correctly the URL entered for the repository contained /login/xmlrpc? Were you able to access the repository when you removed that portion from the URL?
Comment 2 Szõts Ákos CLA 2011-03-10 06:46:36 EST
Yes, you're right.
First, I entered the URL that already had contained the /login/xmlrpc part, and after I removed it, I could successfully authenticate (without any HTTP 404).
Comment 3 Steffen Pingel CLA 2011-04-03 20:17:34 EDT
Thanks for clarifying. I agree that we could do a better job in detecting the proper URL. I have put this on the backlog and hopefully we'll be able to make some improvements on this in an upcoming release.
Comment 4 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn