WhoBrokeTheBuild / DockerizedMDSplus

MIT License
0 stars 0 forks source link

Get this error when spinning up the containers #2

Open gauge2 opened 3 years ago

gauge2 commented 3 years ago

I've made some small mods including switching to the Ubuntu18 image as a base rather than the Alpine image so that I can take advantage of python3 (I couldn't get it going on Alpine, figured I'd go to something I knew well.). after doing appropriate docker-compose up call for mdsip server-type container and the tree-server type I get this in the STDOUT.

E, 179:179, 1628773582.631632916: /git/mdsplus/mdstcpip/mdsipshr/GetMdsMsg.c:63 get_bytes_to()      Connection(id=-1, state=0x00, protocol='tcp', info_name='tcp', version=0, user='(null)') error 0/48: Socket operation on non-socket

If I attach a shell to any of the containers, 1) and open mdstcl to edit the demo tree, I get:

TCL> edit demo
Error in connect to service
send_bytes: Error sending data to remote server: Broken pipe
Error during login: send: Broken pipe
W, 497:497, 1628784440.957587515: /git/mdsplus/treeshr/RemoteAccess.c:117 remote_connect()          Host(conid=-1, links=?, unique='tcp://192.168.48.4:8000'), server='tree_server': error
Error connecting to host /tree_server/ in io_open_one_remote
Error: Unable to edit shot number -1 of the 'demo' tree
Error msg was: %TREE-E-FOPENW, Error opening file for read-write.
mdsdcl: --> failed on line 'edit demo'

Any ideas?