Security Level: Public
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)"