(Migrated) Problem creating ZMQ channel

(This message has been automatically imported from the retired mailing list)

Hi,

I’m trying to create a new ZMQ channel. I fill in the form giving it an
address like tcp://0.0.0.0:123321 and enter the name of an existing
service. I press OK, and no error messages are shown.

Afterwards, when I list the service, the channel is shown under the
headline ‘Channels and scheduler’. But when I press the link for the
channel, I get to page page saying ‘No results’. Same thing happens when
I choose Channels > ZeroMQ from the menu, select the service and click
’Show channels’ - no channels are showed.

Finn Gruwier Larsen

On 11/24/2013 01:00 PM, Finn Gruwier Larsen wrote:

I’m trying to create a new ZMQ channel. I fill in the form giving it an
address like tcp://0.0.0.0:123321 and enter the name of an existing
service. I press OK, and no error messages are shown.

Afterwards, when I list the service, the channel is shown under the
headline ‘Channels and scheduler’. But when I press the link for the
channel, I get to page page saying ‘No results’. Same thing happens when
I choose Channels > ZeroMQ from the menu, select the service and click
’Show channels’ - no channels are showed.

Hi Finn,

I cannot reproduce it, can you please open server logs and post entries
around the time the channel is created? As you can see below, there
should be information about

  • its configuration
  • that it connect to the cluster’s broker (Redis)
  • that it started a ZeroMQ socket (here PULL)

Here’s how it looks like locally - running from git master, what is your
version?

By the way - the port part of tcp://0.0.0.0:123321 is incorrect in your
example, I’ve used 3355 below.

2013-11-24 14:12:14,987 - INFO - 3041:Dummy-97 -
zato.channel.zmq.create:22 -
cid:[K063771587902349484930871764353149765717],
name:[zato.channel.zmq.create], SIO request:[{u’name’: u’My ZMQ
Channel’, u’service’: u’zato.ping’, u’is_active’: True, u’data_format’:
None, u’socket_type’: u’PULL’, u’cluster_id’: 1, u’address’:
u’tcp://0.0.0.0:3355’, u’sub_key’: None}]

2013-11-24 14:12:15,066 - INFO - 3041:Dummy-97 -
zato.channel.zmq.create:22 -
cid:[K063771587902349484930871764353149765717],
name:[zato.channel.zmq.create],
response:[{“zato_channel_zmq_create_response”: {“id”: 5, “name”: “My ZMQ
Channel”}}]

2013-11-24 14:12:16,084 - INFO -
3596:zmq-consuming-connector-K156294722986659862735341595011556299993 -
zato.broker.thread_client:22 - Starting broker client, host:[localhost],
port:[6379],
name:[zmq-consuming-connector-K156294722986659862735341595011556299993],
topics:[[’/zato/connector/zmq/all’, ‘/zato/connector/zmq/consuming/all’]]

2013-11-24 14:12:16,604 - INFO - 3596:Thread-5 - zato.common.zmq_:22 -
Starting PULL [zmq-connector-My ZMQ Channel/tcp://0.0.0.0:3355]

On 11/24/2013 01:00 PM, Finn Gruwier Larsen wrote:

I’m trying to create a new ZMQ channel. I fill in the form giving it an
address like tcp://0.0.0.0:123321 and enter the name of an existing
service. I press OK, and no error messages are shown.

Afterwards, when I list the service, the channel is shown under the
headline ‘Channels and scheduler’. But when I press the link for the
channel, I get to page page saying ‘No results’. Same thing happens when
I choose Channels > ZeroMQ from the menu, select the service and click
’Show channels’ - no channels are showed.

Hi Finn,

I cannot reproduce it, can you please open server logs and post entries
around the time the channel is created? As you can see below, there
should be information about

  • its configuration
  • that it connect to the cluster’s broker (Redis)
  • that it started a ZeroMQ socket (here PULL)

Here’s how it looks like locally - running from git master, what is your
version?

By the way - the port part of tcp://0.0.0.0:123321 is incorrect in your
example, I’ve used 3355 below.

2013-11-24 14:12:14,987 - INFO - 3041:Dummy-97 -
zato.channel.zmq.create:22 -
cid:[K063771587902349484930871764353149765717],
name:[zato.channel.zmq.create], SIO request:[{u’name’: u’My ZMQ
Channel’, u’service’: u’zato.ping’, u’is_active’: True, u’data_format’:
None, u’socket_type’: u’PULL’, u’cluster_id’: 1, u’address’:
u’tcp://0.0.0.0:3355’, u’sub_key’: None}]

2013-11-24 14:12:15,066 - INFO - 3041:Dummy-97 -
zato.channel.zmq.create:22 -
cid:[K063771587902349484930871764353149765717],
name:[zato.channel.zmq.create],
response:[{“zato_channel_zmq_create_response”: {“id”: 5, “name”: “My ZMQ
Channel”}}]

2013-11-24 14:12:16,084 - INFO -
3596:zmq-consuming-connector-K156294722986659862735341595011556299993 -
zato.broker.thread_client:22 - Starting broker client, host:[localhost],
port:[6379],
name:[zmq-consuming-connector-K156294722986659862735341595011556299993],
topics:[[’/zato/connector/zmq/all’, ‘/zato/connector/zmq/consuming/all’]]

2013-11-24 14:12:16,604 - INFO - 3596:Thread-5 - zato.common.zmq_:22 -
Starting PULL [zmq-connector-My ZMQ Channel/tcp://0.0.0.0:3355]

It works!

Finn

Den 24-11-2013 16:47, Dariusz Suchojad skrev:

On 11/24/2013 04:34 PM, Finn Gruwier Larsen wrote:

I’ll send the log file to you directly.
Log file well received, can you please pull the hotfixes

https://zato.io/docs/admin/guide/hotfixes.html

and tell me if it helped?

thanks a lot,