Interesting – in the Local log I’m seeing lines like this
{"thread":"main","reason":{"name":"InternalOAuthError","message":"Failed to obtain access token","oauthError":{"code":"ECONNRESET","path":null,"host":"hub.localwp.com","port":443,"localAddress":{}}},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-07-08T17:16:24.184Z"}
...
{"thread":"main","reason":{"code":"ECONNRESET","path":null,"host":"cdn.localwp.com","port":443,"localAddress":{}},"p":{},"level":"warn","message":"Unhandled Rejection.","timestamp":"2021-07-08T17:35:16.230Z"}
...
{"thread":"main","class":"AddonInstallerService","code":"SELF_SIGNED_CERT_IN_CHAIN","level":"error","stack":"Error: self signed certificate in certificate chain\n at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)\n at TLSSocket.emit (events.js:315:20)\n at TLSSocket.EventEmitter.emit (domain.js:467:12)\n at TLSSocket._finishInit (_tls_wrap.js:932:8)\n at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)","message":"self signed certificate in certificate chain","timestamp":"2021-07-08T17:36:08.514Z"}
Note the ECONNRESET and the Error: self signed certificate in certificate chain parts – that makes me think that there’s some setting on the computer that is messing with the SSL certificates and preventing the tools that Local uses from making secure connections over HTTPS.
A few things come to my mind:
Is this a work computer – has the IT department put their own custom SSL certs in place on the machine?
Are you using a VPN? I wouldn’t think this would cause issues, but it’s possible that the VPN software has been messing with the network configuration and inserting their own certificate.
Can you take a look at those items and see if any of them apply to you? If they do, you might try temporarily disabling them, or seeing if there is a way to configure the settings to not get in the way of the tools that Local is using.
Thanks again for looking into this. Yes, it is a work computer, so I would guess that is where the self signed certificate is coming from. I can try and reach out to my IT department. Is there anything from the Local side that I could do?