AJAX HTTP2 error
-
Good morning!
I’ve just installed the latest Loco Translate plugin and started following my theme’s (sapa) instructions to setup multilingual site. I faced a strange error that some ajax request are not delivered correctly. In admin panel I see an error “Blank response from server”. I did an investigation and spotted in devtools that request toadmin-ajax.php
fails due tonet::ERR_HTTP2_PROTOCOL_ERROR
. It looks like obvious server configuration issue, but other request to the same endpoint works fine, like of typeaction: heartbeat
.
I’ve triggered two ajax actions related to loco translate, and both failed:# Action 1 payload
path: themes/sapa/languages/sapa.pot
auth: update
action: loco_json
route: fsConnect
loco-nonce: a80b865b95
# Action 2 payload (clicked "sync" button in loco's theme view"
interval: 120
_nonce: c8dde9d457
action: heartbeat
screen_id: loco-translate_page_loco-theme
has_focus: falseI hasn’t been able to attach an image here, so there is an external link to screenshot from my admin panel: https://i.imgur.com/wzc3euT.png
What is interesting, sometimes in devtools, I can see some data inresponse
tab, but nothing inpreview
tab. That suggest that php sends some data, but it’s rejected because some HTTP headers discrepancy or something. I enabled debuging mode in wordpres (WP_DEBUG), but didn’t find any new, useful information.
My plugin version is2.7.1
. I am using the latest chrome (the same behavior on Edge browser), the webpage is hosted on OVH shared hosting, so I believe that server settings should be fine, as I can’t change them anyway. Please let me know if this is a known bug or an issue on my side. That error prevent me from using the plugin, because the admin panel is totally broken.
Sorry for reporting an HTTP error. I read in docs that You don’t provide support for that kind of issues, but I believe it might be related to some bug rather configuration. I believe it might be useful to pay Your attention to this.
Kind regards!
Grzegorz
- You must be logged in to reply to this topic.