Marius Gundersen
Marius Gundersen
CDCloudflare Developers
Created by Marius Gundersen on 4/24/2025 in #general-help
Snippet preview with an access protected page
Our dev environment is hosted in cloudflare behind an access login wall. That seems to be a problem when testing out snippets, since they are not allowed past the access page and instead get redirected to the login page, which doesn't get shown because it's inside an iframe. Is there a way to allow the snippets thorough the access wall?
3 replies
CDCloudflare Developers
Created by Marius Gundersen on 10/3/2024 in #workers-help
Snippets returning only "There is nothing here yet"
No description
1 replies
CDCloudflare Developers
Created by Marius Gundersen on 10/13/2023 in #pages-help
Connecting to a local https server from wrangler pages dev on windows.
I have a pages project with a function that makes a fetch request to another service. Locally this is running on https://localhost:9002. Notice it's using TLS, and it has a self-signed certificate, outside of my control. When I try to run wrangler pages dev I get an error rather than the expected response from the other service:
workerd/jsg/util.c++:275: error: e = kj/compat/tls.c++:221: failed: TLS peer's certificate is not trusted; reason = unable to get local issuer certificate
stack: 7ff699735100 7ff69977895c 0 0 0 7ff699ab4a48 7ff699ab58eb 7ff699ab7c18 0 0 0 7ff699a3938d 0 0; sentryErrorContext = jsgInternalError
workerd/jsg/util.c++:275: error: e = kj/compat/tls.c++:221: failed: TLS peer's certificate is not trusted; reason = unable to get local issuer certificate
stack: 7ff699735100 7ff69977895c 0 0 0 7ff699ab4a48 7ff699ab58eb 7ff699ab7c18 0 0 0 7ff699a3938d 0 0; sentryErrorContext = jsgInternalError
I have tried to run With several combinations of NODE_EXTRA_CA_CERTS, SSL_CERT_FILE and NODE_TLS_REJECT_UNAUTHORIZED=0 but without any luck. Anything I could try to make this work?
6 replies