[Shib-Users] SP Error: basic_string::_S_construct NULL not valid

11 views
Skip to first unread message

Joshua Brodie

unread,
Feb 16, 2011, 9:40:36 PM2/16/11
to shibbole...@internet2.edu

Hi:

I am trying to connect a newly installed SP to our federation's WAYF service; the following message was received when accessing a page secured by the SP:

"std::exception at (https://sp.example.com/secure)

basic_string::_S_construct NULL not valid"

This is my first time setting up an SP to the federation; I inserted the following into the  'shibboleth2.xml' file:

            "<SessionInitiator type="Chaining" Location="/WAYF" isDefault="true" id="WAYF" relayState="cookie" >
              <SessionInitiator type="SAML2" acsIndex="1" template="bindingTemplate.html"/>
              <SessionInitiator type="Shib1" acsIndex="5"/>
              <SessionInitiator type="WAYF"  URL="https://example.federation/WAYF"/>
            </SessionInitiator>"

Any tips on why this error could be occurring?

Thanks.

Cantor, Scott E.

unread,
Feb 16, 2011, 9:48:47 PM2/16/11
to shibbole...@internet2.edu
>Any tips on why this error could be occurring?

Bug, it's been fixed. Only workaround for the moment is to copy the
acsIndex attribute from the Shib1 handler, but you shouldn't need to use
the WAYF protocol at this point. Any deployments today should be using the
SAMLDS variant, which doesn't have the bug.

-- Scott

Joshua Brodie

unread,
Feb 16, 2011, 10:28:36 PM2/16/11
to shibbole...@internet2.edu
Thanks Scott - your suggestion worked.
Reply all
Reply to author
Forward
0 new messages