-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Consider error messages or host resolution in Bind IP configuration. #896
Copy link
Copy link
Closed
Description
Expected Behavior
I expect the node configuration screen to allow me to enter hostnames such as localhost or my-server.domain.com. Instead, it crashes the application.
Current Behavior
The application crashes, as in https://pastebin.com/rNSeTrtK
Possible Solution
Either:
- Add an error message from the server letting the client know that it's a faulty configuration. Perhaps this could also be a frontend-only check.
- Implement hostname resolution at the server end in addition to checks for bad input.
Steps to Reproduce (for bugs)
- Open Fauxton
- Click the settings icon
- Configure a single node
- Populate field, with
localhostin the Bind IP field - Submit
Context
From chat:
171710 < wayne> i'm experiencing crashing when i go to the settings menu option in fauxton and click "configure a single node"
171804 < wayne> i've yet to pull logs, in process of doing that
171925 < wayne> https://pastebin.com/rNSeTrtK
171951 < wayne> and yikes, it looks like the password gets leaked in the logs
172037 < wayne> did i miss a step?
172106 < wayne> i can work on excavating the erl.dump from the container if it would help
172319 <+rnewson> 'invalid_bind_address' is a problem
172329 <+rnewson> you need to specify an ip address, not a name
172353 < wayne> ah got it. no host resolution
172413 < wayne> could this be a good issue to open? it would improve the user experience
172441 < wayne> maybe an error message from the server or even consider implementing host resolution
Your Environment
- Version used: 2.1
- Browser Name and version: Chromium
- Operating System and version (desktop or mobile): Desktop
- Link to your project: N/A
Reactions are currently unavailable