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

Unable to establish connection with Fitbit API #170

Open
pivdnber opened this issue Jun 14, 2022 · 0 comments
Open

Unable to establish connection with Fitbit API #170

pivdnber opened this issue Jun 14, 2022 · 0 comments

Comments

@pivdnber
Copy link

Hi

I get an error while using python-fitbit, specifically when trying to execute server.browser_authorize()
Unfortunately, no page appears to sign in.

[14/Jun/2022:09:54:55] ENGINE Listening for SIGTERM.
[14/Jun/2022:09:54:55] ENGINE Bus STARTING
[14/Jun/2022:09:54:55] ENGINE Set handler for console events.
CherryPy Checker:
The Application mounted at '' has an empty config.

[14/Jun/2022:09:54:55] ENGINE Started monitor thread 'Autoreloader'.
[14/Jun/2022:09:54:56] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x0000013E1A0D06D0>>
Traceback (most recent call last):
File "C:\Users\pivdnber\Anaconda3\lib\site-packages\portend.py", line 122, in free
Checker(timeout=0.1).assert_free(host, port)
File "C:\Users\pivdnber\Anaconda3\lib\site-packages\portend.py", line 71, in assert_free
list(itertools.starmap(self._connect, info))
File "C:\Users\pivdnber\Anaconda3\lib\site-packages\portend.py", line 87, in _connect
raise PortNotFree(tmpl.format(**locals()))
portend.PortNotFree: Port 8080 is in use on 127.0.0.1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\pivdnber\Anaconda3\lib\site-packages\cherrypy\process\wspbus.py", line 230, in publish
output.append(listener(*args, **kwargs))
File "C:\Users\pivdnber\Anaconda3\lib\site-packages\cherrypy_cpserver.py", line 180, in start
super(Server, self).start()
File "C:\Users\pivdnber\Anaconda3\lib\site-packages\cherrypy\process\servers.py", line 177, in start
portend.free(*self.bind_addr, timeout=Timeouts.free)
File "C:\Users\pivdnber\Anaconda3\lib\site-packages\portend.py", line 126, in free
raise Timeout("Port {port} not free on {host}.".format(**locals()))
portend.Timeout: Port 8080 not free on 127.0.0.1.

[14/Jun/2022:09:54:56] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "C:\Users\pivdnber\Anaconda3\lib\site-packages\cherrypy\process\wspbus.py", line 268, in start
self.publish('start')
File "C:\Users\pivdnber\Anaconda3\lib\site-packages\cherrypy\process\wspbus.py", line 248, in publish
raise exc
cherrypy.process.wspbus.ChannelFailures: Timeout('Port 8080 not free on 127.0.0.1.')

[14/Jun/2022:09:54:56] ENGINE Bus STOPPING
[14/Jun/2022:09:54:56] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 8080)) already shut down
[14/Jun/2022:09:54:56] ENGINE Removed handler for console events.
[14/Jun/2022:09:54:56] ENGINE Stopped thread 'Autoreloader'.
[14/Jun/2022:09:54:56] ENGINE Bus STOPPED
[14/Jun/2022:09:54:56] ENGINE Bus EXITING

Any idea what's going wrong?

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

1 participant