Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: XMLRPC request error 404  (Read 3395 times)

0 Members and 1 Guest are viewing this topic.

Borja

  • Anope User
  • Offline Offline
  • Posts: 17
XMLRPC request error 404
« on: June 28, 2013, 11:39:03 AM »

I'm using the following class http://wwww.anope.org/doxy/1.9/dd/d0c/xmlrpc_8php_source.html and anope 1.9.8


I do a request with php class and this is the result:

Code: [Select]
('2', 'file_get_contents(http://localhost:7070/xmlrpc): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found ',
 array('name' => 'checkAuthentication',
 'params' => array('jes', 'pass1234'), 'xmlquery' => '<?xml version="1.0" encoding="iso-8859-1"?> <methodCall> <methodName>checkAuthentication</methodName> <params> <param> <value> <string>jes</string> </value> </param> <param> <value> <string>pass1234</string> </value> </param> </params> </methodCall> ',
'context' => resource,
'http_response_header' => array('HTTP/1.1 404 Not Found', 'Date: Fri, 28 Jun 2013 12:09:22 CEST', 'Server: Anope-1.9.8', 'Content-Type: text/xml', 'Content-Length: 18', 'Connection: Close')))

I execute my services with ./services -debug -nofork

Quote
[Jun 28 12:36:14.472593 2013] Debug: ln 153 EOL: s='module' 'name' set to 'm_httpd'
[Jun 28 12:36:14.472608 2013] Debug: ln 157 EOL: s='httpd' 'name' set to 'httpd/main'
[Jun 28 12:36:14.472640 2013] Debug: ln 160 EOL: s='httpd' 'ip' set to '0.0.0.0'
[Jun 28 12:36:14.472652 2013] Debug: ln 163 EOL: s='httpd' 'port' set to '7070'
[Jun 28 12:36:14.472662 2013] Debug: ln 166 EOL: s='httpd' 'timeout' set to '30'
[Jun 28 12:36:14.472679 2013] Debug: ln 179 EOL: s='httpd' 'extforward_header' set to 'X-Forwarded-For Forwarded-For'
[Jun 28 12:36:14.473400 2013] Debug: ln 569 EOL: s='m_xmlrpc' 'server' set to 'httpd/main'
[Jun 28 12:36:14.473459 2013] Debug: ln 593 EOL: s='webcpanel' 'server' set to 'httpd/main'
[Jun 28 12:36:17.349161 2013] Debug: trying to load [m_httpd]
[Jun 28 12:36:17.381145 2013] M_HTTPD: Created HTTP server httpd/main

and show the following code when I do the xmlrpc request:

Quote
[Jun 28 12:30:54.260572 2013] Debug: Accepted connection 14 from 127.0.0.1
[Jun 28 12:30:54.261033 2013] Debug: m_httpd: Serving page /xmlrpc to 127.0.0.1
[Jun 28 12:30:54.261628 2013] Debug: Closing connection 14 from 127.0.0.1

This is my modules.conf:

https://pastebin.anope.org/index.php?page=viewpaste&id=33ec903364

How I can fix this?

Thanks.
« Last Edit: June 28, 2013, 11:45:32 AM by Borja »
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: XMLRPC request error 404
« Reply #1 on: July 06, 2013, 08:02:04 AM »

It seems your paste expired. You do have m_xmlrpc etc loaded correct?
Logged
Pages: [1]   Go Up