Hi,
I am Chun-Te and currently studying computer science in Germany. Recently I tried to use Pantheon but had some problems with remote mode (Local mode is totally fine.).
I prepared two AWSes (in two different locations) and installed Pantheon in both. The command I used for remote mode is:
$ python src/experiments/test.py remote --all "ACCOUNT@HOST_IP":~/pantheon
, and below is the output:
$ ssh ACCOUNT@HOST_IP "cd ~/pantheon; ~/pantheon/src/experiments/git_summary.sh"
Testing scheme copa for experiment run 1/1...
$ /home/ubuntu/pantheon/src/wrappers/copa.py run_first
[tunnel server manager (tsm)] $ ssh ACCOUNT@HOST_IP python ~/pantheon/src/experiments/tunnel_manager.py
tunnel manager is running
[tunnel client manager (tcm)] $ python /home/ubuntu/pantheon/src/experiments/tunnel_manager.py
prompt [tsm]
tunnel manager is running
prompt [tcm]
[tsm] tunnel 1 mm-tunnelserver --ingress-log=~/pantheon/tmp/copa_datalink_run1_flow1_uidf028c792-87b0-4045-a081-828e96077367.log.ingress --egress-log=~/pantheon/tmp/copa_acklink_run1_flow1_uidf028c792-87b0-4045-a081-828e96077367.log.egress
[tsm] tunnel 1 readline
[tcm] tunnel 1 mm-tunnelclient HOST_IP 34951 100.64.0.2 100.64.0.1 --ingress-log=/home/ubuntu/pantheon/tmp/copa_acklink_run1_flow1_uidf028c792-87b0-4045-a081-828e96077367.log.ingress --egress-log=/home/ubuntu/pantheon/tmp/copa_datalink_run1_flow1_uidf028c792-87b0-4045-a081-828e96077367.log.egress
[tcm] tunnel 1 readline
Tunnelclient listening for server on port 54527
Tunnelclient received no response from tunnelserver, retrying 1/5
Tunnelclient received no response from tunnelserver, retrying 2/5
Tunnelclient received no response from tunnelserver, retrying 3/5
Tunnelclient received no response from tunnelserver, retrying 4/5
Tunnelclient received no response from tunnelserver, retrying 5/5
... (keep retrying)
It seems that the remote server cannot reply to the local client. I also tried from the other way around, but the results were the same. I'm not sure if there's any configuration that I forgot to set.
Looking forward to your reply.
Regards,
Chun-Te