-
Notifications
You must be signed in to change notification settings - Fork 244
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
Version 3.0 received does match expected version 3.1 #105
Comments
Becase gomq changed the protocol version to 3.1, you can try to downgrade gomq before this commit. https://github.com/zeromq/gomq/pull/77/files See also: zeromq/gomq#79 |
copy that, thanks |
Hi @myzhan I tried to downgrade and pin the version of But still no luck. Do you have any other suggestion? |
@franzramadhan If you still get the same error logs, please check the version of gomq. And I'm considering to fork gomq because of the instability. |
|
Hi guys, I'm trying to make zeromq/gomq to work with pyzmq. |
@wssnail Hi, I coun't reproduce your errors, which version of goczmq are you using? I have tried these commands on my MBP, and it works. brew install zeromq
brew install czmq
brew install libsodium
go get github.com/zeromq/goczmq
go run -tags 'goczmq' examples/main.go |
|
thanks for your suggestion. However still failed with below error log
cross compile:
|
@franzramadhan @wssnail I think you should use goczmq v4.2.0 or master. |
@myzhan @franzramadhan perfect, goczmq v4.2.0 is worked , |
@myzhan @wssnail works perfectly for native compile. But for cross compile to Linux AMD64 for example still failing
go.mod
|
@myzhan @wssnail I tried to compile directly in my xenial box and got below error
Seems related with this zeromq/goczmq#292 |
@franzramadhan goczmq depends on zeromq library written in C, so I don't think cross compiling will work. When you compile directly on Ubuntu, please make sure you have all the C dependencies installed. |
@myzhan ah I see. Solved by installing |
czmq-4.2.1 works for me, here is my operations |
|
Also, I found out when using locustio/locust, zmtp depends on pyzmq.
|
2020/11/04 15:04:09 runner.go:426: Failed to connect to master(127.0.0.1:5557) with error gomq/zmtp: Got error while receiving greeting: Version 3.0 received does match expected version 3.1
The text was updated successfully, but these errors were encountered: