Closed krish4 closed 5 years ago
Little or no help is possible without error messages.
Timeouts can occur when code uses SSL but connects to a non-ssl port. Check that.
Quit using a failover:// URL. Follow the gem recommendations, which is to use a 'hash' login.
Quit saying something is attached, when there is nothing there.
ok..I will use the hash login..
Thanks for the reply
Closing this due to lack of further information from the OP. Please re-open with additional examples if that is possible.
here are the sample data i have,
url: failover:(ssl://ec2-53-163-43-44.us-west-1.compute.amazonaws.com:61613?wireFormat.maxInactivityDuration=1200000) username: docadeeccess password: Ddddccess
additional ssl parameters. trust store: doc-client.ts (file attached) trust store password: KEYsfft0r3Scrt key store: doc-client.ks (file attached) key store password: KEYst0r3ffScrt
additional/optional parameters reliable: true
queue name: DOC_REQUEST
I'm having below code
@login1='docaccrrress' @passcode1='D0cCorrn@ccttess' @options = "initialReconnectDelay=5000&randomize=false&useExponentialBackOff=false" @remotehost1='ec2-53-163-43-44.us-west-1.compute.amazonaws.com' client = Stomp::Client.new("failover:(stomp+ssl://#{@login1}:#{@passcode1}@#{@remotehost1}:61613)?#{@options}")
please correct my code and help me connection establishment