Support

UNiTE, Remote CLI, eXtract Wizard

#3720 Ajax get failed

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, 28 January 2011 07:21 CST

user26179
Hi just trying to set up Remote Control and I'm getting following error: Ajax get failed

I tried to save the error log but it won't let me either save it or copy the text so retyped below.

Remote API Call Error
HTTP Status: 406()
Internal Status: error
XHR ReadyState: 4

Not Acceptable

An appropriate representation of the requested resource /index.php could not be found on this server.

Any help appreciated.

nicholas
Akeeba Staff
Manager
This error comes from your server and usually indicates that the server's overflow protection kicked in, i.e. the backup took a lot of resources on the server and the server decided to kill the process. Can you take a backup from your site's administrator section?

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!

user26179
Hi thanks for swift reply.

Yes can take backup manually and through the lazy plugin.

Best regards

Martin

nicholas
Akeeba Staff
Manager
Sorry, your server is not compatible with Akeeba Remote Control. Most likely your host is using the antiquated Apache 1.3 which doesn't understand the request sent by Remote Control, or your host is aggresively filtering incoming traffic. Not much I can do :(

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!

user28686
Hi again and thank's for quick reply.
I don't think this is the problem because i administrate some other sites on the same Host and some site on the same server as mine site and every other sites work perfectly together with Akeeba.

Regards
Janne

user26179
I also don't think so:
Apache version 2.2.17
PHP version 5.2.16
MySQL version 5.0.91-community

Any other ideas?

Best regards

Martin

nicholas
Akeeba Staff
Manager
The 406 HTTP response means that the server didn't understand or didn't like the "Accept" HTTP headers. You don't have to believe me, you can look here. ARC is built on top of the Appcelerator Titanium runtime. The Titanium runtime implements a WebKit browser which is equivalent to Safari and Chrome in both capabilities and functionality. ARC itself is written in Javascript and uses jQuery to communicate with your server. It's pretty much the same code used in Akeeba Backup's back-end to run the backup.

As you can see, the only difference between a back-end and an ARC backup is the web client used. In ARC it's a WebKit browser. It sends a regular HTTP Accept header over an HTTP/1.1 request. Your server replies with an HTTP 406 status. It didn't like the request. The only time I have seen this behaviour is on Apache 1.3 servers. Maybe you can ask your host about it.

See, you may have 100 sites on a host, 99 working and one not. This is because hosts never have just one server machine. They have multiple. Each site may be hosted on a different machine. Each machine may have a slightly different setup. If unsure, don't think; ask your host. That's why you're paying them, right? ;)

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
Still, I think you should ask your host why their server returns a 406 header. Maybe they have configured mod_security to kick out some requests. Their server logs will tell them what happened.

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!

user26179
Thanks Nicholas. Didn't mean to imply I didn't believe your explanation just that my apache version was not 1.3 :)

I am asking host support for explanation of 406 header and trying another site on another server.

Thanks for help.

Best regards

Martin

user26179
Working fine on other site on other server so I'm asking host to resolve for me. I'll keep you upated in case it helps anyone else with a similar problem.

nicholas
Akeeba Staff
Manager
Thank you! Please let me know of your host's response.

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!

user28686
Hi again, my Host tells me that they use Apache 2.2.
I uninstalled Akeeba 3.1.5 and installed Akeeba 3.0.a1 and this version works.
As i told you earlier i administrate a couple of other sites on the same host and there are no such problems with Akeeba 3.1.5.

Kind Regards
Janne

nicholas
Akeeba Staff
Manager
Janne,

Did you try using 3.2.b4? I am going to release 3.2 stable (based on 3.2.b4 with just a few minor bug fixes) over the weekend. I'd appreciate if you could let me know if that version works on your site.

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!

user28686
Yes, i have tried 3.2.b4 too but with the same result.
Of course i will try out 3.2 stable and let you know how it went out.

Regards
Janne

nicholas
Akeeba Staff
Manager
3.2 stable won't magically fix this problem. Can you give me access to the affected site so that I can figure out what's going on and try to work around it? Otherwise you will never see this issue fixed, I can guarantee that: I only fix whichever problem I can reproduce and track down :)

Please send me the URL and Super Administrator login details to your site by means of a direct Personal Message. I am user "nicholas". This will allow me to debug this issue directly on your server.

VERY IMPORTANT: Please include a link back to this post, otherwise it's impossible for me to know why you're sending me the PM.

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!