Skip to content

Instantly share code, notes, and snippets.

@exiva
Created May 2, 2015 19:51
Show Gist options
  • Save exiva/bd1bf2be64483ecf9291 to your computer and use it in GitHub Desktop.
Save exiva/bd1bf2be64483ecf9291 to your computer and use it in GitHub Desktop.
DEBUG ] Phone ==> Watch: 00020031ff03
INFO:pypkjs.javascript.pebble:JS starting
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): timeline-sync.getpebble.com
[DEBUG ] Log: 'js: Pebble ready!'
[INFO ] js: Pebble ready!
[DEBUG ] Status: '\x00\x00\x00\x00'
[INFO ] Installation successful
[DEBUG ] Phone info: 'pypkjs,0.0.0,qemu'
[DEBUG ] Unexpected status message
/usr/local/Cellar/pebble-sdk/3.0-beta10/libexec/lib/python2.7/site-packages/requests-2.5.0-py2.7.egg/requests/packages/urllib3/connection.py:251: SecurityWarning: Certificate has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
SecurityWarning
Traceback (most recent call last):
File "/usr/local/Cellar/pebble-sdk/3.0-beta10/Pebble/common/phonesim/javascript/pebble.py", line 225, in go
token = self._get_timeline_token()
File "/usr/local/Cellar/pebble-sdk/3.0-beta10/Pebble/common/phonesim/javascript/pebble.py", line 214, in _get_timeline_token
headers={'Authorization': 'Bearer %s' % self.runtime.runner.oauth_token})
File "/usr/local/Cellar/pebble-sdk/3.0-beta10/libexec/lib/python2.7/site-packages/requests-2.5.0-py2.7.egg/requests/api.py", line 65, in get
return request('get', url, **kwargs)
File "/usr/local/Cellar/pebble-sdk/3.0-beta10/libexec/lib/python2.7/site-packages/requests-2.5.0-py2.7.egg/requests/api.py", line 49, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/local/Cellar/pebble-sdk/3.0-beta10/libexec/lib/python2.7/site-packages/requests-2.5.0-py2.7.egg/requests/sessions.py", line 461, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/Cellar/pebble-sdk/3.0-beta10/libexec/lib/python2.7/site-packages/requests-2.5.0-py2.7.egg/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/usr/local/Cellar/pebble-sdk/3.0-beta10/libexec/lib/python2.7/site-packages/requests-2.5.0-py2.7.egg/requests/adapters.py", line 370, in send
timeout=timeout
File "/usr/local/Cellar/pebble-sdk/3.0-beta10/libexec/lib/python2.7/site-packages/requests-2.5.0-py2.7.egg/requests/packages/urllib3/connectionpool.py", line 518, in urlopen
body=body, headers=headers)
File "/usr/local/Cellar/pebble-sdk/3.0-beta10/libexec/lib/python2.7/site-packages/requests-2.5.0-py2.7.egg/requests/packages/urllib3/connectionpool.py", line 322, in _make_request
self._validate_conn(conn)
File "/usr/local/Cellar/pebble-sdk/3.0-beta10/libexec/lib/python2.7/site-packages/requests-2.5.0-py2.7.egg/requests/packages/urllib3/connectionpool.py", line 727, in _validate_conn
conn.connect()
File "/usr/local/Cellar/pebble-sdk/3.0-beta10/libexec/lib/python2.7/site-packages/requests-2.5.0-py2.7.egg/requests/packages/urllib3/connection.py", line 253, in connect
match_hostname(cert, self.assert_hostname or hostname)
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 245, in match_hostname
raise ValueError("empty or no certificate, match_hostname needs a "
ValueError: empty or no certificate, match_hostname needs a SSL socket or SSL context with either CERT_OPTIONAL or CERT_REQUIRED
[DEBUG ] Log: 'Error getting timeline token: Internal failure.'
[INFO ] Error getting timeline token: Internal failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment