m90 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-573596124
 
 
   Thanks for the detailed reponse @nickva @kocolosk 
   
   This is what I could find out using your info:
   
   - When I disable the session auth plugin and use 
`couch_replicator_auth_noop` the log messages go away, replication continues 
working
   - When I have nginx log the cookies included in the request(s), I can see 
that a non-empty `AuthSession` is being included in requests coming from the 
CouchDB Replicator. Its value also does not contain whitespace or anything 
unexpected.
   
   ---
   
   For me to debug further, it would be interesting to know how I can further 
map these error messages to a request.
   
   If I look at the log messages I can see some identifiers like:
   
   ```
   [notice] 2020-01-13T09:35:41.390874Z [email protected] <0.6072.1500> 
ce9077a0e1 some.hostname.example.com ...
   ```
   
   or
   
   ```
   [error] 2020-01-13T09:24:07.152363Z [email protected] <0.8946.1807> 
-------- couch_replicator_auth_session : Could not parse cookie from response 
headers cookie_format_invalid
   ```
   
   but I'm not entirely sure what the `0.6072.1500` (or similar) and 
`ce9077a0e1` are all about?

----------------------------------------------------------------
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