You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/01/11 07:47:46 UTC

[GitHub] [couchdb] nickva commented on issue #2369: Cluster to single node replication prints "Could not parse cookie from response headers cookie_format_invalid"

nickva commented on issue #2369: Cluster to single node replication prints "Could not parse cookie from response headers cookie_format_invalid"
URL: https://github.com/apache/couchdb/issues/2369#issuecomment-573292483
 
 
   @m90 
   
   If the error is `cookie_format_invalid` it seems like we got a cookie but it doesn't have the 'AuthSession=...` value in it.
   
   https://github.com/apache/couchdb/blob/1347806d2feebce53325070b475f9e211d240ddf/src/couch_replicator/src/couch_replicator_auth_session.erl#L462-L464
   
   Perhaps the proxy is adding another cookie and we end up parsing that one first. Or it's modifying CouchDB's cookie and we don't parse it correctly.
   
   Would you be able to capture the headers and see what it looks like. Otherwise, to help reproduce the issue maybe paste your nginx.conf and I'll try it on my laptop.
   
   In the meantime, good advice from @kocolosk regarding disabling the plugin, see if that helps while we figure out the issue.
   
   @seigel, I do recall an issue related to that, good call

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services