[wp-trac] [WordPress Trac] #37946: Media Uploads Hang using Chrome and HTTP/2
WordPress Trac
noreply at wordpress.org
Wed Sep 7 05:14:48 UTC 2016
#37946: Media Uploads Hang using Chrome and HTTP/2
--------------------------+------------------------------
Reporter: pbarnhart | Owner: joemcgill
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by pbarnhart):
There are zero error messages in console. There are no errors in the
server log. Nothing when I run a server-side debug. It simply times out.
When I switch the server to HTTP 1.1 everything works on Chrome. Switch
it back to HTTP/2 and Chrome 51 forward fails (other browsers do fine).
And the server does respond to HTTP 1.1 requests.
With some coord I can give up access to this site and can switch server
back and forth re HTTP/2 if it helps. Honestly, I hope its something
stupid I did because in my day job we manage about 40+ WP sites and are
ready to move to HTTP/2
Here are the header responses:
WordPress Uploader
Request URL:https://momentsfromtheheart.com/wp-admin/admin-ajax.php
Request Headers
Provisional headers are shown
Accept:application/json, text/javascript, */*; q=0.01
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
Origin:https://momentsfromtheheart.com
Referer:https://momentsfromtheheart.com/wp-admin/media-new.php
User-Agent:Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/53.0.2785.89 Safari/537.36
X-Requested-With:XMLHttpRequest
Form Data
view source
view URL encoded
interval:60
_nonce:1015d6d1a9
action:heartbeat
screen_id:media
has_focus:false
Browser Uploader
Request URL:https://momentsfromtheheart.com/wp-admin/media-new.php
Request Headers
Provisional headers are shown
Content-Type:multipart/form-data;
boundary=----WebKitFormBoundaryXyknXR3wtwM2GPgO
Origin:https://momentsfromtheheart.com
Referer:https://momentsfromtheheart.com/wp-admin/media-new.php
Upgrade-Insecure-Requests:1
User-Agent:Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/53.0.2785.89 Safari/537.36
Request Payload
------WebKitFormBoundaryXyknXR3wtwM2GPgO
Content-Disposition: form-data; name="async-upload";
filename="Dollarphotoclub_71447704.jpg"
Content-Type: image/jpeg
------WebKitFormBoundaryXyknXR3wtwM2GPgO
Content-Disposition: form-data; name="html-upload"
Upload
------WebKitFormBoundaryXyknXR3wtwM2GPgO
Content-Disposition: form-data; name="post_id"
0
------WebKitFormBoundaryXyknXR3wtwM2GPgO
Content-Disposition: form-data; name="_wpnonce"
74962560e0
------WebKitFormBoundaryXyknXR3wtwM2GPgO
Content-Disposition: form-data; name="_wp_http_referer"
/wp-admin/media-new.php
------WebKitFormBoundaryXyknXR3wtwM2GPgO--
Name
media-new.php
media-new.php
admin-ajax.php
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37946#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list