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/07/14 23:44:51 UTC

[GitHub] [couchdb] flimzy opened a new issue #1600: Sporadic `unknown_error : normal` errors

flimzy opened a new issue #1600:
URL: https://github.com/apache/couchdb/issues/1600


   <!--- Provide a general summary of the issue in the Title above -->
   
   Occasionally, when using Cookie auth, the /_all_docs endpoint returns 401, and logs an unusual error. I have observed this on both the /_users and /_replicator databases. Unknown if it happens on non-system databases.
   
   ## Expected Behavior
   I would expect a normal response
   
   ## Current Behavior
   
   Two log samples (both from CouchDB 2.2.0 running in Docker):
   
   [notice] 2018-09-10T19:41:21.627729Z nonode@nohost <0.718.0> 631255b1ec localhost:6004 172.17.0.1 undefined GET /_users/_all_docs?include_docs=true 401 ok 1
   [error] 2018-09-10T19:41:21.639919Z nonode@nohost <0.719.0> ec87d65d26 req_err(2525593956) unknown_error : normal
       [<<"chttpd:catch_error/3 L353">>,<<"chttpd:handle_req_after_auth/2 L319">>,<<"chttpd:process_request/1 L300">>,<<"chttpd:handle_request_int/1 L240">>,<<"mochiweb_http:headers/6 L124">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   
   [notice] 2018-09-10T19:46:18.065472Z nonode@nohost <0.719.0> 1e9079ba74 localhost:6004 172.17.0.1 undefined GET /_replicator/_all_docs?include_docs=true 401 ok 3
   [error] 2018-09-10T19:46:18.069496Z nonode@nohost <0.720.0> f23a984706 req_err(2525593956) unknown_error : normal
       [<<"chttpd:catch_error/3 L353">>,<<"chttpd:handle_req_after_auth/2 L319">>,<<"chttpd:process_request/1 L300">>,<<"chttpd:handle_request_int/1 L240">>,<<"mochiweb_http:headers/6 L124">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   
   
   ## Steps to Reproduce (for bugs)
   As stated above, this is a sporadic error.  It doesn't always happen, but the requests that generated the above errors:
   
   GET /_users/_all_docs?include_docs=true HTTP/1.1
   Host: localhost:6004
   Accept: application/json
   Content-Type: application/json
   Cookie: AuthSession=YWRtaW46NUI5NkM4RTE6pxr5rMbRBHJgbCdnRzQO0JBuzcI
   User-Agent: Kivik CouchDB driver/2.0.0-prerelease (Language=go1.8.7; Platform=amd64/linux)
   
   
   GET /_replicator/_all_docs?include_docs=true HTTP/1.1
   Host: localhost:6004
   Accept: application/json
   Content-Type: application/json
   Cookie: AuthSession=YWRtaW46NUI5NkNBMEE6UJcyxbwz2W6vinTcScdUNX5iQcw
   User-Agent: Kivik CouchDB driver/2.0.0-prerelease (Language=go1.9.7; Platform=amd64/linux)
   
   
   ## Context
   <!--- How has this issue affected you? What are you trying to accomplish? -->
   <!--- Providing context helps us come up with a solution that is most useful in the real world -->
   
   ## Your Environment
   I have observed this on CouchDB 1.7.1, 2.0.0, 2.1.2, and 2.2.0, but only in Travis-CI on my Kivik project. I have been unable thus far to reproduce this locally on any version.
   
   I will continue to try to find a reliable reproduction case.


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



[GitHub] [couchdb] nickva commented on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
nickva commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-991240224


   @style95 what version of CouchDB are you running?
   
   3.1.2 and 3.2.1 should have this fix for this already https://github.com/apache/couchdb/pull/3102
   
   NOTE: There are 3.2.1 packages available in the usual repos, and the source available at https://dlcdn.apache.org/couchdb/source/3.2.1/apache-couchdb-3.2.1.tar.gz . We just haven't updated the website as we're waiting on the Windows packaging.
   
   


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

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] nickva commented on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
nickva commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-991240224


   @style95 what version of CouchDB are you running?
   
   3.1.2 and 3.2.1 should have this fix for this already https://github.com/apache/couchdb/pull/3102
   
   NOTE: There are 3.2.1 packages available in the usual repos, and the source available at https://dlcdn.apache.org/couchdb/source/3.2.1/apache-couchdb-3.2.1.tar.gz . We just haven't updated the website as we're waiting on the Windows packaging.
   
   


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

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] style95 commented on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
style95 commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-992012171


   @nickva Thank you for sharing.
   I am using CouchDB v2.3.1, considering upgrading it to 3.2.1.
   


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

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] wohali commented on issue #1600: Sporadic errors on /_all_docs with Cookie auth and system databases

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-649730712


   FYI reviewing the history of this, I don't see anyone reporting this issue against CouchDB 3.x.


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



