Public bug reported: I did report the bug to the developer, you can read it here:
https://bitbucket.org/benallard/galileo/issues/311/a-serious-error- happened-which-is-probably Now I copy the information of the link above, here: ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ $ sudo galileo 2016-12-14 11:24:29,259:CRITICAL: # A serious error happened, which is probably due to a 2016-12-14 11:24:29,260:CRITICAL: # programming error. Please open a new issue with the following 2016-12-14 11:24:29,260:CRITICAL: # information on the galileo bug tracker: 2016-12-14 11:24:29,260:CRITICAL: # https://bitbucket.org/benallard/galileo/issues/new 2016-12-14 11:24:29,262:CRITICAL: # /usr/bin/galileo: 0.5 # Python: 3.5.2+ (default, Sep 22 2016, 12:18:14) [GCC 6.2.0 20160927] # Platform: Linux willy 4.8.0-31-generic #33-Ubuntu SMP Wed Dec 7 15:14:02 UTC 2016 x86_64 x86_64 # pyusb: 1.0.0 # requests: 2.10.0 # yaml: 3.11 (with libyaml) 2016-12-14 11:24:29,263:CRITICAL: # Last communications: 2016-12-14 11:24:29,263:CRITICAL: # < 20 01 54 65 72 6D 69 6E 61 74 65 4C 69 6E 6B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2016-12-14 11:24:29,263:CRITICAL: # < 2016-12-14 11:24:29,263:CRITICAL: # > 02 01 2016-12-14 11:24:29,263:CRITICAL: # < 16 08 02 05 65 9E A6 84 BE C4 74 04 00 20 00 00 FF E7 01 00 02 00 00 00 00 00 00 00 00 00 00 00 2016-12-14 11:24:29,263:CRITICAL: # > 1A 04 BA 56 89 A6 FA BF A2 BD 01 46 7D 6E 00 00 AB AD 00 FB 01 FB 02 FB A0 0F 2016-12-14 11:24:29,263:CRITICAL: # < 20 01 53 74 61 72 74 44 69 73 63 6F 76 65 72 79 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2016-12-14 11:24:29,263:CRITICAL: # < 13 03 B4 37 13 FE 7D F5 01 D5 06 12 04 CD 92 00 00 00 FB 00 00 00 00 00 00 00 00 00 00 00 00 00 2016-12-14 11:24:29,263:CRITICAL: # < 03 02 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2016-12-14 11:24:29,263:CRITICAL: # > 02 05 2016-12-14 11:24:29,263:CRITICAL: # < 20 01 43 61 6E 63 65 6C 44 69 73 63 6F 76 65 72 79 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2016-12-14 11:24:29,263:CRITICAL: # Traceback (most recent call last): File "/usr/lib/python3/dist-packages/galileo/main.py", line 288, in main }[config.mode](config) File "/usr/lib/python3/dist-packages/galileo/main.py", line 193, in sync for tracker in syncAllTrackers(config): File "/usr/lib/python3/dist-packages/galileo/main.py", line 71, in syncAllTrackers if not galileo.requestStatus(not config.httpsOnly): File "/usr/lib/python3/dist-packages/galileo/net.py", line 187, in requestStatus self.post('status') File "/usr/lib/python3/dist-packages/galileo/net.py", line 134, in post r.raise_for_status() File "/usr/lib/python3/dist-packages/requests/models.py", line 844, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.fitbit.com:443/tracker/client/message ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ The response for the developer BenoƮt Allard is: I see you are using an older version with a wrong url builtin to connect to the fitbit server. The url should be corrected to client.fitbit.com. Either use a newer version (0.5.1) or modify the url in the code. ----- I followed his instructions and now I can sync the device. ------ Thank you very much, now it is working. This is what I did, step by step: $ cd /usr/lib/python3/dist-packages/galileo/ $ sudo grep -rl "api.fitbit.com" ./ ./main.py ./__pycache__/main.cpython-35.pyc $ sudo vim main.py on line 37: galileo = GalileoClient('https', 'api.fitbit.com', 'tracker/client/message') I made the suggested change, so now it is: galileo = GalileoClient('https', 'client.fitbit.com', 'tracker/client/message') The saved the file. ------ So, please, could you check on this and update the package to its latest version, so everyone can benefit. Thank you very much. Eduardo ** Affects: galileo (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1650046 Title: application doesn't sync, it needs to be updated. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/galileo/+bug/1650046/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs