Bug 193762 - Couldn't connect to trac-server
Summary: Couldn't connect to trac-server
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 2.0 M2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2007-06-21 11:43 EDT by Dirk Blankenberg CLA
Modified: 2007-07-17 18:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Blankenberg CLA 2007-06-21 11:43:39 EDT
Build ID: M20070212-1330

Steps To Reproduce:
1. create a new task repository
2. select Trac repository
3. Try to validate settings
4. get a 'No Trac repository found at url: HTTP Error 503


More information:
trac:
  version: 0.10.4
  stand alone server (tracd)

plugin:
  version: 2.0.0.v20070514-1800

trac_xmlrpc:
  revision: 1950

I tried to debug it myself and its seems to be a failed dependency to httpclient and xmlrpc/xmlrcp-common.
Comment 1 Steffen Pingel CLA 2007-06-21 12:34:23 EDT
The error code 503 indicates an error on the server side. Could you try to enter the xmlrpc URL in a web browser and check what comes up (e.g http://localhost/trac/xmlrpc or http://localhost/trac/login/xmlrpc if authentication is enabled). You could also enable debug mode in your trac.ini file to check if the TracXmlRpcPlugin is properly installed on the repository side.
Comment 2 Dirk Blankenberg CLA 2007-06-22 02:55:04 EDT
I tested the server with the little python script which is publish on the trac-xmlrpc homepage (http://trac-hacks.org/wiki/XmlRpcPlugin#End-UserUsage)
and got the expected response. 
The log file of trac also doesn't show any connection of the repository wizard, if i try to validate the settings. As i saw in the sources, the validate function try to connect both, web and xmlrpc, so its shouldn't be an server-side error.

As i said, i have taken the source, made an eclipse project and got compile failures because failed dependencies.
Comment 3 Steffen Pingel CLA 2007-06-27 00:38:29 EDT
Which url did you use for the repository? The url should point to the base location of the repository. You could also try our test repository at http://mylyn.eclipse.org/tractest to verify that your Mylyn setup is complete.

 (In reply to comment #2)
> As i said, i have taken the source, made an eclipse project and got compile
> failures because failed dependencies.

How did you obtain the sources? There have been many refactorings of plug-ins due to the recent rename of the project. The HttpClient and XML-RPC libraries are part of the org.eclipse.mylyn.web.core plug-in.
Comment 4 Dirk Blankenberg CLA 2007-06-27 03:14:52 EDT
While i checked your test repository, i had no problems to validate the settings and could connect to it. So i will verify my server settings once again and report my results later.

Btw, the sources i'd taken from this URL:
http://www.eclipse.org/downloads/download.php?
file=/technology/mylar/update-site/mylar-src-2.0M3-e3.2.zip&r=1

Comment 5 Steffen Pingel CLA 2007-07-12 18:27:46 EDT
Dirk, is this bug still valid?

The problem you experienced is probably related to nested jars in the distribution. Bug 130240 comment 27 and following describe it in more detail for the XPlanner connector.
Comment 6 Steffen Pingel CLA 2007-07-17 18:37:43 EDT
Closing for now. Dirk, please reopen if the problem persists.