[wp-trac] [WordPress Trac] #54246: wp_logout sometimes causes 'upstream sent too big header'

WordPress Trac noreply at wordpress.org
Sun Dec 5 16:05:15 UTC 2021


#54246: wp_logout sometimes causes 'upstream sent too big header'
--------------------------------+------------------------------
 Reporter:  erikdemarco         |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  General             |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  needs-testing-info  |     Focuses:
--------------------------------+------------------------------

Comment (by erikdemarco):

 @Boniu91 Hi, Its hard to reproduce. It really depends on how big is the
 response header. For me usually its because of the cookie is too big so it
 will overload default nginx buffer which is only 4K.

 That time i forget what is my setup. But today I got this error again so I
 remembered this ticket.
 Currently I retested it again with default nginx, WordPress 5.8.2,
 Woocommerce 5.9.0, and a payment gateway plugin from
 https://github.com/sgogithub/espay_woocommercev3

 As soon as you want to setup the payment gateway from woocommerce payment
 settings, you will get 500 error because of too big header.

 For example like this cookie, the longest value is mostly from wordpress:

 {{{
 wordpress_sec_005230f14b0807e14bdbdr34r3rfde5794a=admin|1638892064|oujXtnEdAiDYYA1y8aTOJSNIkGsPlRVS1TbW8HxtoOR|ec30d6708fed7abcc74e2c2e4bface5c4de32145e23d533171879bd16fe144b4;
 wordpress_test_cookie=WP Cookie check;
 wordpress_logged_in_005230f14t34t43t3t43e0b25794a=admin|1638892064|oujXtnEdAiDYYA1y8aTOJSNIkGsPlRVS1TbW8HxtoOR|8070a9a06aa1669555c11558091c96d719c8987e0119c89b95183a8606a17f69;
 tk_ai=woo:WbWAnW5uuLNcW1I8BX/nNm1j; wp-
 settings-1=libraryContent=browse&ampampampampampurlbutton=none&ampampampampampeditor=tinymce&ampampampampampposts_list_mode=list&ampampampampposts_list_mode=list&ampposts_list_mode=list&ampeditor=tinymce;
 wp-settings-time-1=1638719265; woocommerce_items_in_cart=1;
 woocommerce_cart_hash=b6792725t34t543t8b69deb755b613c2f5;
 wp_woocommerce_session_005230f14b0807e1t53t34t33ee0b25794a=1||1638892067||1638888467||a58773e31fb6e41ecb5fc5dbff5ae3b3
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54246#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list