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:
[email protected]


With regards,
Apache Git Services

Reply via email to