Support

UNiTE, Remote CLI, eXtract Wizard

#3652 Akeeba Remote Control 2.5 - 403 error when trying to connect to site

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 Friday, 09 July 2010 02:05 CDT

user7828
I established Akeeba Remote Control 2.5 for several my web-sites. At one site I got the problem:

Checking connection to your site - Could not connect to the site. The error was: HTTP/1.1 404 Forbidden

What can cause it?
Thanks.

dlb
Please double check that the correct plugin is installed and enabled (there are separate plugins for Akeeba and Joomlapack). Also that the web services are turned on in the Joomla! Global Configuration screen.


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)

user7828
I've checkd seven times before and one time right now. Plugin is enables, Web-services on., Akeebabackup 3.0, Joomla 1.5.18

Plugin for Akeeba, not for Joomla

dlb
When you are editing the site setup, can you connect to the site to retrieve the profile list? Does your back end backup work? Right click your site in Remote's site list and select "View log". If there is anything there, please save it to a text files and post it.


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)

user7828
Backend backup works.

As far as I can judge, the problem is because it cannot reach xml-rpc/index.php.

In remote I try to add my site using wizard. The very first window gives me the error - I enter site name, URL (with http://), joomla backend login and pass. Press next and get the error. It's the first check the wizard does, and it fails.

I don't have any log, because I can't pass the first wizard step.


P.S. I'm at Linux and run Remote Control under wine. It's another question, but very often downloading after backing up hangs - no error message, just stops and hangs. :-(

dlb
I'm not making out very well on this one. :( A couple more questions: [ul][li]Do you have the port right, it is normally 80.[/li][li]Are you using HTTPS? That requires that you get the certificate and approve it.[/li][/ul]


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)

user7828
Hi.
I use port 80.
I use HTTP, not HTTPs

dlb
OK, time for me to holler for Nicholas!


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)

nicholas
Akeeba Staff
Manager
The 404 is coming from the server. First try accessing Joomla!'s XML-RPC URL from a browser, like http://www.yoursite.com/xmlrpc/index.php. If it throws a "XML error: no element found at line 1, column 0" you're good. If it throws a 404, make sure that the xmlrpc directory exists and that it's not blocked/redirected by .htaccess rules.

If there is no 404 error, start configuring the site from scratch, using the wizard, and use the full http://www.yoursite.com/xmlrpc/index.php URL instead of http://www.yoursite.com. This should get you past this problem.

Regarding the download, I know that that networking library is not very stable. I am rewriting the Remote Control application from scratch, but it will take a long while to release a beta.

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!

user7828
Hi, Nicholas.

I checked - there is no 404 error by direct link
http://aetfacilities.com/xmlrpc/index.php

I tried to enter full link
http://aetfacilities.com/xmlrpc/index.php
I get the same error in Remote control.. Note, not 404, but 403.

I can send you full access data, if you have time to have a look.

P.S. The application is not stable under wine in general. Sometimes it becomes unreachable, so I have to kill process. I hope there will be a linux native version some day :-)
The small box in the center is the unresponsible Remote Control window. The small box in the center is the unresponsible Remote Control window.

P.S.S. Akeeba extract for linux seems to be much slower that for windows. It's not critical, surely. Just to inform you.

nicholas
Akeeba Staff
Manager
The 403 usually means that we couldn't log you in. Please try enabling the front-end backup from the Parameters icon in the top-right corner of the component's control panel and assign a secret word as well. Use only alphanumeric characters (a-z, A-Z and 0-9). Then, when configuring the site, enter the secret word instead of your regular password. This is a workaround and should be able to log you in. If this doesn't work double check that you have the correct plugin (there is one plg_remote for JoomlaPack and one for Akeeba Backup) and that you have published it.

Akeeba eXtract for Linux is exactly the same thing as the one for Windows and Mac OS X. It's the same Javascript + PHP code on all platforms. According to our tests it's actually faster than the Windows version, because of the advanced file caching of the Linux kernel.

You are running Akeeba Remote Control under KDE. KDE doesn't work very well with WINE. It renders the tray icons in 0-sized windows. The application is technically reachable, as long as you right-click on the taskbar and choose to resize the window. GNOME works much better with WINE and doesn't make the window disappear :)

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!

user7828
The 403 usually means that we couldn't log you in. Please try enabling the front-end backup from the Parameters icon in the top-right corner of the component's control panel and assign a secret word as well. Use only alphanumeric characters (a-z, A-Z and 0-9). Then, when configuring the site, enter the secret word instead of your regular password. This is a workaround and should be able to log you in. If this doesn't work double check that you have the correct plugin (there is one plg_remote for JoomlaPack and one for Akeeba Backup) and that you have published it.



Checked many times, unistalled and installed again. Tried to use the password you mentioned - still doesn't pass the stage of connection with my web-site. 403 error.



You are running Akeeba Remote Control under KDE. KDE doesn't work very well with WINE. It renders the tray icons in 0-sized windows. The application is technically reachable, as long as you right-click on the taskbar and choose to resize the window. GNOME works much better with WINE and doesn't make the window disappear :)



Did as you said. Look at the image with results. The window is in it's size, but still unresponsible. This happens often.

nicholas
Akeeba Staff
Manager
Can you PM me the URL to your site and the secret key so that I can run it through my XML-RPC debugger? There used to be an on-line version of the debugger, but - unfortunately - it no longer exists :(

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!

nicholas
Akeeba Staff
Manager
OK, I checked again and again, using my debugger. If I try accessing the URL directly, Joomla!'s XML-RPC server responds properly. As soon as I try to send any XML data, a 403 (Forbidden) error occurs. This leads me to believe that there is a server-side protection which blocks XML data, therefore also blocks XML-RPC requests. This either happens in the .htaccess level, using mod_rewrite commands to disallow XML data from hitting the server, in the hosting definition level again using mod_rewrite commands, or at the server level (e.g. mod_security or mod_evasive set up to block XML data). I think you should have a talk with your host, telling them that all XML-RPC requests to yourdomain.com/xmlrpc/index.php return a 403 error because they're blocking XML data.

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!

user7828
Thanks a lot!
I'll get in touch with their support.

I have another issue, but it seems just to inform you. Very oftern backups are downloaded, but Remote Control says "FTP transport error" or something like this.

In general, Remote Control for me doesn't work ok, because it doesn't work like "click and forget". :-( But it's a great tool, really great.

nicholas
Akeeba Staff
Manager
I know, the networking library is not really stable and occasionally throws these errors :( That's why I am rewriting it.

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!