Translation_server.lua exchange trouble after a reboot

I have some translation_server that were working well before a reboot. After this reboot, when a sentence is sent for translation, it seems to silently stay waiting for something… and my client is falling in error (certainly time-out).

When breaking the translation_server with CTRL+C, this log is produced, let me thinking the exchange was waiting in the receiving part:

[04/28/17 09:57:11 INFO] Server initialized at tcp://0.0.0.0:6001	
^C/home/onmt/torch/install/bin/luajit: [string "zmq"]:898: interrupted!
stack traceback:
	[string "zmq"]:898: in function 'recv'
	tools/translation_server.lua:87: in function 'main'
	tools/translation_server.lua:109: in main chunk
	[C]: in function 'dofile'
	...onmt/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
	[C]: at 0x00405d50

Any idea ?

SOLVED !

This was due to a newly installed vncserver that was using the same 600X ports range.

It’s a bad thing that translation_server doesn’t complain about the fact that its port isn’t free.

:frowning:

Hi Etienne38
rest_translation_server does complain if its designated port is already occupied.
Terence

I didn’t get any message.