Support

UNiTE, Remote CLI, eXtract Wizard

#3537 Host not found

Posted in ‘UNiTE and Remote CLI’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by dlb on Monday, 31 August 2009 05:10 CDT

user2773
Hello,

When connecting to a site i get this error:

XML-RPC layer error:Socket Error # 11001

Host not found


This is my log:

[30-08 15:01:46] --------------------------------------------------------------------------------
[30-08 15:01:46] JoomlaPack Remote is starting a new backup
[30-08 15:01:46] Creating new backup thread
[30-08 15:01:46] Initializing XML-RPC Connector from site definition
[30-08 15:01:46] Host / Port :http://www.mywebsite.com/xmlrpc/index.php / 80
[30-08 15:01:46] Using profile #1
[30-08 15:01:46] Running backup thread
[30-08 15:01:46] Initializing remote backup
[30-08 15:01:46] POST:    joomlapack.startBackup      ****      ****      1      
[30-08 15:01:49] Backup error: XML-RPC layer error:Socket Error # 11001
Host not found.


- Plugin is enabled (public)
- Web services to "yes"

I think my server causes the error because 2 other sites (on other servers) just work fine!

How can this be solved?

Thanks in advance!

dlb
Everything that I know about troubleshooting Remote I could write on the back of a postage stamp. :( But I am starting to gather some tools in my toolbox, so let's do some exploring:
Try directly visiting the XML-RPC server URL for this site, which is something like: www.example.com/index.php?option=com_joomlapack&act=xmlrpc&no_html=1



What do you get? If you get an "Access Denied" then you need to enable the front-end backup feature and use a non-empty secret word. If you get PHP notices or warnings, you need to set Error Reporting to None from Joomla!'s Global Configuration.

You can use the on-line XML-RPC debugger to see for yourself what's going on. In the address enter your site's domain, e.g. www.example.com (WITHOUT the http://). In the port field, enter 80. In the path, enter the path to Joomla!'s XML-RPC server, normally /xmlrpc/index.php.



When you click on Execute (second row, far right on the page) you should get a "List of available methods on server" on the bottom half of the page. If there is no method starting with "joomlapack.", your plug-in is either not installed or not enabled, as the application tells you.



Do note that sometimes you have to omit www. Try our site to understand what I mean. If you enter www.joomlapack.net, it can't list the web services methods. If you enter joomlapack.net, it can. It has to do with .htaccess setup. Also make sure that your .htaccess doesn't disable access to the XML-RPC directory.



If you see methods, but not JoomlaPack's ones, you ought to have read the manual, as it tells that you have to install plg_jpremote, enable Joomla!'s Web Services AND go to Extensions -> Plug-ins and enable (publish) the JoomlaPack Remoting XML-RPC API plugin. If you do that, the JoomlaPack methods will show up in the debugger and you should be able to use JoomlaPack Remote without a problem.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

user2773
dlb wrote:
You can use the on-line XML-RPC debugger to see for yourself what's going on. In the address enter your site's domain, e.g. www.example.com (WITHOUT the http://).


There is the problem. I typed http://. Problem solved! Thank you very much.

dlb
I'm glad you got it working. :D


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!