Hi,
Nice example explaining vertx-eventbus-client
I am trying to replace a REST call with vertx-eventbus-client. It works well locally, but when I deploy the code to use dns name for the event bus http://dnsName:80/eventbus. it fails with this error
INVALID_STATE_ERR
at EventBus.send (/home/app/node_modules/vertx3-eventbus-client/vertx-eventbus.js:202:13)
at tryCatcher (/home/app/node_modules/bluebird/js/release/util.js:16:23)
at ret [as sendAsync] (eval at (/home/app/node_modules/bluebird/js/release/promisify.js:1:0), :14:23)
the onOpen function is fine and is called on server start up. Can see xhr_streaming calls being made to the vertx backend
I added some debug logs, onopen is called and the state is set to OPEN, immeditately onClose is called and state is set to CLOSED.
Any help on this is appreciated. Thanks
Hi,
Nice example explaining vertx-eventbus-client
I am trying to replace a REST call with vertx-eventbus-client. It works well locally, but when I deploy the code to use dns name for the event bus http://dnsName:80/eventbus. it fails with this error
INVALID_STATE_ERR
at EventBus.send (/home/app/node_modules/vertx3-eventbus-client/vertx-eventbus.js:202:13)
at tryCatcher (/home/app/node_modules/bluebird/js/release/util.js:16:23)
at ret [as sendAsync] (eval at (/home/app/node_modules/bluebird/js/release/promisify.js:1:0), :14:23)
the onOpen function is fine and is called on server start up. Can see xhr_streaming calls being made to the vertx backend
I added some debug logs, onopen is called and the state is set to OPEN, immeditately onClose is called and state is set to CLOSED.
Any help on this is appreciated. Thanks