ActiveMQ Connection Problem?
See original GitHub issueAs soon as I try to connect to ActiveMQ 5.14.5,
activemq_connection = Connection("amqp://" + username + ":" + password + "@" + ip + ":5672//")
activemq_connection.connect()
activemq_publisher = activemq_connection.SimpleQueue("file")
python crashes:
Traceback (most recent call last):
File "./send_activemq.py", line 317, in <module>
mq_connect(server_ip,'user','password')
File "./send_activemq.py", line 268, in mq_connect
activemq_connection.connect()
File "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 261, in connect
return self.connection
File "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 802, in connection
self._connection = self._establish_connection()
File "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 757, in _establish_connection
conn = self.transport.establish_connection()
File "/usr/local/lib/python2.7/dist-packages/kombu/transport/pyamqp.py", line 130, in establish_connection
conn.connect()
File "/usr/local/lib/python2.7/dist-packages/amqp/connection.py", line 300, in connect
self.drain_events(timeout=self.connect_timeout)
File "/usr/local/lib/python2.7/dist-packages/amqp/connection.py", line 464, in drain_events
return self.blocking_read(timeout)
File "/usr/local/lib/python2.7/dist-packages/amqp/connection.py", line 468, in blocking_read
frame = self.transport.read_frame()
File "/usr/local/lib/python2.7/dist-packages/amqp/transport.py", line 247, in read_frame
payload = read(size)
File "/usr/local/lib/python2.7/dist-packages/amqp/transport.py", line 385, in _read
raise IOError('Socket closed')
IOError: Socket closed
AMQP tells me this:
WARN | Connection attempt from non AMQP v1.0 client. AMQP,1,1,0,9
WARN | Transport Connection to: tcp://IP:59230 failed: org.apache.activemq.transport.amqp.AmqpProtocolException: Connection from client using unsupported AMQP attempted
WARN | Transport Connection to: tcp://IP:36818 failed: java.net.SocketException: Connection reset
qpid does also not work as transport… How can I get this working? Thanks a lot 😃!
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
I am not receiving any messages, what is wrong - ActiveMQ
A very common gotcha when working with JMS is forgetting to start the JMS connection, creating a consumer and not having it receive...
Read more >ActiveMQ Dead Connection issue - apache - Stack Overflow
After some usage am facing error as max connections exceeded in activeMQ,i have gone through activemq console and found a lot of the...
Read more >Troubleshooting: Amazon MQ for ActiveMQ
Use the information in this section to help you diagnose and resolve common issues you might encounter when working with Amazon MQ for...
Read more >ActiveMQ cannot connect with useJMX = true with master ...
Steps to Reproduce the Problem. Setup two hosts (master + slave in "Connection" - Queue Manager: Apache ActiveMQ
Read more >How to fix ActiveMQ transport issue? - IBM
The HPC use ActiveMQ 5.4.2, sometimes it generates the below error message in ActiveMq logs ... INFO | Connector openwire Started | org.apache.activemq.broker....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yup, that’s it. I’m going to close this issue since it’s not a bug.
Could this be an authentication error?