kmahyyg / tg-bot-dailylife

My private telegram bot
https://u.nu/yygtgbot
GNU Affero General Public License v3.0
6 stars 1 forks source link

OSError: [Errno 98] Address already in use #6

Closed kmahyyg closed 6 years ago

kmahyyg commented 6 years ago

https://sentry.io/kmahyyg/python-my-tgbot/issues/471650717/

OSError: [Errno 98] Address already in use
(4 additional frame(s) were not displayed)
...
  File "werkzeug/serving.py", line 666, in make_server
    passthrough_errors, ssl_context, fd=fd)
  File "werkzeug/serving.py", line 577, in __init__
    self.address_family), handler)
  File "python3.5/socketserver.py", line 440, in __init__
    self.server_bind()
  File "http/server.py", line 138, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "python3.5/socketserver.py", line 454, in server_bind
    self.socket.bind(self.server_address)

OSError: [Errno 98] Address already in use
kmahyyg commented 6 years ago

Check whether the supervisor/systemd is running