#6676 unable to parse cookie header
Closed: Fixed None Opened 5 years ago by cheimes.

A FreeIPA 4.4.3 client is having trouble to talk to a FreeIPA 4.5 server. It's complaining about cookie headers:

$ ipa -vv -e confdir=$(pwd)/inventory -e nss_dir=$(pwd)/inventory/nssdb ping
ipa: INFO: trying https://master.ipa.example/ipa/json
ipa: INFO: Forwarding 'ping/1' to json server 'https://master.ipa.example/ipa/json'
ipa: INFO: Request: {
    "id": 0, 
    "method": "ping/1", 
    "params": [
        [], 
        {
            "version": "2.215"
        }
    ]
}
ipa: ERROR: unable to parse cookie header 'ipa_session=MagBearerToken=MurfsWZMUEjr%2bIgGAafps20f%2fbPzK1ZBzoiBE6VDguMSER%2bgFgBgrx%2bOCMPC1Q8uY%2fPeohpX7SiHZ%2fwII9CEDArgmklRcAlhWrkysWAOTvOKv%2feR0jx%2ffQcoQs%2bHC42SCG%2fj3VuI%2fgZyd2V2qnOR6wRdHDyv7KvUcA8gIP5RVfIp63RQOleqZlkzBCjYAEO0;path=/ipa;httponly;secure;, ipa_session=MagBearerToken=MurfsWZMUEjr%2bIgGAafps20f%2fbPzK1ZBzoiBE6VDguMSER%2bgFgBgrx%2bOCMPC1Q8uY%2fPeohpX7SiHZ%2fwII9CEDArgmklRcAlhWrkysWAOTvOKv%2feR0jx%2ffQcoQs%2bHC42SCG%2fj3VuI%2fgZyd2V2qnOR6wRdHDyv7KvUcA8gIP5RVfIp63RQOleqZlkzBCjYAEO0;path=/ipa;httponly;secure;': unknown cookie token ', ipa_session=MagBearerToken=MurfsWZMUEjr%2bIgGAafps20f%2fbPzK1ZBzoiBE6VDguMSER%2bgFgBgrx%2bOCMPC1Q8uY%2fPeohpX7SiHZ%2fwII9CEDArgmklRcAlhWrkysWAOTvOKv%2feR0jx%2ffQcoQs%2bHC42SCG%2fj3VuI%2fgZyd2V2qnOR6wRdHDyv7KvUcA8gIP5RVfIp63RQOleqZlkzBCjYAEO0'
ipa: INFO: Response: {
    "error": null, 
    "id": 0, 
    "principal": "admin@IPA.EXAMPLE", 
    "result": {
        "summary": "IPA server version 4.4.90.dev201702151002+git88f8c15. API version 2.218"
    }, 
    "version": "4.4.90.dev201702151002+git88f8c15"
}
-----------------------------------------------------------------------
IPA server version 4.4.90.dev201702151002+git88f8c15. API version 2.218
-----------------------------------------------------------------------

regression only in master

master:

  • b895f4a Change session logout to kill only the cookie
  • d0642bf Deduplicate session cookies in headers

Metadata Update from @cheimes:
- Issue assigned to mbasti
- Issue set to the milestone: FreeIPA 4.5

5 years ago

Login to comment on this ticket.

Metadata