Support

UNiTE, Remote CLI, eXtract Wizard

#3591 JoomlaPack Remote Configuration

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 nicholas on Tuesday, 02 February 2010 02:00 CST

user8145
Good afternoon everybody,

How are you today.

I need some help to configure "JoomlaPack Remote". I try to find information, I try many thing, but finally nothing work.

I have this error when I want to add my website :

[quote]Couldn't connect to the XML-RPC Server. Please check that Web Services are turn on in your Site's Global Configuration.[quote]

First of all I turn on web services but nothing change.
Then I install the plugin, I turn it on but nothing change.

I think I know what is the problem but I don't know how to resovle it. My idea is that in the exemple we ask me to give my URL like that "http://www.mysite.com/joomla"
but in my case it doesn't work and I have to write
"http://151.xx.xx.xxx/" to success the connection with my website. But if I put "http://151.xx.xx.xxx/joomla/" it is not working. It can be my problem ?

Thank you very much for all and sorry for my poor english.

dlb
Remote can be confusing because the wizard mode needs different information than the expert mode. When editing the site settings, the "URL to XML-RPC host" field should look like: "151.xx.xx.xxx/joomla/xmlrpc/index.php". You can test that you have it set right with the "Get profiles" button. If it is right, you can retrieve the profiles from your website.


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)

user8145
It don't work, I can't get the profiles from my website.

I have XML_RPC layer error: Socket error 10061

Connection Refused


Joomla is not in the root of the server that can be problem ? (.../var/www/joomla/...). I also have GMA connected with my website.

dlb
There is an online diagnostic site for XML-RPC connections that can help you test your setup. These are the notes that Nicholas posted about the site.
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)

user8145
That doesn't work because it's an offline website. It's an intranet website. Maybe the problem is here no ? :oops:

nicholas
Akeeba Staff
Manager
The "connection refused" means that your server won't allow Remote to connect to it. You have to ask your server administrator to enable it. Or, if it's an HTTPS-only site, you have to explicitly set it up like that, i.e. use the https prefix instead of http in the wizard.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user8145
Thank you very much for your answer and for your help :
My server administrator tell me that there are not any protection on it.
And it's not an HTTPS site.
Any other idea ?

nicholas
Akeeba Staff
Manager
Still, the "connection refused" means that you can't access the server through TCP/IP (the underlying protocol to most Internet communication). If you have set up a proxy server on your computer (usually, through Internet Explorer settings), you must also set up JoomlaPack Remote with the same parameters, as it is unaware of the system proxy settings. If you have a firewall, internet security, antispam, antivirus or similar application, you must make sure that Remote's traffic can get through.

Finally, in order to make sure that your server replies at all, you can visit its XML-RPC URL which is something like http://192.168.1.1/joomlasite/xmlrpc/index.php. Of course you have to replace the IP and joomlasite path with your real IP and path (if there's one). It should reply with a cryptic XML document containing the strings "faultCode", "103", "faultString", "XML error: no element found at line 1, column 0". If you see this, it is good! Such an error means that your Joomla! XML-RPC service is activated and it complains that we sent it a malformed request, which is exactly what we did. If you don't see this message, you can't connect to your server or the XML-RPC service (web services) is not published.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!