Upon running npx convex dev I get the
Upon running npx convex dev, I get the following error
⠋ Checking for changed table indexes...Network error connecting to dev deployment: unable to get local issuer certificate
Couldn't find any solutions in the docs. Has anyone experienced this?21 Replies
Getting this on the dashboard as well; Not sure if something's wrong on my side or if convex is down
@ari this looks like the same transient failure I experienced on the dashboard. @gautamg For ideas.
hi @DavidKim, what operating system are you on?
mac! i've had no problem running convex locally the past few weeks I've been using it! just happened for the first time today
yeah, google, twitter, dsicord, youtube, ..etc all seem to work totally fine
i’m not seeing the cert errors on my side, but it could be cached. will keep digging.
thank you !
what’s odd is that TLS looks to be passing on your browser for dashboard.convex.dev, but the fetch is failing for some reason. @DavidKim could you open developer tools in your browser and see if you could get more information for why the fetch is failing?
if you’re on chrome, https://developer.chrome.com/docs/devtools/network/ should work for finding the failing fetch.
Chrome Developers
Inspect network activity - Chrome Developers
A tutorial on the most popular network-related features in Chrome DevTools.
in the network tab, looks like get calls on instances, projetcs, and teams are returning status 200 so looks good
but the shapes2 seems problematic
i couldn't find any helpful error context though; sorry!
that's still helpful! so it's good to know that it's failing on *.convex.cloud.
can you run
curl -vvv -L https://cluttered-dragonfly-553.convex.cloud
from your terminal and paste the output here?curl -vvv -L https://cluttered-dragonfly-553.convex.cloud
* Trying 146.112.61.110:443...
* Connected to cluttered-dragonfly-553.convex.cloud (146.112.61.110) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (OUT), TLS alert, unknown CA (560):
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
okay! this is interesting. on my system (also macOS), I have
so for some reason
CApath
is none on your systemso i switched to my mobile hotspot and now it works
which might explain our cert not getting accepted
woah!
wild
weird thing is on this wifi, Convex was working for a couple hours before it stopped working out of nowhere
is it like café wifi or something like that where they may be trying to intercept the traffic?
yeah, hospital Wifi. Taking care of someone right now.
I wonder if someone decided to block Convex
sorry for the false alarm!
no problem! we can definitely improve our error message here + point to a help page or something like that with instructions for debugging this.