[GitHub] [couchdb] pavellzubkov edited a comment on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
pavellzubkov edited a comment on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-658372488


   now i get same error with ibmcom/couchdb3:3.1.0 image on windows desktop docker (v 2.3.0.3). 
   i have Ryzen7 3700u proc, 16gb Ram , SSD
   last errors:
   ```
   [error] 2020-07-14T19:16:09.909029Z couchdb@127.0.0.1 <0.18562.88> 23794d840a req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-07-14T19:16:09.915970Z couchdb@127.0.0.1 <0.19757.88> cd5af352db req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-07-14T19:17:08.686461Z couchdb@127.0.0.1 <0.31109.97> 0eceb5635e req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-07-14T19:17:08.703069Z couchdb@127.0.0.1 <0.31500.97> 924c75301e req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   ```
   couchdb server fall down and not responding. docker container didn't restart.
   strange thing...
   I tried unsuccessfully to restart container with docker-compose . in terminal not errors, in log file not errors, but couchdb server didn't response. 
   ..... **ok i've catch it**
   . For develop my app i using yandex browser (based on chromium). When user login, i started replication with pouchdb to local db, then user logout. If user fast login/logout approx 4 times (without starting pouchdb replication it not happen), then DELETE request to _session from browser failed, but couchdb server respond ok from other browser in same time - not fall down. Server not respond from yandex browser while tab with broken DELETE request to _session point opened.  Strange errors in couch logs appears when broken tab closed or when pouchdb client with continuous replication sent DELETE request to _session .  Now i test in other browsers - Opera and Firefox - same problem, Google chrome better, but also block logout request for several seconds.
   


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



[GitHub] [couchdb] skeyby commented on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
skeyby commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-650154914


   @janl no noticeable problems from the application side, it's just generating like 10MBs of log per day...


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



[GitHub] [couchdb] skeyby commented on issue #1600: Sporadic errors on /_all_docs with Cookie auth and system databases

Posted by GitBox <gi...@apache.org>.
skeyby commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-649356271


   I'd like to join the Party....
   
   I think this is the same problem:
   
   ```
   [error] 2020-06-25T07:59:19.755854Z couchdb@10.133.136.126 <0.29723.204> 77cd8945da req_err(3717872069) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L249">>]
   [error] 2020-06-25T08:01:36.801577Z couchdb@10.133.136.126 <0.11743.199> 5a40992a00 req_err(3717872069) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L249">>]
   [error] 2020-06-25T08:01:42.651561Z couchdb@10.133.136.126 <0.27527.200> e1b4f6821b req_err(3717872069) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L249">>]
   ```
   
   FreeBSD 12.1, CouchDB 2.3.1, Erlang 21.3.8.14.
   
   A lot of PouchDB clients replicating from a Single Database.
   
   


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



[GitHub] [couchdb] ahmedsajid commented on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
ahmedsajid commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-650867061


   I have recently started noticing these normal errors too. This seems to be causing problem on application side where the application has to retry the query.
   
   CouchDB 2.3.1
   doc_count 1146523
   
   ```
   [error] 2020-06-29T01:47:40.135242Z nonode@nohost <0.16344.1747> d9b86d05d1 req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:52:16.800967Z nonode@nohost <0.7070.1747> 6e3f86e7d2 req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:52:37.457872Z nonode@nohost <0.22879.1746> dd23899df1 req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:53:38.011332Z nonode@nohost <0.13826.1747> f017584ecd req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:54:21.724277Z nonode@nohost <0.10653.1738> a29cd9aab0 req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:54:23.644179Z nonode@nohost <0.25576.1746> 38ad2a22d1 req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:54:44.433040Z nonode@nohost <0.14191.1747> 1d48919e2f req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:54:50.377741Z nonode@nohost <0.29280.1747> c5d56778d0 req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:55:01.151052Z nonode@nohost <0.22135.1747> 1f97463eea req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   ```
   


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



