openhab-cloud icon indicating copy to clipboard operation
openhab-cloud copied to clipboard

When using mongo DB on a server with 2 x OH2 cloud instances

Open dastrix80 opened this issue 5 years ago • 0 comments

Hi All

Using 2 x EC2 Cloud instances. I have moved the database off these boxes onto a seperate instance and then placed a AWS ELB infront.

When having the two EC2 boxes talk to the DB, I get errors. If I shut down 1 server, it works just fine. Any thoughts? Thanks

12:12:37.036 [ERROR] [.io.openhabcloud.internal.CloudClient] - Socket.IO error: {} io.socket.engineio.client.EngineIOException: xhr poll error at io.socket.engineio.client.Transport.onError(Transport.java:71) [225:org.openhab.io.openhabcloud:2.4.0] at io.socket.engineio.client.transports.PollingXHR.access$100(PollingXHR.java:19) [225:org.openhab.io.openhabcloud:2.4.0] at io.socket.engineio.client.transports.PollingXHR$6$1.run(PollingXHR.java:124) [225:org.openhab.io.openhabcloud:2.4.0] at io.socket.thread.EventThread$2.run(EventThread.java:80) [225:org.openhab.io.openhabcloud:2.4.0] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] Caused by: java.io.IOException: 400 at io.socket.engineio.client.transports.PollingXHR$Request$1.run(PollingXHR.java:218) ~[?:?] ... 1 more

dastrix80 avatar Sep 07 '19 02:09 dastrix80