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!!

03%20PM

Check to see if you have any sort of local firewall/antivirus that might be stopping you from listening on localhost (I can’t imagine any security policy is this strict, +1 (864) 640-5708 I’ll always be amazed).

Else, quit every other application other than VEXCode and try again

1 Like

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