Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid spamming the console with "Connection refused" when elasticsearch connection is not available #370

Closed
teosarca opened this issue May 12, 2017 · 1 comment

Comments

@teosarca
Copy link
Member

Stacktrace:

2017-05-12 20:08:59.918  INFO 8944 [                ][          ] --- [][generic][T#2]] org.elasticsearch.client.transport       : [Tana Nile] failed to connect to node [{#transport#-1}{127.0.0.1}{127.0.0.1:9300}], removed from nodes list

org.elasticsearch.transport.ConnectTransportException: [][127.0.0.1:9300] connect_timeout[30s]
	at org.elasticsearch.transport.netty.NettyTransport.connectToChannelsLight(NettyTransport.java:967)
	at org.elasticsearch.transport.netty.NettyTransport.connectToNode(NettyTransport.java:933)
	at org.elasticsearch.transport.netty.NettyTransport.connectToNodeLight(NettyTransport.java:906)
	at org.elasticsearch.transport.TransportService.connectToNodeLight(TransportService.java:267)
	at org.elasticsearch.client.transport.TransportClientNodesService$SimpleNodeSampler.doSample(TransportClientNodesService.java:390)
	at org.elasticsearch.client.transport.TransportClientNodesService$NodeSampler.sample(TransportClientNodesService.java:336)
	at org.elasticsearch.client.transport.TransportClientNodesService$ScheduledNodeSampler.run(TransportClientNodesService.java:369)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused: no further information: localhost/127.0.0.1:9300
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
	at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152)
	at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105)
	at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79)
	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
	at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42)
	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
	... 3 common frames omitted
@teosarca teosarca added this to the 2017-20 milestone May 12, 2017
teosarca added a commit that referenced this issue May 12, 2017
@teosarca
Copy link
Member Author

tested locally, works.

metas-ts added a commit to metasfresh/metasfresh that referenced this issue May 18, 2017
[#743](metasfresh/metasfresh-webui-frontend-legacy#743) modal panel: background looks a bit ugly
[#377](metasfresh/metasfresh-webui-api-legacy#377) Don't show zoom-to for non-zoom reference Lists
[#366](metasfresh/metasfresh-webui-api-legacy#366) Make Permission change active without server cache reset
[#372](metasfresh/metasfresh-webui-api-legacy#372) backend: endpoint for creating a filtered view
[#1521](#1521) standard database: add SSCC attribute to "DIM_Barcode_Attributes" dimension spec
[#1517](#1517) intern: refactor LanguageDAO and LanguageBL
[#369](metasfresh/metasfresh-webui-api-legacy#369) adding role to user does not work
[#679](metasfresh/metasfresh-webui-frontend-legacy#679) Record selection behavior w/ browser back/ forward
[#707](metasfresh/metasfresh-webui-frontend-legacy#707) Page popup shall be closed when clicking o a page
[#715](metasfresh/metasfresh-webui-frontend-legacy#715) KPI widgets shall have the same height
[#732](metasfresh/metasfresh-webui-frontend-legacy#732) issue not opening on single document
[#734](metasfresh/metasfresh-webui-frontend-legacy#734) included view: don't reset when closing an error notification
[#362](metasfresh/metasfresh-webui-api-legacy#362) Add filters in Handling Units window
[#363](metasfresh/metasfresh-webui-api-legacy#363) make LU not mandatory in Receive HUs
[#364](metasfresh/metasfresh-webui-api-legacy#364) Replace HU editor's Barcode quick action with Barcode filter
[#370](metasfresh/metasfresh-webui-api-legacy#370) Avoid spamming the console with "Connection refused" when elasticsearch connection is not available

me-45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants