-
Notifications
You must be signed in to change notification settings - Fork 52
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
Group CHAT not found #141
Comments
Works fine here:
|
Hey,
Thanks for your response.
I used the version exactly as stated in the readme.
But my output is:
using Python native module No module named 'zyre_pyzmq'
<pyre.zsocket.ZSocket object at 0x7f15120df250>
<pyre.zsocket.ZSocket object at 0x7f15120df250>
Hi
Group CHAT not found.
<pyre.zsocket.ZSocket object at 0x7f15120df250> {<zmq.sugar.socket.Socket
object at 0x7f1515cd9660>: 1}
CHAT_TASK: b'Hi'
Hello World
<pyre.zsocket.ZSocket object at 0x7f15120df250> {<zmq.sugar.socket.Socket
object at 0x7f1515cd9660>: 1}
CHAT_TASK: b'Hello World'
Group CHAT not found.
Do you have any idea, what could be the problem?
Any port option on my computer or something?
Best,
Jonathan
Am Di., 13. Aug. 2019 um 12:23 Uhr schrieb Arnaud Loonstra <
[email protected]>:
… Works fine here:
using Python native module No module named 'zyre_pyzmq'
<pyre.zsocket.ZSocket object at 0x7f47f18d0730>
<pyre.zsocket.ZSocket object at 0x7f47f18d0730>
<pyre.zsocket.ZSocket object at 0x7f47f18d0730> {<pyre.zsocket.ZSocket object at 0x7f47f18d0730>: 1}
HMMM
HMMM [b'ENTER', b'\x0c}!\xe8\xc5\x08G\x7f\x9e \xe4e\xdb\xdb\xcc\xc5', b'CHAT', b'{"CHAT_Header1":"example header1","CHAT_Header2":"example header2"}', b'tcp://10.2.4.190:34645']
NODE_MSG TYPE: b'ENTER'
NODE_MSG PEER: 0c7d21e8-c508-477f-9e20-e465dbdbccc5
NODE_MSG NAME: b'CHAT'
NODE_MSG HEADERS: {'CHAT_Header1': 'example header1', 'CHAT_Header2': 'example header2'}
key = CHAT_Header1, value = example header1
key = CHAT_Header2, value = example header2
NODE_MSG CONT: [b'tcp://10.2.4.190:34645']
<pyre.zsocket.ZSocket object at 0x7f47f18d0730> {<pyre.zsocket.ZSocket object at 0x7f47f18d0730>: 1}
HMMM
HMMM [b'JOIN', b'\x0c}!\xe8\xc5\x08G\x7f\x9e \xe4e\xdb\xdb\xcc\xc5', b'CHAT', b'CHAT']
NODE_MSG TYPE: b'JOIN'
NODE_MSG PEER: 0c7d21e8-c508-477f-9e20-e465dbdbccc5
NODE_MSG NAME: b'CHAT'
NODE_MSG CONT: [b'CHAT']
hoi
<pyre.zsocket.ZSocket object at 0x7f47f18d0730> {<zmq.sugar.socket.Socket object at 0x7f47f22003f0>: 1}
CHAT_TASK: b'hoi'
using Python native module No module named 'zyre_pyzmq'
<pyre.zsocket.ZSocket object at 0x7fb1a6aea118>
<pyre.zsocket.ZSocket object at 0x7fb1a6aea118>
<pyre.zsocket.ZSocket object at 0x7fb1a6aea118> {<pyre.zsocket.ZSocket object at 0x7fb1a6aea118>: 1}
HMMM
HMMM [b'ENTER', b'/\xcbv\xa7\x8b\xe6F\xcb\xa8\x8c\xad\xd5\x82\xff\xa50', b'CHAT', b'{"CHAT_Header1":"example header1","CHAT_Header2":"example header2"}', b'tcp://10.2.4.190:46217']
NODE_MSG TYPE: b'ENTER'
NODE_MSG PEER: 2fcb76a7-8be6-46cb-a88c-add582ffa530
NODE_MSG NAME: b'CHAT'
NODE_MSG HEADERS: {'CHAT_Header1': 'example header1', 'CHAT_Header2': 'example header2'}
key = CHAT_Header1, value = example header1
key = CHAT_Header2, value = example header2
NODE_MSG CONT: [b'tcp://10.2.4.190:46217']
<pyre.zsocket.ZSocket object at 0x7fb1a6aea118> {<pyre.zsocket.ZSocket object at 0x7fb1a6aea118>: 1}
HMMM
HMMM [b'JOIN', b'/\xcbv\xa7\x8b\xe6F\xcb\xa8\x8c\xad\xd5\x82\xff\xa50', b'CHAT', b'CHAT']
NODE_MSG TYPE: b'JOIN'
NODE_MSG PEER: 2fcb76a7-8be6-46cb-a88c-add582ffa530
NODE_MSG NAME: b'CHAT'
NODE_MSG CONT: [b'CHAT']
<pyre.zsocket.ZSocket object at 0x7fb1a6aea118> {<pyre.zsocket.ZSocket object at 0x7fb1a6aea118>: 1}
HMMM
HMMM [b'SHOUT', b'/\xcbv\xa7\x8b\xe6F\xcb\xa8\x8c\xad\xd5\x82\xff\xa50', b'CHAT', b'CHAT', b'hoi']
NODE_MSG TYPE: b'SHOUT'
NODE_MSG PEER: 2fcb76a7-8be6-46cb-a88c-add582ffa530
NODE_MSG NAME: b'CHAT'
NODE_MSG GROUP: b'CHAT'
NODE_MSG CONT: [b'hoi']
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#141?email_source=notifications&email_token=ADKFW72EDMWALVZ6MLEJ5YDQEKDSTA5CNFSM4IK2E47KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FHJ4Q#issuecomment-520778994>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADKFW7YNTRGDJ5PMT4HURUTQEKDSTANCNFSM4IK2E47A>
.
|
no idea, did you start 2 nodes before chatting? what platform are you on? you should see enter events if they see each other. |
Hi,
I am on Ubuntu 18.04.3.
If I start the second node, there does not happen anything in the first.
At some point some weeks ago, it worked. However I don't know what I should
have changed since then.
Am Di., 13. Aug. 2019 um 15:15 Uhr schrieb Arnaud Loonstra <
[email protected]>:
… no idea, did you start 2 nodes before chatting? what platform are you on?
you should see enter events if they see each other.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#141?email_source=notifications&email_token=ADKFW75X2UF54SUXZW2PJV3QEKXVXA5CNFSM4IK2E47KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FTU6I#issuecomment-520829561>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADKFW73WBAO5VML25UKNVGLQEKXVXANCNFSM4IK2E47A>
.
|
I also tested it on another device, with Zorin(also Ubuntu based) and it
did not work either.
Am Di., 13. Aug. 2019 um 15:25 Uhr schrieb Jonathan Loos <
[email protected]>:
… Hi,
I am on Ubuntu 18.04.3.
If I start the second node, there does not happen anything in the first.
At some point some weeks ago, it worked. However I don't know what I
should have changed since then.
Am Di., 13. Aug. 2019 um 15:15 Uhr schrieb Arnaud Loonstra <
***@***.***>:
> no idea, did you start 2 nodes before chatting? what platform are you on?
> you should see enter events if they see each other.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#141?email_source=notifications&email_token=ADKFW75X2UF54SUXZW2PJV3QEKXVXA5CNFSM4IK2E47KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FTU6I#issuecomment-520829561>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ADKFW73WBAO5VML25UKNVGLQEKXVXANCNFSM4IK2E47A>
> .
>
|
is this on physical machines or on virtual ones? If they don't see each other is must be something network related. Are you sure you can do broadcasts on these devices? It's hard to guess what's going on on your machines. You could try the zyre library instead._ |
They are physical machines. |
But for using zyre I would have to use C, right? |
Yes, but it has bindings to python: https://github.com/zeromq/zyre/tree/master/bindings/python |
Hi,
I tried to use the python bindings of zyre, but it did not work either.
Therefore, I wanted to ask which version of python you were using during
your test above?
Thanks in advance
Am Di., 13. Aug. 2019 um 16:04 Uhr schrieb Arnaud Loonstra <
[email protected]>:
… Yes, but it has bindings to python:
https://github.com/zeromq/zyre/tree/master/bindings/python
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#141?email_source=notifications&email_token=ADKFW76XY6XUAZ5YIKSDSALQEK5O3A5CNFSM4IK2E47KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FYKMQ#issuecomment-520848690>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADKFW7ZQMDHOI5Z2AK5JPTLQEK5O3ANCNFSM4IK2E47A>
.
|
I was using the latest from the master branch. What was the output of the zyre bindings? |
I'm experiencing the same issue with Pyre. I'm starting two nodes on the same machine, but when I send a message to the group, I receive the "Group CHAT not found". I'm running on Pop_OS 19.04 / Python 3.7. Cheers! |
can you post your output of both nodes? |
@sphaero Thanks for the quick response. I'm just getting the initial logging output. No indication of discovery. That said, I have to abandon the use of this library due to the use of the LGPL licence. |
So it means discovery is failing on your platform. Discovery is done through UDP broadcast. You should see udp broadcast packets on your network interface using tcpdump.
|
@sphaero Well, I feel silly. Turns out, I have very a restrictive set of UFW rules. As such, the initial UDP broadcast is blocked. Adding a rule that allows this to pass solves my issue. Thank you for your help! |
Hey, I guess I had the same problem. Can't test it out as I recently
changed my operating system, but at least it is working now.
Thanks for the input.
Am Do., 26. Sept. 2019 um 00:46 Uhr schrieb Tim Lowrimore <
[email protected]>:
… @sphaero <https://github.com/sphaero> Well, I feel silly. Turns out, I
have very a restrictive set of UFW rules. As such, the initial UDP
broadcast is blocked. Adding a rule that allows this to pass solves my
issue. Thank you for your help!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#141?email_source=notifications&email_token=ADKFW77T3CM4S5FORMAAGMLQLPS4XA5CNFSM4IK2E47KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7TVCIA#issuecomment-535253280>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADKFW72VTDJRA54VE2DEQGTQLPS4XANCNFSM4IK2E47A>
.
|
Hey,
I started the example chat application as written in the README.
However, I always get the error message "Group CHAT not found" when sending a message, though the group should have been created and joined.
The text was updated successfully, but these errors were encountered: