Modify

Opened 7 years ago

Last modified 5 years ago

#1362 reopened defect

eclipsetracplugin does'nt work

Reported by: eltyos@… Owned by: merlimat
Priority: normal Component: EclipseTracPlugin
Severity: normal Keywords:
Cc: jouvin@… Trac Release: 0.10

Description

Hello. When I try to add a trac server with the url : "http://localhost", it say "Connection with server failed". I don't understand why... I put the same url in the mylar plugin and it works... Thanks.

Attachments (0)

Change History (13)

comment:1 Changed 7 years ago by merlimat

  • Status changed from new to assigned

uhm.. did you installed the Trac plugin counterpart (TracRpcExt)? If so, if you look at the XML/RPC page: http://localhost/xmlrpc can you see listed the WikiExt section?

And sure, I will try to add more informative error messages..

comment:2 Changed 7 years ago by eltyos@…

I only have installed the Eclipsetracplugin with eclipse and this url : http://trac-hacks.org/svn/eclipsetracplugin/eclipse/update/ . Now I need to install TracRpcExt ? Is it a trac plugin ? Thanks

comment:3 Changed 7 years ago by anonymous

Hi! I've installed XmlRpcPlugin and TracRpcExt on my Server. I can see WikiRPC in WebAdmin and have it enabled. but still "Connection ... failed"
On http://server/trac/repo/xmlrpc i got 'oops' and a Traceback:

Traceback (most recent call last): 
File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, 
   in dispatch_request dispatcher.dispatch(req) 
File "/var/lib/python-support/python2.4/trac/web/main.py", line 237, 
   in dispatch resp = chosen_handler.process_request(req) 
File "build/bdist.linux-i686/egg/tracrpc/xml_rpc.py", line 34, 
   in process_request 
TypeError: int() argument must be a string or a number

thx

comment:4 Changed 7 years ago by jouvin@…

  • Cc jouvin@… added

I am experiencing the same problem. I just installed everything, see the plugins enabled in WikiAdmin, see the request in Apache logs but still getting the message 'Connection wi server failed'.

Messages in Apache logs are :

192.76.172.162 - - [27/Apr/2007:15:22:19 +0200] "POST /LCGQWG/login/xmlrpc HTTP/1.0" 302 384
192.76.172.162 - - [27/Apr/2007:15:22:19 +0200] "POST /LCGQWG/login/xmlrpc HTTP/1.0" 302 384

BTW, there is not much documentation and I don't know what is expected as 'Server Name' (a descriptive name ?), 'Server URL'... Our Trac server is configured for multiple projects with FCGI. In the URL, project name (here LCGQWG) is at the top level.

There is nothing in Trac log itself.

comment:5 Changed 7 years ago by andy@…

Hello there.

I have the same problem ... I installed both plugins and enabled both of them.
But when adding a server, the wizard tells me "connection with server failed".

Looking into the Apache-Log, there is the right request, too.

comment:6 Changed 7 years ago by merlimat

I suspect this is a problem with XmlRpcPlugin, which version are you using? Current 0.10 branch of the plugin works fine on Trac 0.10.3 and 0.10.4.

Also, please enable logging on disk and check content of "logs/trac.log" file which is usually pretty informative.

comment:7 Changed 7 years ago by jouvin@…

I just checked. I also run the last version from 0.10 branch. I had the the debug level set to WARNING, I set it to DEBUG but there is nothing in Trac project log file.

We are using https to access the Trac server, could it be the problem ?

Michel

PS : is 'Server name' just informative or is it required to have a specific format.

comment:8 Changed 7 years ago by jouvin@…

I just solved my problems with Eclipse plugin. I did it after upgrading to Eclipse 3.3 and last version of the plugin but I suspect the main reason for my problems was that permission XML_RPC was missing for anonymous. I have not seen this documented, it oculd be nice to put it on plugin web page.

comment:9 Changed 6 years ago by anonymous

I'm experiencing the same problems here.

I'm using trac 0.10.3
with
TracAccountManager 0.1.3dev-r2548
TracXMLRPC 0.1
TracExtendedXmlRpc 0.1
and
TracHTTPAuth 1.1

The Project is hosted under https.
I looked in the trac.log:

2008-03-17 17:28:09,799 Trac[init] INFO: Check for sync [239] vs. cached [239]
2008-03-17 17:28:09,800 Trac[init] INFO: HTTPAuthFilter: No/bad authentication data given, returing 403

multiple times.

comment:10 Changed 6 years ago by anonymous

i am running 0.10.4 and eclipstracplugin on https fine here.

comment:11 Changed 6 years ago by lkraav

  • Resolution set to fixed
  • Status changed from assigned to closed

anonymous was me, perhaps i can help

comment:12 Changed 6 years ago by lkraav

  • Resolution fixed deleted
  • Status changed from closed to reopened

what, that was an accidental close!

comment:13 Changed 5 years ago by delta@…

I'm getting "Connection with server failed" and apache error log says: "Digest: client used wrong authentication scheme `Basic': /trac/login/xmlrpc". Is diggest supported?

-- Eki

Add Comment

Modify Ticket

Action
as reopened .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.