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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Invalid AJAX response

Started by Barnabas Nagy 7 years ago · 4 replies · 2933 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 Thomas, 1 week ago
2 53 9 hours ago
Support · by Anna, 3 days ago
2 59 12 hours ago
Support · by Justin Young, 13 hours ago
1 30 13 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago