Skip to content

Instantly share code, notes, and snippets.

@mz2
Created August 2, 2018 09:10
Show Gist options
  • Select an option

  • Save mz2/343bbbaaed47f383ec144776fb8f3993 to your computer and use it in GitHub Desktop.

Select an option

Save mz2/343bbbaaed47f383ec144776fb8f3993 to your computer and use it in GitHub Desktop.
Sync Gateway hangs at "Using plain authentication for user…" when starting up
sync_gateway_1 | 2018-08-02T01:43:34.202Z ==== Couchbase Sync Gateway/HEAD(nobranch)(508346b) ====
sync_gateway_1 | 2018-08-02T01:43:34.202Z [WRN] Using deprecated config option: "log". Use "logging.console.log_keys" instead. -- rest.(*ServerConfig).deprecatedConfigLoggingFallback.func5() at config.go:656
sync_gateway_1 | 2018-08-02T01:43:34.202Z [ERR] No logFilePath configured, and --defaultLogFilePath flag is not set. Log files required for product support are not being generated. -- base.(*LoggingConfig).Init.func1() at logging_config.go:55
sync_gateway_1 | 2018-08-02T01:43:34.202Z [INF] Console LogKeys: [* HTTP]
sync_gateway_1 | 2018-08-02T01:43:34.202Z [INF] Console LogLevel: info
sync_gateway_1 | 2018-08-02T01:43:34.202Z [INF] Log Redaction Level: none
sync_gateway_1 | 2018-08-02T01:43:34.202Z [INF] requestedSoftFDLimit < currentSoftFdLimit (5000 < 1048576) no action needed
sync_gateway_1 | 2018-08-02T01:43:34.202Z [INF] Opening db /library as bucket "library", pool "default", server <http://couchbase>
sync_gateway_1 | 2018-08-02T01:43:34.203Z [INF] GoCBCustomSGTranscoder Opening Couchbase database library on <http://couchbase> as user "library"
sync_gateway_1 | 2018-08-02T01:43:34.206Z [INF] Auth: Attempting credential authentication http://couchbase?http_idle_conn_timeout=90000&http_max_idle_conns=64000&http_max_idle_conns_per_host=256
sync_gateway_1 | 2018-08-02T01:43:34.210Z [INF] Successfully opened bucket
sync_gateway_1 | 2018-08-02T01:43:34.210Z [ERR] gocb: memdClient read failure: read tcp 172.25.0.3:42844->172.25.0.2:11210: use of closed network connection -- base.GoCBCoreLogger.Log() at logger_external.go:47
sync_gateway_1 | 2018-08-02T01:43:34.210Z [ERR] gocb: Failed to shut down client connection (close tcp 172.25.0.3:42844->172.25.0.2:11210: use of closed network connection) -- base.GoCBCoreLogger.Log() at logger_external.go:47
sync_gateway_1 | 2018-08-02T01:43:34.214Z [INF] Initializing indexes with numReplicas: 0...
sync_gateway_1 | 2018-08-02T01:43:34.439Z [INF] Query: Index sg_channels_1 doesn't exist, creating...
sync_gateway_1 | 2018-08-02T01:43:34.857Z [INF] Query: Index sg_channels_1 created successfully
sync_gateway_1 | 2018-08-02T01:43:35.007Z [INF] Query: Index sg_allDocs_1 doesn't exist, creating...
sync_gateway_1 | 2018-08-02T01:43:35.393Z [INF] Query: Index sg_allDocs_1 created successfully
sync_gateway_1 | 2018-08-02T01:43:35.484Z [INF] Query: Index sg_syncDocs_1 doesn't exist, creating...
sync_gateway_1 | 2018-08-02T01:43:35.932Z [INF] Query: Index sg_syncDocs_1 created successfully
sync_gateway_1 | 2018-08-02T01:43:36.024Z [INF] Query: Index sg_access_1 doesn't exist, creating...
sync_gateway_1 | 2018-08-02T01:43:36.410Z [INF] Query: Index sg_access_1 created successfully
sync_gateway_1 | 2018-08-02T01:43:36.498Z [INF] Query: Index sg_roleAccess_1 doesn't exist, creating...
sync_gateway_1 | 2018-08-02T01:43:36.904Z [INF] Query: Index sg_roleAccess_1 created successfully
sync_gateway_1 | 2018-08-02T01:43:36.996Z [INF] Query: Building deferred indexes: [sg_syncDocs_1 sg_roleAccess_1 sg_allDocs_1 sg_channels_1 sg_access_1]
sync_gateway_1 | 2018-08-02T01:43:41.060Z [INF] Verifying index availability for bucket library...
sync_gateway_1 | 2018-08-02T01:43:41.070Z [INF] Indexes ready for bucket library.
sync_gateway_1 | 2018-08-02T01:43:41.071Z [INF] Cache: Initializing changes cache with options {ChannelCacheOptions:{ChannelCacheMinLength:0 ChannelCacheMaxLength:0 ChannelCacheAge:0s} CachePendingSeqMaxWait:5s CachePendingSeqMaxNum:10000 CacheSkippedSeqMaxWait:1h0m0s}
sync_gateway_1 | 2018-08-02T01:43:41.071Z [INF] Initializing changes cache for database library
sync_gateway_1 | 2018-08-02T01:43:41.071Z [INF] DCP: Starting mutation feed on bucket library due to either channel cache mode or doc tracking (auto-import/bucketshadow)
sync_gateway_1 | 2018-08-02T01:43:41.071Z [INF] DCP: Using DCP feed for bucket: "library" (based on feed_type specified in config file)
sync_gateway_1 | 2018-08-02T01:43:41.144Z [INF] CBGoUtilsLogger: Using plain authentication for user <ud>library</ud>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment