Home | Tutorials | Wiki | Issues
Ask Your Question

catalyst294's profile - activity

2016-04-27 06:33:23 -0600 received badge  Nice Question (source)
2015-05-26 00:55:03 -0600 received badge  Famous Question (source)
2015-05-26 00:55:03 -0600 received badge  Notable Question (source)
2014-10-08 18:53:10 -0600 received badge  Scholar (source)
2014-10-08 18:53:08 -0600 commented answer Running gzserver on EC2 and gzclient locally is not working

The problem ended up being a firewall issue. I assumed because the two machines could ping each other the traffic could get through. This link helped me: http://wiki.ros.org/ROS/NetworkSetup . I needed to set my local machine as the DMZ server and set my NAT filter to Open on my router. That plus the correct security group on the instance did the trick. Thanks for the help!

2014-10-05 21:01:13 -0600 commented question Running gzserver on EC2 and gzclient locally is not working

@nkoenig so this setup appears to be correct to you? I am not missing any environment variables or running the wrong commands? It seems like there might be an issue with my EC2 setup.

2014-10-05 20:59:04 -0600 received badge  Popular Question (source)
2014-10-03 20:00:30 -0600 received badge  Student (source)
2014-09-30 20:09:29 -0600 commented question Running gzserver on EC2 and gzclient locally is not working

I have tried with the port and without it. In the question I said I updated the security settings to allow all traffic on all ports, without that the gzclient GUI did not enough show up. Also this is the format of the ip address I am using.

2014-09-27 15:21:14 -0600 received badge  Editor (source)
2014-09-27 15:16:57 -0600 asked a question Running gzserver on EC2 and gzclient locally is not working

So I have an AWS ec2 instance that I am trying to run gzserver on and then locally I want to connect to it with gzclient. I am working with gazebo-2.2

These are my steps:

AWS instance:

  1. ssh into instance (I try ssh -X, ssh -Y and ssh)

  2. source /usr/share/gazebo/setup.sh

  3. GAZEBO_IP=[aws_public_ip] GAZEBO_MASTER_URI=[aws_public_ip] gzserver worlds/shapes.world

Locally:

  1. source /usr/share/gazebo/setup.sh

  2. GAZEBO_IP=[local_public_ip] GAZEBO_MASTER_URI=[aws_public_ip] gzclient

The client appears to connect to the server. The gazebo GUI appears but the world does not, just a black screen. After some time both the server and client eventually crash.

But if I run both gzserver and gzclient on the same machine (AWS instance or locally) it works.

I setup my AWS instance and my machine to accept all traffic on all ports so I don't think that could be the problem.

Any ideas would help!