# Tset error while trying loading machinefile using multiple machines

**URL:** <https://discourse.julialang.org/t/tset-error-while-trying-loading-machinefile-using-multiple-machines/8238>\
**Category:** Julia at Scale\
**Tags:** question\
**Created:** [January 8, 2018, 9:46pm UTC](https://discourse.julialang.org/t/tset-error-while-trying-loading-machinefile-using-multiple-machines/8238 "2018-01-08T21:46:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jwu/32/3775_2.png) [@jwu](https://discourse.julialang.org/u/jwu)\
**Post date:** [January 8, 2018, 9:46pm UTC](https://discourse.julialang.org/t/tset-error-while-trying-loading-machinefile-using-multiple-machines/8238/1 "2018-01-08T21:46:35Z")

</div>

I can ssh login without password, but still get some errors.  
My machinefile format is “host”, one host for each line.  
I started julia using  
`julia --machinefile machinefile`  
but get some tset errors. Any ideas?

> tset: standard error: Invalid argument
> 
> tset: standard error: Invalid argument
> 
> tset: standard error: Invalid argument
> 
> tset: standard error: Invalid argument
> 
> tset: standard error: Invalid argument
> 
> tset: standard error: Invalid argument
> 
> tset: standard error: Invalid argument
> 
> tset: standard error: Invalid argument
> 
> Master process (id 1) could not connect within 60.0 seconds.  
> exiting.  
> Master process (id 1) could not connect within 60.0 seconds.  
> exiting.  
> Worker 8 terminated.  
> Master process (id 1) could not connect within 60.0 seconds.  
> exiting.  
> Master process (id 1) could not connect within 60.0 seconds.  
> exiting.  
> Master process (id 1) could not connect within 60.0 seconds.  
> exiting.  
> Master process (id 1) could not connect within 60.0 seconds.  
> exiting.  
> Master process (id 1) could not connect within 60.0 seconds.  
> exiting.  
> ERROR (unhandled task failure): Version read failed. Connection closed by peer.  
> Stacktrace:  
> [1] process\_hdr(::TCPSocket, ::Bool) at ./distributed/process\_messages.jl:257  
> [2] message\_handler\_loop(::TCPSocket, ::TCPSocket, ::Bool) at ./distributed/process\_message  
> s.jl:143  
> [3] process\_tcp\_streams(::TCPSocket, ::TCPSocket, ::Bool) at ./distributed/process\_messages  
> .jl:118  
> [4] (::Base.Distributed.##99#100{TCPSocket,TCPSocket,Bool})() at ./event.jl:73  
> Master process (id 1) could not connect within 60.0 seconds.  
> exiting.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [January 8, 2018, 10:02pm UTC](https://discourse.julialang.org/t/tset-error-while-trying-loading-machinefile-using-multiple-machines/8238/2 "2018-01-08T22:02:40Z")

</div>

Can you try using ClusterManagers.jl instead and see if that works?

---

<div class="post-metadata">

**Author:** ![jwu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jwu/32/3775_2.png) [@jwu](https://discourse.julialang.org/u/jwu)\
**Post date:** [January 8, 2018, 10:41pm UTC](https://discourse.julialang.org/t/tset-error-while-trying-loading-machinefile-using-multiple-machines/8238/3 "2018-01-08T22:41:26Z")

</div>

ClusterManagers have some special ClusterManager which I don’t have. What I have is passwd less ssh login. The SSHManager was provided in Distributed.

I just tried using Distributed and use:

```julia
machines = [("machine01", :auto), ("machine02", :auto)] 
addprocs(machines; topology=:master_slave)

```

still get the same tset error.
