sashafrey / topicmod

This project had been moved to https://github.com/bigartm/bigartm
Other
0 stars 0 forks source link

Bad error message when launch second node_controller.exe on the same port #79

Closed sashafrey closed 9 years ago

sashafrey commented 10 years ago

Reprosteps:

  1. Run node_controller.exe
  2. Run none_controller.exe one again with the same endpoint EXPECTED: a meaningful error message that says "have you verified that port X is not in use by other zeromq application"? ACTUAL: error message saying "Fatal exception in connection_manager_thread::run() function". This is confusing... I believe "fatal exception might be an rpcz_error exception, and it has some important internal details. Maybe if we output this details the error message will be easier to interpret?
sashafrey commented 9 years ago

Fixed in BigARTM project. https://github.com/bigartm/bigartm/commit/e58ad929a6dc61a106c18a1564f2e99b0dcf3e3b

Starting NodeController at tcp://:5555... NodeController(s) are now running. Type Ctrl+Z or Ctrl+C to quit. Unable bind socket to tcp://:5555. Verify that (1) endpoint is correctly formated and (2) no other service is running on the same endpoint. Fatal exception in connection_manager_thread::run() function