Skip to content
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

NetMQ hello world Error with go-zeromq #903

Open
alberk8 opened this issue Jun 8, 2020 · 1 comment
Open

NetMQ hello world Error with go-zeromq #903

alberk8 opened this issue Jun 8, 2020 · 1 comment
Labels

Comments

@alberk8
Copy link

alberk8 commented Jun 8, 2020

Environment

NetMQ Version: 4.0.0.207   
Operating System:  Windows 10 Pro Build 18363.836
.NET Version:     .Net Core 3.1

Expected behaviour

Return a "World" from go-zeromq
The python implementation of the zmq client works.
https://zeromq.org/languages/python/

Actual behaviour

The go-zeromq throws error.
https://github.com/go-zeromq/zmq4/blob/master/example/rrworker.go

zmq4: could not open a ZMTP connection with "tcp://*:5559": zmq4: could not initialize ZMTP connection:
github.com/go-zeromq/zmq4.Open
/home/smart/go/src/github.com/go-zeromq/zmq4/conn.go:92

  • zmq4: could not exchange greetings:
    github.com/go-zeromq/zmq4.(*Conn).init
    /home/smart/go/src/github.com/go-zeromq/zmq4/conn.go:104
  • zmq4: could not recv greeting:
    github.com/go-zeromq/zmq4.(*Conn).greet
    /home/smart/go/src/github.com/go-zeromq/zmq4/conn.go:146
  • could not read ZMTP greeting:
    github.com/go-zeromq/zmq4.(*greeting).read
    /home/smart/go/src/github.com/go-zeromq/zmq4/protocol.go:98
  • unexpected EOF

Steps to reproduce the behaviour

  1. compile the above go worker project and run it.
  2. debug run the dot net code.
using (var client = new RequestSocket())
 {
   client.Connect("tcp://192.168.88.110:5559");
               
   for (int i = 0; i < 10; i++)
   {
     Console.WriteLine("Sending Hello");
     client.SendFrame( "Hello");
     var message = client.ReceiveFrameString();
          Console.WriteLine("Received {0}", message);
    }
 }
@stale
Copy link

stale bot commented Apr 17, 2022

This issue has been automatically marked as stale because it has not had activity for 365 days. It will be closed if no further activity occurs within 56 days. Thank you for your contributions.

@stale stale bot added the stale label Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant