Request header cookie exceeds server limit with relayState="ss:mem"

Cantor, Scott cantor.2 at osu.edu
Wed Feb 17 09:16:06 EST 2016


On 2/16/16, 9:26 PM, "users on behalf of Jeremy Shapiro" <users-bounces at shibboleth.net on behalf of jnshapiro at gmail.com> wrote:



>I'm getting a 400 response to a shibboleth protected server due to the Cookie header exceeding the 8k limit.  My cookie header contains 8200 bytes, 56 instances of shibpost and 56 instances of shibstate.

That doesn't sound like any recent version, there were bugs a while back with cookie cleanup and limits on the number.

> Examples include:
>
>_shibpost_1455658465_74a8=ss:mem:5366a7205e99c782f1361815f08e2bf885af6dd43732eca7c0fac2d087e693c3

I don't understand that either, that doesn't seem like anything it would be doing. The POST preservation is for application form interruption, I don't understand how it could be saving off that value.

>_shibstate_1455674546_de35=https%3A%2F%2Fmyapp.example.com <http://2Fmyapp.example.com>%2F

And that makes no sense since that would be used if the cookie-based relay state option were used.

>The sp is using relayState="ss:mem".  The documentation states that if I were using relayState="cookie" my request should automatically be capped at 25 instances.

Yes, that's the issue I was thinking of.

>Is what I'm seeing expected behavior when using relayState="ss:mem"?

No, I have no idea what you could be seeing with all that strangeness. Makes no sense to me.

-- Scott



More information about the users mailing list