2015-11-02 14 views
5

sto cercando di iniziare sync_gateway da cmd con seguente comando:in grado di connettersi tramite sync_gateway al server remoto

sync_gateway -url http://75.76.221.21:8091 

ho ricevuto seguente errore:

20:33:23.014229 WARNING: Error installing Couchbase design doc: Put http://192.168.2.102:8092/sync_gateway/_design/sync_gateway : dial tcp 192.168.2.102:8092: ConnectEx tcp: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. -- db.installViews() at database.go:29120:33:44.055739

WARNING: Error installing Couchbase design doc: Put http:/_design/sync_housekeeping: dial tcp 192.168.2.102:8092: ConnectExtcp: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. -- db.installViews() at database.go:30520:33:44.055739

FATAL: Error opening database: Put 192.168.2.102:8092/omnibazaar/_design/sync_housekeeping: dial tcp 192.168.2.102:8092: ConnectEx tcp: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. -- rest.RunServer() at config.go:415

+0

Questa domanda sembra familiare. Lo hai anche chiesto nei nostri forum? – borrrden

risposta

1

Come hai fatto a nome i nodi nella vostra Istanza di Couchbase? Se si guarda la scheda Nodi server, uno dei nodi è denominato "192.168.2.102". Vedo che dalla tua macchina gateway di sincronizzazione, stai cercando di raggiungere il cluster Couchbase usando l'indirizzo 75.76.221.21. Hai controllato la connettività di rete, dal tuo computer di gateway di sincronizzazione, prova "telnet 192.168.2.102 8092" e verifica se si connette.

Un'altra cosa, è più comune avviare il gateway di sincronizzazione reindirizzando in un file di configurazione, è possibile trovarli nella directory degli esempi. Ad esempio "sync_gateway < examples/config-server.json"

Problemi correlati