XML-RPC access to trac-hacks.org disabled (forbidden access)

Description

Hi there,
Not sure this is the right place to post this. when I'm trying to use the XML-RPC plugin via my Java client (and the example library provided), I'm always getting this exception:

java.lang.reflect.UndeclaredThrowableException
at $Proxy0.query(Unknown Source)
at com.xqual.xstudio.sql.external_bugtracking.trac_0_11_x.CStudioXmlRpcTrac_0_11_x_Engine.<init>(CStudioXmlRpcTrac_0_11_x_Engine.java:70)
at com.xqual.xstudio.sql.external_bugtracking.trac_0_11_x.CStudioXmlRpcTrac_0_11_x_Engine.main(CStudioXmlRpcTrac_0_11_x_Engine.java:313)
Caused by: org.apache.xmlrpc.client.XmlRpcHttpTransportException: HTTP server returned unexpected status: Forbidden
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.getInputStream(XmlRpcSunHttpTransport.java:94)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:152)
at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)

Change History (4)

Yes, it should. But it won't as you and everyone else don't actually have permission to use XML-RPC at trac-hacks.org anymore. Try login/xmlrpc using your credentials to verify that.

This Trac is currently running old 0.10.x, and the XmlRpcPlugin code from that era does not play nicely with things like spam filter and so on. As an endless stream of test & spam tickets and wiki edits arrived, we saw no other good solution than to disable RPC access. It will return once the site gets updated to Trac 0.11.x or later, and using the latest XmlRpcPlugin version.

Add Comment

This ticket has been modified since you started editing. You should review the
other modifications which have been appended above,
and any conflicts shown in the preview below.
You can nevertheless proceed and submit your changes if you wish so.