Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-650

Intermittent java.net.SocketTimeoutException | readTimeout during user creation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 2.7.0
    • SyncGateway
    • Security Level: Public
    • None

    Description

      I am seeing java.net.SocketTimeoutException | readTimeOut exception during user creation 

      This issue is seen only when Mad-Hatter Couchbase build is used and is not seen in any pre MH version .

      Client side readTimeout is set to 5 seconds .
      requestBuilder = requestBuilder.setSocketTimeout(readTimeout);
      private int readTimeout = 5000;
       

      Here is a snippet of timeout error observed in sg_logs :

      "2019-12-23T11:32:52.304-08:00 [INF] Query: N1QL Query("roleAccess") took 1m15.000275961s

      2019-12-23T11:32:52.304-08:00 [WRN] channelComputer.ComputeRolesForUser failed on user sg-user-585: Timeout performing Query – auth.(*Authenticator).rebuildRoles() at auth.go:199

      2019-12-23T11:32:52.304-08:00 [ERR] c:#115 #115: Timeout performing Query – rest.(*handler).writeError() at handler.go:724

      2019-12-23T11:32:52.304-08:00 [INF] HTTP: #115:     --> 503 Timeout performing Query  (75030.1 ms)"

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              sharath.sulochana Sharath Sulochana (Inactive)
              sharath.sulochana Sharath Sulochana (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty