-
Notifications
You must be signed in to change notification settings - Fork 13
java.util.concurrent.TimeoutException: Futures timed out after [500 milliseconds] #13
Comments
Hi, Have you tried to override the socket creation timeout ? zeromq { how long to wait for new socketnew-socket-timeout = 2s |
Yeah, the default is occasionally too slow. If that works for you @cocodrino we'll bump the default timeout. |
Hi..I did the change but it doesn't works, the weird part is than when I try scala-zeromq the first time works fine but after install zmq libs for node it began to fail...I will need give a better look at this... now I'm getting the same response: java.util.concurrent.TimeoutException: Futures timed out after [3200 milliseconds] what are all the dependencies for scala-zeromq?... libzmq, zeromq-scala-binding....any other??...I will reinstall zmq and check again...jus now zeromq works fine with nodejs and R, is pretty strange than I've troubles with scala...thanks..... |
That's it for dependencies, libzmq along with either zeromq-scala-binding or jzmq. To debug, I recommend cloning the scala-zeromq repository and running the tests. They should give you more helpful output than what's above. Once the tests are passing you'll know your environment is properly configured. A good reference for environment setup is the recently-added Travis CI setup script: https://github.com/mDialog/scala-zeromq/blob/master/src/test/resources/setup_travis.sh |
Hey @cocodrino are you still having issues? Try to run the unit tests in the scala-zeromq project maybe to see if everything is configured correctly as you know that the library's unit tests will run. |
Hi..when I declare pushSocket in the scala console (also I've tried compiling the project)
val pushSocket = ZeroMQ.socket(SocketType.Push)
I get this error
I'm using zeromq-scala-binding and I've installed libzmq, I'm using linux elementary and zeromq works with my python and nodejs projects...do u know what can I do for fix this??...thanks!!!.....
The text was updated successfully, but these errors were encountered: