Announcement

Collapse
No announcement yet.

Logout issue - Nginx, Cloudflare + vBulletin.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Logout issue - Nginx, Cloudflare + vBulletin.

    Hey, I have been a CloudFlare error when logging out of vBulletin, It doesn't happen every single time but it will every so often. After contacting CloudFlare to see if the problem lays with them, they replied to tell us the problem is actually a bug in vBulletin, with further contact to vbulletin via the support ticket area they said its not an issue with vbulletin and its an issue with cloudflare, although they state otherwise, so currently I have came across a blank, Im stuck, confused and dont know what to do.

    (NOTE) - This doesnt happen every single time, it only happens every so often. And when it does its rather annoying, it acts as if the site is down when its not, and i have to refresh a couple of times to get back on resulting in still being signed in. Cloudflare said As you can see it is trying to set the same cookie continuously, and once it sends too many of these headers you will get a 502 error.

    And from vbulletin
    Code:
    ts not a bug in vBulletin. We explicitly go out of our way to aggressively delete cookies set by the application.
    Code:
    [COLOR=#000000][FONT=arial][SIZE=12px]Their nginx setup is cutting the http headers off before it completes, breaking their system looking for the CFRay header info.[/SIZE][/FONT][/COLOR]
    
    [COLOR=#000000][FONT=arial][SIZE=12px]I've pointed out the code that handles that. If you wish to modify the application, you can do so at your own risk.[/SIZE][/FONT][/COLOR]
    
    [COLOR=#000000][FONT=arial][SIZE=12px]Your options are:[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]Get cloudflare to fix their nginx configuration.[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]Modify the software at your own risk.[/SIZE][/FONT][/COLOR]
    
    
    [COLOR=#000000][FONT=arial][SIZE=12px]All the best,[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]Zachery Woods[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]Support Team, vBulletin & Forum Runner[/SIZE][/FONT][/COLOR]
    I have looked throughout the forums and have yet found a suitable fix for this issue. Anyways all the information you will need, will be below

    Info from Cloudflare

    Code:
    curl 'http://www.zookenetwork.com/forums/login.php?do=logout&logouthash=1401634666-ff9dd96cc500df848e716befaa4fe0d44fd32d38';
    -H 'Accept-Encoding: gzip,deflate,sdch' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36
    KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8' -H 'Referer:
    
    http://www.zookenetwork.com/forums/'; -H 'Cookie: __cfduid=d1672ebc6b70b62f1a500ebeb45a0ac9d1401638204995; bb_lastvisit=1401634643;
    
    PHPSESSID=q188qnmmdabr3va90bhg6d6r16; bb_lastactivity=0; bb_userid=380; bb_password=52742e99768646cc6de047b554ef0f24;
    bb_sessionhash=65bd5942d11a1c9c1e1aac23ce30a4e5; __utma=26340918.216224912.1401638207.1401638207.1401638207.1;
    __utmb=26340918.3.10.1401638207; __utmc=26340918; __utmz=26340918.1401638207.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)' -H 'Connection: keep-
    alive' --compressed --verbose --output /dev/null --silent
    Code:
    [COLOR=#000000][FONT=arial][SIZE=12px]* Adding handle: conn: 0x7f842201ca00[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]* Adding handle: send: 0[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]* Adding handle: recv: 0[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]* Curl_addHandleToPipeline: length: 1[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]* - Conn 0 (0x7f842201ca00) send_pipe: 1, recv_pipe: 0[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]* About to connect() to [/SIZE][/FONT][/COLOR][URL="https://www.vbulletin.com/link.php?u=http%3A%2F%2Fwww.zookenetwork.com"]http://www.zookenetwork.com[/URL][COLOR=#000000][FONT=arial][SIZE=12px] port 80 (#0)[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]* Trying 108.162.199.189...[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]* Connected to [/SIZE][/FONT][/COLOR][URL="https://www.vbulletin.com/link.php?u=http%3A%2F%2Fwww.zookenetwork.com"]http://www.zookenetwork.com[/URL][COLOR=#000000][FONT=arial][SIZE=12px] (108.162.199.189) port 80 (#0)[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]> GET /forums/login.php?do=logout&logouthash=1401634666-ff9dd96cc500df848e716befaa4fe0d44fd32d38 HTTP/1.1[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]> Host: [/SIZE][/FONT][/COLOR][URL="https://www.vbulletin.com/link.php?u=http%3A%2F%2Fwww.zookenetwork.com"]http://www.zookenetwork.com[/URL]
    [COLOR=#000000][FONT=arial][SIZE=12px]> Accept-Encoding: gzip,deflate,sdch[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]> Accept-Language: en-US,en;q=0.8[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]> Referer: [/SIZE][/FONT][/COLOR][URL="https://www.vbulletin.com/link.php?u=http%3A%2F%2Fwww.zookenetwork.com%2Fforums%2F"]http://www.zookenetwork.com/forums/[/URL]
    [COLOR=#000000][FONT=arial][SIZE=12px]> Cookie: __cfduid=d1672ebc6b70b62f1a500ebeb45a0ac9d1401638204995; bb_lastvisit=1401634643; PHPSESSID=q188qnmmdabr3va90bhg6d6r16; bb_lastactivity=0; bb_userid=380; bb_password=52742e99768646cc6de047b554ef0f24; bb_sessionhash=65bd5942d11a1c9c1e1aac23ce30a4e5; __utma=26340918.216224912.1401638207.1401638207.1401638207.1; __utmb=26340918.3.10.1401638207; __utmc=26340918; __utmz=26340918.1401638207.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]> Connection: keep-alive[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]>[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< HTTP/1.1 200 OK[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]* Server cloudflare-nginx is not blacklisted[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Server: cloudflare-nginx[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Date: Sun, 01 Jun 2014 15:58:12 GMT[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Content-Type: text/html; charset=ISO-8859-1[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Transfer-Encoding: chunked[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Connection: keep-alive[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< X-Powered-By: PHP/5.4.27[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_sessionhash=377f50ff1ccc117f1126aaba3b9faca7; path=/; HttpOnly[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Expires: Thu, 19 Nov 1981 08:52:00 GMT[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Cache-Control: private[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Pragma: private[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_lastvisit=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_lastvisit=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_lastvisit=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_lastactivity=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_lastactivity=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_lastactivity=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_userid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_userid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_userid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_password=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_password=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_password=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_sessionhash=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_sessionhash=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_sessionhash=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_referrerid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_referrerid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_referrerid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_threadedmode=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_threadedmode=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_threadedmode=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_userstyleid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_userstyleid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_userstyleid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_languageid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_languageid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_languageid=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_skipmobilestyle=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_skipmobilestyle=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_skipmobilestyle=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_fbprofilepicurl=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_fbprofilepicurl=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_fbprofilepicurl=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_vsaltua_active=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_vsaltua_active=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Set-Cookie: bb_vsaltua_active=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< CF-RAY: 133c9c8012480296-SJC[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]< Content-Encoding: gzip[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]<[/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]{ [data not shown][/SIZE][/FONT][/COLOR]
    [COLOR=#000000][FONT=arial][SIZE=12px]* Connection #0 to host [/SIZE][/FONT][/COLOR][URL="https://www.vbulletin.com/link.php?u=http%3A%2F%2Fwww.zookenetwork.com"]http://www.zookenetwork.com[/URL][COLOR=#000000][FONT=arial][SIZE=12px] left intact [/SIZE][/FONT][/COLOR]
    Nginx Config Files

    Site config file -
    http://pastebin.com/CT5RGR6x
    Nginx Config - http://pastebin.com/9caqEV9Z
    Thats all i can really display for you and the vBulletin options

    http://prntscr.com/3nv8i8
    http://prntscr.com/3nv8lh

    -Website is offline No cached version of this page is available.

    Error 502 Ray ID: 131e645dd25b0406 Bad gateway

    Log Below from nginx error log

    2014/05/29 00:57:37 [error] 3476#0: *171961 upstream sent too big header while reading response header from upstream, client: 108.162.219.227, server: zookenetwork.com request: "GET /forums/login.php?do=logout&logouthash=1401316603-a4aa692b14db45d3e9a74960a975c0b87c67d501 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host "http://www.zookenetwork.com", referrer: "http://www.zookenetwork.com/forums/"
    Last edited by ZookeMike; Tue 3 Jun '14, 6:37am.

  • #2
    You have too many cookies and that is what is triggering the Cloudflare issue. Not all of those cookies are vBulletin default cookies and could have been created by plugins or even not valid anymore but still stored on your computer.

    The issue occurs when you move your forums around like it seems you have. Overtime they should be deleted normally. You would need to advise your users to manually delete the cookies for your domain to prevent this from occurring in the future. Once they login again, they should have many fewer cookies.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      IIRC only the last cookie in that chain is not default, and if you take a look at the code, its how its supposed to function. (includes/function_login.php)

      The reason the site is "down" is that the ~~CF-RAY: 133c9c8012480296-SJC ends up not getting to the end users.

      Comment


      • #4
        Originally posted by Zachery View Post
        IIRC only the last cookie in that chain is not default, and if you take a look at the code, its how its supposed to function. (includes/function_login.php)

        The reason the site is "down" is that the ~~CF-RAY: 133c9c8012480296-SJC ends up not getting to the end users.

        So how do you suggest we fix it?

        Comment


        • #5
          Originally posted by Wayne Luke View Post
          You have too many cookies and that is what is triggering the Cloudflare issue. Not all of those cookies are vBulletin default cookies and could have been created by plugins or even not valid anymore but still stored on your computer. The issue occurs when you move your forums around like it seems you have. Overtime they should be deleted normally. You would need to advise your users to manually delete the cookies for your domain to prevent this from occurring in the future. Once they login again, they should have many fewer cookies.
          I have cleared my entire cache including cookies then logged in, it will logout but after an hour or so logged in this is when it will occur, is there anyway to increase the amount of cookies i can delete from logging out? Or is there another way to resolve this issue?

          Comment


          • #6
            Originally posted by Wayne Luke View Post
            You have too many cookies and that is what is triggering the Cloudflare issue. Not all of those cookies are vBulletin default cookies and could have been created by plugins or even not valid anymore but still stored on your computer.

            The issue occurs when you move your forums around like it seems you have. Overtime they should be deleted normally. You would need to advise your users to manually delete the cookies for your domain to prevent this from occurring in the future. Once they login again, they should have many fewer cookies.

            Even after clearing the cookies from a computer the issue still exists. We also disabled ALL plugins and the issue still occurred. We really need some help here to fix this issue. What do you suggest we do?

            Comment


            • #7
              I suggest you fix it by working with cloudflare to allow larger headers, or editing vBulletin to less aggressively clear cookies. These are the same suggestions I made to you yesterday in the support ticket.

              Comment


              • #8
                Originally posted by Zachery View Post
                I suggest you fix it by working with cloudflare to allow larger headers, or editing vBulletin to less aggressively clear cookies. These are the same suggestions I made to you yesterday in the support ticket.
                We have contacted cloudflare constantly but they insist its a vbulletin issue which sets us on a roundabout going in circles, how could i edit the vbulletin to less aggressively clear cookies

                Comment


                • #9
                  Originally posted by ZookeMike View Post
                  I have cleared my entire cache including cookies then logged in, it will logout but after an hour or so logged in this is when it will occur, is there anyway to increase the amount of cookies i can delete from logging out? Or is there another way to resolve this issue?
                  We'll delete all the cookies from the domain. The Cloudflare server is where the problem occurs because they cut off the headers and don't give the header the user needs.
                  Translations provided by Google.

                  Wayne Luke
                  The Rabid Badger - a vBulletin Cloud demonstration site.
                  vBulletin 5 API

                  Comment


                  • #10
                    Originally posted by Zachery View Post
                    IIRC only the last cookie in that chain is not default, and if you take a look at the code, its how its supposed to function. (includes/function_login.php)

                    The reason the site is "down" is that the ~~CF-RAY: 133c9c8012480296-SJC ends up not getting to the end users.


                    Cloudflare said:

                    The CF-RAY should not play into this at all. We have many other vbulletin sites using us without issue at all.

                    --

                    We're gonna need some help here. We're going back and forth between you guys and cloudflare. Is anybody gonna actually help us fix this issue?

                    Comment


                    • #11
                      Okay, here is the low down.

                      We aggressively clear the cookies vBulletin sets, this is any cookie with a cookieprefix value, so bb_*

                      We AGRESSIVELY clear them, so in some cases with a lot of cookies being set, we send a lot of header data.

                      Because cloud flare does not allow a lot of header data, their stuff is breaking.

                      The CF ray isn't making it to the server/browser and displaying this page: ~~-Website is offline No cached version of this page is available.
                      Error 502 Ray ID: 131e645dd25b0406 Bad gateway


                      This was the cookie I was referring to

                      Code:
                      < Set-Cookie: bb_vsaltua_active=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
                      < Set-Cookie: bb_vsaltua_active=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums
                      < Set-Cookie: bb_vsaltua_active=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/


                      You have TWO options:
                      1. Get cloudflare to reconfigure nginx to allow larger headers to process our cookie deletion.
                      2. Modify the vBulletin source code, which we do not support.



                      This is not a "bug" in vBulletin. We actively went out of our way to delete cookies aggressively.
                      A cloudflare error page, is not a bug in vBulletin.

                      Comment


                      • #12
                        Originally posted by Zachery View Post
                        Okay, here is the low down.

                        We aggressively clear the cookies vBulletin sets, this is any cookie with a cookieprefix value, so bb_*

                        We AGRESSIVELY clear them, so in some cases with a lot of cookies being set, we send a lot of header data.

                        Because cloud flare does not allow a lot of header data, their stuff is breaking.

                        The CF ray isn't making it to the server/browser and displaying this page: ~~-Website is offline No cached version of this page is available.
                        Error 502 Ray ID: 131e645dd25b0406 Bad gateway


                        This was the cookie I was referring to

                        Code:
                        < Set-Cookie: bb_vsaltua_active=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
                        < Set-Cookie: bb_vsaltua_active=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums
                        < Set-Cookie: bb_vsaltua_active=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/


                        You have TWO options:
                        1. Get cloudflare to reconfigure nginx to allow larger headers to process our cookie deletion.
                        2. Modify the vBulletin source code, which we do not support.



                        This is not a "bug" in vBulletin. We actively went out of our way to delete cookies aggressively.
                        A cloudflare error page, is not a bug in vBulletin.
                        Okay, thanks for your help, i will be contacting Cloudflare, which they insist its nothing to do with their configuration and is infact to do with a plugin on our side, well thats their theory, which is wrong as i disabled all plugins globally then tried and still received the same error. I will wait and see if they have any other solution. If not ive hit a blank. Do you know if it may be my nginx configuration, ive checked online before and ive seen multiple people say set proxy_buffers and proxy_buffer_size to like 32k or so, which i did and still no luck. Ive completely drawn a blank.

                        Comment


                        • #13
                          Originally posted by Zachery View Post
                          Okay, here is the low down.

                          We aggressively clear the cookies vBulletin sets, this is any cookie with a cookieprefix value, so bb_*

                          We AGRESSIVELY clear them, so in some cases with a lot of cookies being set, we send a lot of header data.

                          Because cloud flare does not allow a lot of header data, their stuff is breaking.

                          The CF ray isn't making it to the server/browser and displaying this page: ~~-Website is offline No cached version of this page is available.
                          Error 502 Ray ID: 131e645dd25b0406 Bad gateway


                          This was the cookie I was referring to

                          Code:
                          < Set-Cookie: bb_vsaltua_active=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
                          < Set-Cookie: bb_vsaltua_active=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums
                          < Set-Cookie: bb_vsaltua_active=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/


                          You have TWO options:
                          1. Get cloudflare to reconfigure nginx to allow larger headers to process our cookie deletion.
                          2. Modify the vBulletin source code, which we do not support.



                          This is not a "bug" in vBulletin. We actively went out of our way to delete cookies aggressively.
                          A cloudflare error page, is not a bug in vBulletin.


                          You say all this but my biggest question is, how come this is just happening for us? THOUSANDS of sites use Cloudflare and VB, how come it's only us getting this error?

                          Why should we modify the source code? There's obviously something causing this issue. Nobody else gets it but us and a few other forums.

                          There must be an easier way to fix it..
                          CloudFlare has a header limit of 8K, as a security feature, as a global setting. They're NOT going to change that.

                          Surely someone from your support team can help us out, you're providing information but it's hardly supportive. We're going back and forth here between vB and Cloudflare. We're not a rag doll. We deserve better support than this. If the issue doesn't happen with many other forums then it must be a problem that is fixable without modifying source codes etc. The source code is set in place with all of your forums, even others that use Cloudflare. It makes no sense why it would just only be our forum that has a problem with this. We haven't changed any source codes. All of our plugins aren't a problem. We disabled each and every one to check if it was any of those.

                          Comment


                          • #14
                            I'm sorry, we are not able to support code modifications. This is not a vBulletin bug, the software is working as designed. The support team are not coders, and we cannot rewrite parts of the software to deal with third party server configurations. I appreciate this doesn't really assist, but it is for Cloudflare to make the required changes at their end. Rewriting our software may cause problems for the vast majority of users who are not on Cloudflare.
                            MARK.B | vBULLETIN SUPPORT

                            TalkNewsUK - My vBulletin 5.6.3 Demo
                            AdminAmmo - My Cloud Demo

                            Comment


                            • #15
                              Originally posted by Mark.B View Post
                              I'm sorry, we are not able to support code modifications. This is not a vBulletin bug, the software is working as designed. The support team are not coders, and we cannot rewrite parts of the software to deal with third party server configurations. I appreciate this doesn't really assist, but it is for Cloudflare to make the required changes at their end. Rewriting our software may cause problems for the vast majority of users who are not on Cloudflare.
                              Cloudflare said this:
                              Because you vBulletin install is clearing users cookies 3 times in 3 different directories, it passes over our header limit (8kb of headers), For security reasons we cannot change this.
                              It might be worth looking vBulletin has a way to stop doing this:
                              < Set-Cookie: bb_lastvisit=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/
                              < Set-Cookie: bb_lastvisit=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums
                              < Set-Cookie: bb_lastvisit=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/forums/

                              So it would avoid sending the last two.


                              ----

                              Can you give us any advice on this? Is this the problem? We need confirmation that this is the actual problem before we start trying to modify anything. The last thing we want to do is F up our forum!


                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X