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

localhost not accepted as valid host #112

Open
prasadtalasila opened this issue Jan 15, 2019 · 0 comments
Open

localhost not accepted as valid host #112

prasadtalasila opened this issue Jan 15, 2019 · 0 comments
Assignees

Comments

@prasadtalasila
Copy link
Member

Description

When localhost is provided as host name for gitlab or mainserver, the CLI generates an error.

Steps to Reproduce

  1. Install AutolabJS
  2. Install autolabjs CLI on the same host.
  3. Try to change the host name for gitlab or main server.

Expected behavior: [What you expect to happen]
Accepts localhost as a valid host name.

Actual behavior: [What actually happens]
Rejects localhost as an invalid host name.

Reproduces how often: [What percentage of the time does it reproduce?]
Every time

Additional Information

The relevant logs are as follows.

$git clone https://github.com/AutolabJS/autolabcli.git -b dev
$cd autolabcli
$npm i
$ nodejs index.js prefs changeserver --type gitlab --host localhost
Please provide a valid host
vagrant@ubuntu-xenial:~/autolabcli$ nodejs index.js prefs changeserver --type ms --host localhost --port 9000
Please provide a valid host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants