wayneashleyberry / wunderline

✅️ Command-line client for Wunderlist, the easiest way to get stuff done.
https://git.io/vM45l
MIT License
310 stars 29 forks source link

UNABLE_TO_GET_ISSUER_CERT_LOCALLY #124

Open rootid opened 5 years ago

rootid commented 5 years ago

Installed wunderline

Run auth w/ new app (entered client id and access token)

  1. NODE_DEBUG=request wunderline auth
REQUEST { method: 'get',
  json: true,
  baseUrl: 'https://a.wunderlist.com/api/v1',
  headers:
   { 'X-Access-Token':
      'XXXXX',
     'X-Client-ID': 'XXXX' },
  uri: '/lists',
  callback: [Function] }
REQUEST make request https://a.wunderlist.com/api/v1/lists
REQUEST response body undefined
{
  "code": "UNABLE_TO_GET_ISSUER_CERT_LOCALLY"
}
Thor77 commented 5 years ago

Do you have a (ssl intercepting) proxy set? The CA certificate of that proxy is probably missing your system trust store.

rootid commented 5 years ago

Is there way I can set the proxy eg. any commands?

Thor77 commented 5 years ago

You probably don't want to set a proxy but find out if there's one active on your current system/network to find out why wunderlist is reporting this error.

rootid commented 5 years ago

Thanks @Thor77