Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Can't connect to ROS running on Ubuntu 16.04 (WSL) #335

Open
1 of 3 tasks
farlop opened this issue Jan 18, 2018 · 7 comments
Open
1 of 3 tasks

Can't connect to ROS running on Ubuntu 16.04 (WSL) #335

farlop opened this issue Jan 18, 2018 · 7 comments

Comments

@farlop
Copy link

farlop commented Jan 18, 2018

Hi! I'm new to Realm and I am trying to run a first server using the Getting Started tutorial. I've a Windows 10 Pro machine, so I've installed ROS in the WSL (Windows Subsystem for Linux) running Ubuntu 16.04. Installation process went perfectly and server launches when I run 'npm start'. Sadly, in Realm Studio I'm not able to connect to the server, it hangs on the main screen with three dots animation. On server I can see no messages or errors.

Goals

Run Realm for first time!

Expected Results

Be able to connect to the realm using Realm Studio

Actual Results

Screen hangs on 'Connecting to http://localhost:9080/ in grey with animation of three dots

Steps to Reproduce

  • Install Ubuntu though Microsoft Store
  • Install ROS as stated in docs
  • Create an app using 'ros init TestServer' and run it with 'npm start'
  • Install Realm Studio
  • Launch Realm Studio and try to connect

Version of Realm and Tooling

  • Realm Object Server Version: 2.6.2
  • Flavor:
    • Developer
    • Professional
    • Enterprise
  • Server OS & Version: Ubuntu 16.04 running in Windows Subsystem for Linux
  • Client SDK Version: ?
  • Client OS & Version: ?

Logs

systemctl status realm-object-server.service No such file or directory
sudo journalctl -u realm-object-server.service No journal files were found
cat /var/log/realm-object-server.log No such file or directory
@nirinchev
Copy link
Member

Do you have a firewall that could be blocking connections?

@farlop
Copy link
Author

farlop commented Jan 19, 2018

Hi!

  • I tried telnet localhost 9080 and connects
  • i switched off my AV firewall (and checked that Windows firewall is off as well) and no Realm Studio still does not connect.

@bigfish24
Copy link

Should note we have never tested ROS in Windows Subsystem for Linux so it might not be working due to that.

@farlop
Copy link
Author

farlop commented Jan 30, 2018

I understand perfectly. Is there something I could do to help testing this scenario?

@bmunkholm
Copy link
Contributor

@farlop We are right now very focused on alleviating those getting started issues by providing a cloud service - that should help you get started in a minute :-) You can signup here: https://cloud.realm.io/

@raudabaugh
Copy link

Is WSL support in the pipeline? Would love to see it as we're doing some of our development on Windows, and would like an environment that's fully local in those cases.

@nirinchev
Copy link
Member

Does docker not work for that case?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants