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

Init Script fails due to custom port #1

Open
ingm4r opened this issue Nov 4, 2016 · 2 comments
Open

Init Script fails due to custom port #1

ingm4r opened this issue Nov 4, 2016 · 2 comments

Comments

@ingm4r
Copy link

ingm4r commented Nov 4, 2016

Running the init script it tries do download a configuration:

Downloading lastest configuration...
GET http://repo.mseclab.com:9080/nathan/current...
Impossible to download the file -> <urlopen error [Errno 110] Connection timed out>

The response of the webserver is only one string:

NRL001

In most business environments such ports are blocked, please move to 80/443.
Moreover after the script is restarted the android sdk is downloaded again, the previous download is not reused.

@robgas
Copy link
Member

robgas commented Nov 4, 2016

Hi,

The response is correct because in the first request the current version is returned (actually NRL001).

Thanks for your hint: the web server has been moved on port 80.

For the last point, the init command checks if sdk/ folder exists and then checks that emulator command works correctly. Only if the two checks fail, the script restart to download the SDK.
Probably the SDK files were not been completed and the script restarted to download (related to 9080 port?).

@ingm4r
Copy link
Author

ingm4r commented Nov 7, 2016

Hi,
yes I noticed that the first response is only the version number and downloaded the remaining files manually.
As for buffering the SDK: No, the SDK-Download was complete and also sucessfully extracted but the download started again for each run.
I will see if I can reproduce this issue or if that was related to the custom port.

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