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

[Login] Service might fail on installations with static IP #23

Open
asciidisco opened this issue Mar 17, 2017 · 0 comments
Open

[Login] Service might fail on installations with static IP #23

asciidisco opened this issue Mar 17, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@asciidisco
Copy link
Owner

If an OS that boots Kodi on startup is used & a static IP is given, it might be the case that the service fails on startup & the plugin can't be started.
This happens because we "ask" the OS on startup to assign two ports for our two internal service webservers.
Getting the port sock.getsockname() is the weak spot here (see https://github.com/asciidisco/plugin.video.netflix/blob/master/service.py#L18), as it throws if the network isn't up at the point of excecution of that piece of code.

@asciidisco asciidisco self-assigned this Mar 17, 2017
@asciidisco asciidisco added the bug label Mar 17, 2017
@asciidisco asciidisco added this to the v0.12 milestone Apr 10, 2017
@asciidisco asciidisco changed the title Service might fail on installations with static IP [Network] Service might fail on installations with static IP Apr 10, 2017
@asciidisco asciidisco changed the title [Network] Service might fail on installations with static IP [Login] Service might fail on installations with static IP Apr 10, 2017
@asciidisco asciidisco modified the milestones: v0.12, v0.13 Oct 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant