AWS Document DB for mongodb

(Vinny) #1

I was wondering if anyone has used AWS Document DB for Graylog instead of MongoDB?

0 Likes

(Jan Doberstein) #2

with the latest release AWS Document DB is not compatible with Graylog - as this is not compatible with MongoDB 3.6 what is minimal needed for Graylog

0 Likes

(Vinny) #3

Oh okay. Thanks for replying back to me. I was just assume since on AWS Document DB, they said “Amazon DocumentDB implements the Apache 2.0 open source MongoDB 3.6 API…” (https://aws.amazon.com/documentdb/) I have disabled TLS for testing purpose and seems like its having timeout issues.

2019-03-30 02:02:24,386 INFO : org.mongodb.driver.cluster - Exception in monitor thread while connecting to server {GRAYLOG_URL}.docdb.amazonaws.com:27017
com.mongodb.MongoSocketReadTimeoutException: Timeout while receiving message
	at com.mongodb.connection.InternalStreamConnection.translateReadException(InternalStreamConnection.java:530) ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnection.receiveMessage(InternalStreamConnection.java:421) ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:290) ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnection.sendAndReceive(InternalStreamConnection.java:255) ~[graylog.jar:?]
	at com.mongodb.connection.CommandHelper.sendAndReceive(CommandHelper.java:84) ~[graylog.jar:?]
	at com.mongodb.connection.CommandHelper.executeCommand(CommandHelper.java:34) ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnectionInitializer.initializeConnectionDescription(InternalStreamConnectionInitializer.java:91) ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnectionInitializer.initialize(InternalStreamConnectionInitializer.java:51) ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:127) ~[graylog.jar:?]
	at com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:114) [graylog.jar:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_181]
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[?:1.8.0_181]
	at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[?:1.8.0_181]
	at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_181]
	at com.mongodb.connection.SocketStream.read(SocketStream.java:84) ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnection.receiveResponseBuffers(InternalStreamConnection.java:547) ~[graylog.jar:?]
	at com.mongodb.connection.InternalStreamConnection.receiveMessage(InternalStreamConnection.java:418) ~[graylog.jar:?]
	... 9 more
2019-03-30 02:02:34,299 ERROR: org.graylog2.bindings.providers.MongoConnectionProvider - Error connecting to MongoDB: Timed out after 30000 ms while waiting for a server that matches com.mongodb.Mongo$4@bb25753. Client view of cluster state is {type=REPLICA_SET, servers=[{address={GRAYLOG_URL}.docdb.amazonaws.com:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadTimeoutException: Timeout while receiving message}, caused by {java.net.SocketTimeoutException: Read timed out}}]
0 Likes

(Jan Doberstein) #4

You want to read: https://github.com/Graylog2/graylog2-server/issues/3866

1 Like

(system) closed #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

0 Likes