Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Invalid AJAX response

Started by Barnabas Nagy 7 years ago · 4 replies · 3087 views
7 years ago

Can't upgrade my new install of a grav skeleton because of "Invalid AJAX response." also this pops up then: "Error while trying to download (code: 0): https://getgrav.org/download/core/grav-update/1.6.3 Message: URL using bad/illegal format or missing URL"
Same with theme installs.
What am I doing wrong?
I'm on Hostens shared hosting.

6 years ago

This error appears on shared hosting when an IP connection (to grav, github, or amazonAWS..) is blocked. There may be an option in your host's control panel to unblock all or selected IPs.

6 years ago

Setting the Remote Fetch Method to fopen fixed this in my case:

Bildschirmfoto_2020-03-20_um_21_21_24|690x326

👍 1
5 years ago

I was receiving this "Invalid AJAX response" issue along with some SSL certification authentication ones (whose messages I unfortunately cannot reproduce). I tried the Remote Fetch Method tweak above with no luck, but, given the SSL issues, I tried setting the Remote Verify Peer (SSL) option to No which worked and allowed me to update to the latest version of Grav.

I actually went back and set it to the default of Yes and the error message never came back. Seems like a bug maybe was introduced to the server new Grav updates resides on that older versions don't like.

Anyway, I hope this tip might help someone out there. Would like hear from someone from the Grav team perhaps help us understand the issue.

image|690x417, 50%

last edited 10/03/21 by Ryan Boyd

Suggested topics

Topic Participants Replies Views Activity
Support · by BenLaKnet, 6 days ago
1 128 3 days ago
Support · by BenLaKnet, 1 week ago
5 199 3 days ago
Support · by kskt, 3 days ago
0 56 3 days ago
Support · by David Meissner, 3 days ago
0 53 3 days ago
Support · by David Meissner, 4 days ago
3 97 3 days ago