sync_gateway config files.zip (1.4 KB)
Hi. I get the following error when trying to start sync gateway after upgrading from 1.2 to 1.3:
2016-09-23T13:06:50.727-05:00 ==== Couchbase Sync Gateway/1.3.0(274;8c3ee28) ==== 2016-09-23T13:06:50.727-05:00 requestedSoftFDLimit < currentSoftFdLimit (5000 < 65535) no action needed 2016-09-23T13:06:50.727-05:00 Opening db /db as bucket "test_app", pool "default", server < https://myserver:8091> 2016-09-23T13:06:50.727-05:00 Opening Couchbase database test_app on <https://myserver:8091> 2016-09-23T13:06:50.730-05:00 FATAL: Error opening database: 502 Unable to connect to Couchbase Server (connection refused). Please ensure it is running and reachable at the configured host and port. Detailed error: Get https://myserver:8091/pools: tls: oversized record received with length 20527 -- rest.RunServer() at config.go:681
Changing the sync gateway config file allowed me to successfully restart sync gateway:
"adminInterface": "localhost:4985", "databases":<dbname>:"server": "https://myserver:8091",
"adminInterface": "myserver:4985", "databases":<dbname>:"server": "http://myserver:8091",
Why was it necessary to change the sync gateway configuration file? In case it helps, please see the attached zip file for the 2 config files.