Using ES 5.4, the configuration for local development is always fine, but starting the app in a production cluster giving me SOMETIMES:
It happends quite randomly and quite often. I restart the container where the application is running a few more times and it connects over transport client to the cluster and index data. it can also happen that it connects a few times in a row and then it starts not connecting. Connecting i mean each time i start the container and the application builds the configuration initialization for ES.
I am using following parameters for Settings:
"client.transport.sniff" is always false,
What might be the cause?