Hi Hariprasath,

This error occurs when session has already been expired, when logout
request is sent. Please try the same scenario, after enabling session
persistence and configuring a higher value for SSO session time out as
follows(Default : 15min).

You can enable session persistence using following property in identity.xml
file.

*<SessionDataPersist> <Enable>true</Enable>*
After WSO2IS 5.1.0, it has been enabled by default.


You can configure SSO session time out as follows.
If you are using WSO2IS 5.1.0. you can configure it using following
property in repository/conf/identity/identity.xml file

*<TimeConfig> <SessionIdleTimeout>15</SessionIdleTimeout>*

If you are using WSO2IS 5.0.0, you can configure it using following
property in repository/conf/tomcat/carbon/WEB-INF/web.xml file


*<session-config> <session-timeout>15</session-timeout> </session-config>*

Please refer [1] for more details.

Thanks and Regards

On Thu, Feb 18, 2016 at 11:24 AM, Malithi Edirisinghe <malit...@wso2.com>
wrote:

> Hi Haripasath,
>
> When analyzing the trace that you have attached I noted that the IdP
> hostname has been changed from localhost -> 127.0.0.1 -> localhost. IS
> maintains the logged in session via a cookie set to the IdP Url. These
> cookies are set against the hostname in the browser.
>
> So in your case, after the successful authentication 'samlssoTokenId' is
> set against 127.0.0.1 hostname. But the login request is sent under
> 'localhost' hostname. So the cookie is not sent back to the server there.
> So the server cannot find the session with regard to this logout request.
>
> Please make sure that you use the same hostname along the full flow either
> localhost or 127.0.0.1
>
> Thanks,
> Malithi.
>
> On Thu, Feb 18, 2016 at 12:45 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All,
>>
>> I couldn't find the reason behind this why is this happening. Can anyone
>> have any idea ?
>>
>> On Fri, Feb 5, 2016 at 12:56 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Philips,
>>>
>>> Any update on this?
>>>
>>> On Tue, Feb 2, 2016 at 2:57 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
>>>> Hi Philips,
>>>>
>>>> You can find the SSO tracer in the following attachment.
>>>>
>>>>
>>>>
>>>> On Tue, Feb 2, 2016 at 2:22 PM, Chamara Philips <chama...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Hariprasath,
>>>>> It is because the sessionID is null. It will be helpfull, if you can
>>>>> attach the SSO tracer.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Tue, Feb 2, 2016 at 11:58 AM, Hariprasath Thanarajah <
>>>>> haripras...@wso2.com> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I have implemented mailChimp Authenticator for IS. When I logout from
>>>>>> sample webapp(travelocity.com) i got the below error,
>>>>>>
>>>>>> [2016-02-02 11:41:01,907] ERROR
>>>>>> {org.wso2.carbon.identity.sso.saml.processors.SPInitLogoutRequestProcessor}
>>>>>> -  ssoTokenId cookie not found in the logout request
>>>>>>
>>>>>>
>>>>>> Any suggestions?
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>> *Thank you and Regards**Hariprasath Thanarajah*
>>>>>> Associate Software Engineer | WSO2
>>>>>> E: haripras...@wso2.com
>>>>>> M: +94752806528
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Hareendra Chamara Philips
>>>>> *Software  Engineer*
>>>>> Mobile : +94 (0) 767 184161 <%2B94%20%280%29%20773%20451194>
>>>>> chama...@wso2.com <thili...@wso2.com>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> *Thank you and Regards**Hariprasath Thanarajah*
>>>> Associate Software Engineer | WSO2
>>>> E: haripras...@wso2.com
>>>> M: +94752806528
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>>
>>> *Thank you and Regards**Hariprasath Thanarajah*
>>> Associate Software Engineer | WSO2
>>> E: haripras...@wso2.com
>>> M: +94752806528
>>>
>>>
>>
>>
>> --
>>
>>
>> *Thank you and Regards**Hariprasath Thanarajah*
>> Associate Software Engineer | WSO2
>> E: haripras...@wso2.com
>> M: +94752806528
>>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Malithi Edirisinghe*
> Senior Software Engineer
> WSO2 Inc.
>
> Mobile : +94 (0) 718176807
> malit...@wso2.com
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Indunil Upeksha Rathnayake
Software Engineer | WSO2 Inc
Email    indu...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to