VEXCode v5 Text — "could not launch backend services"?

Mac user here (I know, I know). Been working with the latest version of VEXCode for a little bit (v0.9), and I’m having problems actually running the software on my computer—more times than not, a popup will appear saying “Could not launch backup services!” (image attached). Does anyone know how to solve this issue so I can get back to writing code?

Thanks!!

Same issue here.
No firewall. Latest version. Works on one machine but not two others. All identical setups.
OS 10.13.5
Have uninstalled and reinstalled multiple times.
Logged in as administrator
No Joy.

Any help would be greatly appreciated as this brought us to a screeching halt.

can you see if there any useful information in the file at this location.
~/Library/Application Support/VEXcode V5 Text/Default/logs/server.log

on the Mac’s that are not working after trying to run VEXcode.

This is from one of the non working machines…

2019-10-11T16:59:14.944Z

launching servers!..
Language Services at port : 5635
File Services at port : 5636
Device Services at port : 5637
{ Error: getaddrinfo ENOTFOUND localhost
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:50:26)
errno: ‘ENOTFOUND’,
code: ‘ENOTFOUND’,
syscall: ‘getaddrinfo’,
hostname: ‘localhost’ }
{ Error: getaddrinfo ENOTFOUND localhost
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:50:26)
errno: ‘ENOTFOUND’,
code: ‘ENOTFOUND’,
syscall: ‘getaddrinfo’,
hostname: ‘localhost’ }
{ Error: getaddrinfo ENOTFOUND localhost
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:50:26)
errno: ‘ENOTFOUND’,
code: ‘ENOTFOUND’,
syscall: ‘getaddrinfo’,
hostname: ‘localhost’ }

Hm, that sort of implies some type of issue with the network, or specifically accessing your machine as localhost. Could you print out /etc/hosts for me ? In a terminal window type

more /etc/hosts

Interesting I found the host file empty on the non working machines.

I edited it to replicate the working machines…
basically just
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost

And vexcode text opened :slight_smile:

Looks like I will need to do this for every non working machine but hopefully this holds up.

THANK YOU!

yea, but what you show there is normal, I wonder how hosts was corrupted, what was it like before ?

I have no idea why the host file on the non-working machines were blank.

The info I posted above was from a working machine.

After editing the blank host files with the info above, vexcode text started working.

So … it’s a mystery. Odd that vex blocky didnt care either way though.

Just happy to get the kids back onto the code.

thanks,

Oh, they were blank, that’s unusual. Just about every host file will have a default

127.0.0.1 localhost

which VEXcode needs to be able to start the servers on your local machine.

2 Likes

For what it’s worth, Ubuntu Server 18.04 (fresh install) for some reason doesn’t include that line in /etc/hosts and instead just produces errors that point to that line being missing. Once I added the line, the errors went away…

It baffles me too.

1 Like

as of late, i’ve been using robotmesh to work around this issue. But with the release of v1.01, i decided to give vexcode another shot. using the solutions provided above, i tried editing the server.log file in textedit, but nothing worked?

when i printed /etc/hosts using the given command above, the only information printed was /etc/hosts/ (END).

is there another solution to this problem?
thanks in advance

you need to edit /etc/hosts not server.log.
/etc/hosts needs to have this included.

127.0.0.1 localhost

thanks so much—just figured out what nylongbow meant when he said edit the file. just fixed the file, and vexcode works good as new! excited to use this new ide to write vrc code.

again, thanks to all involved in finding a solution!