Archived topic
400 error while importing from Site Library
3 replies · Started by Kamil on September 24, 2020
Hi,
I have an issue with importing from the Site Library. While "Importing site options" I get the 400 Bad Request.
I've enabled debugging - nothing in the logs. Nothing shows up in the error log as well.
It's a vanilla multi-site installation. The only plugin enabled is the GP Premium. There's no caching neither in front of the server nor on the server.
On the console I only see the following:
load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4 POST https://t.mniam.net/wp-admin/admin-ajax.php 400 (Bad Request)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
(anonymous) @ admin.js?ver=1.12.0-rc.1:646
setTimeout (async)
import_site_options @ admin.js?ver=1.12.0-rc.1:645
success @ admin.js?ver=1.12.0-rc.1:622
i @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:2
fireWith @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:2
x @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
c @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
XMLHttpRequest.send (async)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
import_content @ admin.js?ver=1.12.0-rc.1:612
success @ admin.js?ver=1.12.0-rc.1:593
i @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:2
fireWith @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:2
x @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
c @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
XMLHttpRequest.send (async)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
download_content @ admin.js?ver=1.12.0-rc.1:583
success @ admin.js?ver=1.12.0-rc.1:564
i @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:2
fireWith @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:2
x @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
c @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
XMLHttpRequest.send (async)
send @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
ajax @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:4
(anonymous) @ admin.js?ver=1.12.0-rc.1:555
setTimeout (async)
activate_plugins @ admin.js?ver=1.12.0-rc.1:554
(anonymous) @ admin.js?ver=1.12.0-rc.1:538
each @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:2
(anonymous) @ admin.js?ver=1.12.0-rc.1:480
dispatch @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:3
r.handle @ load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.1:3
How can I debug this further? I guess something must be wrong on the server itself.
Please help :)
Thanks!
Kamil
Hi there,
reference this topic:
https://docs.generatepress.com/article/error-codes-importing/#400-error
Which host are you on ?
I'm using my own server running OpenBSD with OpenBSD httpd. I'm not using EasyEngine. I know that the communication to gpsites.co works (I've seen the packets flowing).
Aaaaand I just found the problem, I think. Redis cache enabled on other site interfered with current site. Which is weird because they work in different networks. I guess multisite has its own quirks.
Sorry for the noise!
No problems - glad you found the issue !