[GitHub] [couchdb] style95 commented on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
style95 commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-989621802


   I am facing the same issue, is there any update on this issue?
   


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

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] nickva closed issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
nickva closed issue #1600:
URL: https://github.com/apache/couchdb/issues/1600


   


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

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] nickva closed issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
nickva closed issue #1600:
URL: https://github.com/apache/couchdb/issues/1600


   


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

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] wohali commented on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-658838147


   > I think at least in my case these errors are simply a result of the client dropping its connection to CouchDB.
   
   This is the current best likely reason for this issue, unless anyone else has reasons this may be occurring.
   
   @iilyak 's theory is not applicable because we see this without any node in MM.
   
   Suppressing these logging comments is probably the only thing that needs to happen here, anyone want to have a go at a PR?
   


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



[GitHub] [couchdb] janl commented on issue #1600: Sporadic errors on /_all_docs with Cookie auth and system databases

Posted by GitBox <gi...@apache.org>.
janl commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-649369065


   @skeyby just checking, does this cause any noticeable issues for your application (✌️) or is this more inconvenient log noise (which we should still investigate of course, just trying to get a sense of urgency here)


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



[GitHub] [couchdb] wohali commented on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-658466201


   Whoops, sorry, didn't mean to close this.


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



[GitHub] [couchdb] wohali commented on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-658466132


   Sounds like a browser problem - nothing we can do here.


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



[GitHub] [couchdb] nickva edited a comment on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
nickva edited a comment on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-991240224


   @style95 what version of CouchDB are you running?
   
   3.1.2 and 3.2.1 should have the fix for this already https://github.com/apache/couchdb/pull/3102
   
   NOTE: There are 3.2.1 packages available in the usual repos, and the source available at https://dlcdn.apache.org/couchdb/source/3.2.1/apache-couchdb-3.2.1.tar.gz . We just haven't updated the website as we're waiting on the Windows packaging.
   
   


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

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] pavellzubkov edited a comment on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
pavellzubkov edited a comment on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-658372488


   now i get same error with ibmcom/couchdb3:3.1.0 image on windows desktop docker (v 2.3.0.3). 
   i have Ryzen7 3700u proc, 16gb Ram , SSD
   last errors:
   ```
   [error] 2020-07-14T19:16:09.909029Z couchdb@127.0.0.1 <0.18562.88> 23794d840a req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-07-14T19:16:09.915970Z couchdb@127.0.0.1 <0.19757.88> cd5af352db req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-07-14T19:17:08.686461Z couchdb@127.0.0.1 <0.31109.97> 0eceb5635e req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-07-14T19:17:08.703069Z couchdb@127.0.0.1 <0.31500.97> 924c75301e req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   ```
   couchdb server fall down and not responding. docker container didn't restart.
   strange thing...
   I tried unsuccessfully to restart container with docker-compose . in terminal not errors, in log file not errors, but couchdb server didn't response. My volume section in docker-compose looks like 
   ```
   volumes:
               - ./etc:/opt/couchdb/etc/local.d
               - ./data1:/opt/couchdb/data
               - ./log:/opt/couchdb/var/log  
   ```
   then i create empty folder data2 and couchdb server run successfully. then i rename first data folder to 'data_broken' , change docker-compose and couchdb run fine with old data, i again rename folder to 'data1' and now all works ok. I don't understand what happened... may be some rare error with interaction between docker linus layer  and windows file system?


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



