Hey all,
I have Couchbase and Sync Gateway sitting on the same server, and it's been working fine for a few days, but all of a sudden, some 502 errors were being spit out:
22:32:38.450345 ==== Couchbase Sync Gateway/1.0.4(34;04138fd) ====
22:32:38.450362 Opening db /db as bucket "app-data", pool "default", server <http://localhost:8091>
22:32:38.450448 Opening Couchbase database app-data on <http://localhost:8091>
22:32:38.451077 FATAL: Error opening database: 502 Unable to connect to server: Get http://localhost:8091/pools: dial tcp 127.0.0.1:8091: connection refused -- rest.RunServer() at config.go:415
Has anyone ever seen this before? I didn't touch either SG or CB, and it just stopped working at some point.
To fix it, I restarted both Couchbase and SG, and it just started working again...
Follow up: Are there any auto-reload services for SG or CB?
Thanks!
-SJ
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/couchbase/DB0Afd8XmtM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to couchbase+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
21:47:13.161253 Enabling logging: [HTTP+ CRUD+ HTTP CRUD Access]
21:47:13.161291 ==== Couchbase Sync Gateway/1.0.3(81;fa9a6e7) ====
21:47:13.161310 Opening db /iserv_db as bucket "iServ", pool "default", server <http://localhost:8091>
21:47:13.161379 Opening Couchbase database iServ on <http://localhost:8091>
21:47:13.162083 FATAL: Error opening database: 502 Unable to connect to server: Get http://localhost:8091/pools: dial tcp 127.0.0.1:8091: connection refused -- rest.RunServer() at config.go:415
21:47:13.180277 Enabling logging: [HTTP+ CRUD+ HTTP CRUD Access]
21:47:13.180313 ==== Couchbase Sync Gateway/1.0.3(81;fa9a6e7) ====
21:47:13.180354 Opening db /iserv_db as bucket "iServ", pool "default", server <http://localhost:8091>
21:47:13.180402 Opening Couchbase database iServ on <http://localhost:8091>
21:47:13.180980 FATAL: Error opening database: 502 Unable to connect to server: Get http://localhost:8091/pools: dial tcp 127.0.0.1:8091: connection refused -- rest.RunServer() at config.go:415