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

OSError: [Errno 99] error while attempting to bind on address ('::1', 17563, 0, 0): cannot assign requested address #5

Closed
Arthurdw opened this issue Sep 6, 2020 · 5 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@Arthurdw
Copy link

Arthurdw commented Sep 6, 2020

I was trying to run the example WebSocket code and it crashes on this:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.7/dist-packages/twitchAPI/oauth.py", line 103, in __run
    self.__loop.run_until_complete(site.start())
  File "/usr/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.7/dist-packages/aiohttp/web_runner.py", line 104, in start
    reuse_port=self._reuse_port)
  File "/usr/lib/python3.7/asyncio/base_events.py", line 1374, in create_server
    % (sa, err.strerror.lower())) from None
OSError: [Errno 99] error while attempting to bind on address ('::1', 17563, 0, 0): cannot assign requested address

The example I used can be found here

@Teekeks Teekeks added the bug Something isn't working label Sep 6, 2020
@Teekeks Teekeks self-assigned this Sep 6, 2020
@Teekeks
Copy link
Owner

Teekeks commented Sep 6, 2020

Can you give me the exact code you tried to run? Also could it be that there is still a process running that is blocking the port 17563?

@Arthurdw
Copy link
Author

Arthurdw commented Sep 6, 2020

The code was an exact copy. (except that I replaced the client id and secrets with mine. No other proces was running on that port.

@Teekeks
Copy link
Owner

Teekeks commented Sep 6, 2020

Hmm ok which OS are you using?

@Arthurdw
Copy link
Author

Arthurdw commented Sep 6, 2020

Distributor ID: Ubuntu
Description:    Ubuntu 19.10
Release:        19.10
Codename:       eoan

@Teekeks Teekeks added wontfix This will not be worked on and removed bug Something isn't working labels Oct 16, 2020
@Teekeks
Copy link
Owner

Teekeks commented Oct 16, 2020

This seems to be related to some local service already using that port. Cant fix this.

@Teekeks Teekeks closed this as completed Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants