GitHub user topse created a discussion: Problem: CouchDB not answering to 
request

Hi, I have a strange behaviour with CouchDB-Server (latest Version) and I don't 
have more ideas what may be the problem.

I am creating an "CouchDB-Connector" in Flutter. When the connector is logged 
in, it automatically notifies 
"http://yxz:5984/_db_updates?feed=continuous&since=now"; to be informed about 
created and deleted databases.

I wrote lots of unit tests for all kinds of use cases of the new library. The 
Test begins with setting up a Couch-Connector which is alive the whole time and 
mostly used for testing. But for some testcases a temporal second connector is 
created and logged in. When done, everything is logged out.

Mostly this works fine. Some days ago I added another Test-Case which needed a 
temporal second connector, but this time the notification to "_db_updates" 
fails.

I used Wireshark to check out the messages which are sent between my 
application and CouchDB and I that is where my question starts.

1. Messages when everything works as expected
`
App->CouchDB    GET /_db_updates?feed=continuous&since=now
CouchDB->App    ACK (TCP)
CouchDB->App    HTTP-Data with Response Header
CouchDB->App    Updates with JSON Objects
`

2. Messages when failing to connect:
`
App->CouchDB    GET /_db_updates?feed=continuous&since=now
CouchDB->App    ACK (TCP)
thats all... not Response Header.
`

I don't know what may be going wrong and would appreciate any help, where I may 
could find a log in CouchDB or so.

BTW, I am running CouchDB in docker, and 'docker logs' gave the following:
`
-- My Application says "send GET /_db_updates?feed=continuous&since=now" --
-- Couch shows in log:  [notice] 2025-08-03T15:48:13.799335Z nonode@nohost 
<0.1880.0> 44fd166795 localhost:5984 172.17.0.1 undefined POST /_session 200 ok 
1
`

This "undefined POST" seems to be very often at that position, but I think it 
is accidently? That would mean, that CouchDB does not give any log regarding 
the Request?

I would appreciate any hint.

Best Regards,
Tobias


GitHub link: https://github.com/apache/couchdb/discussions/5616

----
This is an automatically sent email for notifications@couchdb.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@couchdb.apache.org

Reply via email to