[GitHub] [couchdb] pavellzubkov edited a comment on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
pavellzubkov edited a comment on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-658372488


   now i get same error with ibmcom/couchdb3:3.1.0 image on windows desktop docker (v 2.3.0.3). 
   i have Ryzen7 3700u proc, 16gb Ram , SSD
   last errors:
   ```
   [error] 2020-07-14T19:16:09.909029Z couchdb@127.0.0.1 <0.18562.88> 23794d840a req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-07-14T19:16:09.915970Z couchdb@127.0.0.1 <0.19757.88> cd5af352db req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-07-14T19:17:08.686461Z couchdb@127.0.0.1 <0.31109.97> 0eceb5635e req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-07-14T19:17:08.703069Z couchdb@127.0.0.1 <0.31500.97> 924c75301e req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   ```
   couchdb server fall down and not responding. docker container didn't restart.
   strange thing...
   I tried unsuccessfully to restart container with docker-compose . in terminal not errors, in log file not errors, but couchdb server didn't response. 
   ..... **ok i've catch it**
   **it is browser problem (pouch db), not couchdb**. For develop my app i using yandex browser (based on chromium). When user login, i started replication with pouchdb to local db, then user logout. If user fast login-logout approx 4 times (without starting pouchdb replication it not happen), then DELETE request to _session from browser failed, but couchdb server respond ok from other browser in same time - not fall down. Server not respond from yandex browser while tab with broken DELETE request to _session point opened.  Strange errors in couch logs appears when broken tab closed.  Now i test in other browsers - Opera and Firefox - same problem, Google chrome better, but also block logout request for several seconds.


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



[GitHub] [couchdb] pavellzubkov commented on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
pavellzubkov commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-658566334


   Now i stop pouchdb replications before user logout and all ok. No errors in couch log, all works fine. Obviously couchdb generate errors  and hold connection opened when user with opened live replications sent DELETE request to _session.


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



[GitHub] [couchdb] wohali closed issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
wohali closed issue #1600:
URL: https://github.com/apache/couchdb/issues/1600


   


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



[GitHub] [couchdb] pavellzubkov commented on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
pavellzubkov commented on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-658372488


   now i get same error with ibmcom/couchdb3:3.1.0 image on windows desktop docker (v 2.3.0.3). 
   i have Ryzen7 3700u proc, 16gb Ram , SSD
   last errors:
   ```
   [error] 2020-07-14T19:16:09.909029Z couchdb@127.0.0.1 <0.18562.88> 23794d840a req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-07-14T19:16:09.915970Z couchdb@127.0.0.1 <0.19757.88> cd5af352db req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-07-14T19:17:08.686461Z couchdb@127.0.0.1 <0.31109.97> 0eceb5635e req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-07-14T19:17:08.703069Z couchdb@127.0.0.1 <0.31500.97> 924c75301e req_err(50502807) unknown_error : normal
       [<<"chttpd:catch_error/3 L358">>,<<"chttpd:handle_req_after_auth/2 L324">>,<<"chttpd:process_request/1 L305">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L150">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   ```
   couchdb server fall down and not responding. docker container didn't restart


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



[GitHub] [couchdb] ahmedsajid edited a comment on issue #1600: Sporadic `unknown_error : normal` errors

Posted by GitBox <gi...@apache.org>.
ahmedsajid edited a comment on issue #1600:
URL: https://github.com/apache/couchdb/issues/1600#issuecomment-650867061


   I have recently started noticing these normal errors too. This seems to be causing problem on application side where the application has to retry the query.
   I see plenty of CPU and memory available. CouchDB running on NVMe.
   
   CouchDB Containerized 2.3.1
   doc_count 1146523
   
   ```
   [error] 2020-06-29T01:47:40.135242Z nonode@nohost <0.16344.1747> d9b86d05d1 req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:52:16.800967Z nonode@nohost <0.7070.1747> 6e3f86e7d2 req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:52:37.457872Z nonode@nohost <0.22879.1746> dd23899df1 req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:53:38.011332Z nonode@nohost <0.13826.1747> f017584ecd req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:54:21.724277Z nonode@nohost <0.10653.1738> a29cd9aab0 req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:54:23.644179Z nonode@nohost <0.25576.1746> 38ad2a22d1 req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:54:44.433040Z nonode@nohost <0.14191.1747> 1d48919e2f req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:54:50.377741Z nonode@nohost <0.29280.1747> c5d56778d0 req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   [error] 2020-06-29T01:55:01.151052Z nonode@nohost <0.22135.1747> 1f97463eea req_err(1125717067) unknown_error : normal
       [<<"chttpd:catch_error/3 L356">>,<<"chttpd:handle_req_after_auth/2 L322">>,<<"chttpd:process_request/1 L303">>,<<"chttpd:handle_request_int/1 L243">>,<<"mochiweb_http:headers/6 L128">>,<<"proc_lib:init_p_do_apply/3 L247">>]
   ```
   


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