Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with connecting to erlide node. #317

Open
flodihn opened this issue Apr 6, 2018 · 7 comments
Open

Problem with connecting to erlide node. #317

flodihn opened this issue Apr 6, 2018 · 7 comments

Comments

@flodihn
Copy link

flodihn commented Apr 6, 2018

When trying to build, I get this error:

21:28:02,371 F: (InternalBuilder.java:203) : Will compile 1 resource(s)
21:28:02,371 F: (BackendFactory.java:47) : Create build backend 20
21:28:02,372 F: (BackendFactory.java:54) : Create backend 20_4a18_Cflow_6e1344
21:28:02,372 F: (OtpNodeProxy.java:302) : Runtime [email protected] starting
21:28:02,380 F: (OtpNodeProxy.java:420) : START node :> ["c:\program files\erl9.1/bin/erl", -name, [email protected], -setcookie, erlide] *** C:\Users\Cflow\workspace
21:28:02,398 F: (OtpNodeProxy.java:213) : [email protected]: waiting connection to peer...

I think it is because I run an -sname test@localhost that seems to try connecting to the localhost.mynet which does not exist. Can I make erlide just run a short name node?

@flodihn
Copy link
Author

flodihn commented Apr 6, 2018

Actually, I just did:

C:\Users\Cflow>ping localhost.mynet

Pinging localhost.mynet [192.168.1.196] with 32 bytes of data:
Reply from 192.168.1.196: bytes=32 time=1ms TTL=64
Reply from 192.168.1.196: bytes=32 time=1ms TTL=64
Reply from 192.168.1.196: bytes=32 time=1ms TTL=64
Reply from 192.168.1.196: bytes=32 time=1ms TTL=64

So in theory it should work.

@vladdu
Copy link
Collaborator

vladdu commented Apr 6, 2018

Have you tried the "Troubleshooting" page on the preferences dialog? It shows which host names work (because Java and Erlang may resolve them differently) and allows to save the working configuration.

I tried this myself now and it looks like the values are not saved properly. I will look at it.

@flodihn
Copy link
Author

flodihn commented Apr 6, 2018

Thanks for the quick reply, I tried a lot of things, like switching between long/short names in my run configuration, changed to an older R17 OTP, etc, finally I downloaded the beta and now compiling seems to be working fine.

@vladdu
Copy link
Collaborator

vladdu commented Apr 6, 2018

What version did you have before?

@flodihn
Copy link
Author

flodihn commented Apr 6, 2018

I just picked the latest stable version using the given URL from the download page.

@vladdu
Copy link
Collaborator

vladdu commented Apr 6, 2018

Ok, then I still have to look at this because the latest beta is like two years old... I might ask you to test stuff, if that's ok?

@flodihn
Copy link
Author

flodihn commented Apr 6, 2018

Sure, no problem.

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

No branches or pull requests

2 participants