You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I am trying to use the fetch command in my local environment, but it is not working with the certificate. I have set the environment variable NODE_EXTRA_CA_CERTS to include the certificate, but the fetch command does not seem to recognize it.
Upon further investigation, I noticed that the fetch request is being executed by node_modules\@cloudflare\workerd-windows-64\bin\workerd.exe and not by Node.js. This seems to be causing the issue, as the certificate is not being picked up correctly.
Steps to Reproduce:
Set the environment variable NODE_EXTRA_CA_CERTS to the path of the certificate.
Attempt to make a fetch request in the local environment.
Observe that the certificate is not recognized. Expected Behavior:
The fetch command should recognize the certificate specified in NODE_EXTRA_CA_CERTS and work as expected.
Actual Behavior:
The fetch command does not recognize the certificate, likely because the request is being handled by workerd.exe instead of Node.js.
Additional Context:
It appears that the fetch request is being routed through workerd.exe, which might not be respecting the NODE_EXTRA_CA_CERTS environment variable. Any guidance on how to resolve this issue would be greatly appreciated.
Please provide any relevant error logs
Log:[wrangler:err] Error: internal error
The text was updated successfully, but these errors were encountered:
Which Cloudflare product(s) does this pertain to?
Wrangler
What versions are you using?
wrangler 3.107.3 node:v20.18.0
What operating system and version are you using?
Windows 10
Please provide a link to a minimal reproduction
No response
Describe the Bug
Description:
I am trying to use the
fetch
command in my local environment, but it is not working with the certificate. I have set the environment variableNODE_EXTRA_CA_CERTS
to include the certificate, but thefetch
command does not seem to recognize it.Upon further investigation, I noticed that the
fetch
request is being executed bynode_modules\@cloudflare\workerd-windows-64\bin\workerd.exe
and not by Node.js. This seems to be causing the issue, as the certificate is not being picked up correctly.Steps to Reproduce:
NODE_EXTRA_CA_CERTS
to the path of the certificate.fetch
request in the local environment.Expected Behavior:
The
fetch
command should recognize the certificate specified inNODE_EXTRA_CA_CERTS
and work as expected.Actual Behavior:
The
fetch
command does not recognize the certificate, likely because the request is being handled byworkerd.exe
instead of Node.js.Additional Context:
It appears that the
fetch
request is being routed throughworkerd.exe
, which might not be respecting theNODE_EXTRA_CA_CERTS
environment variable. Any guidance on how to resolve this issue would be greatly appreciated.Please provide any relevant error logs
Log:
[wrangler:err] Error: internal error
The text was updated successfully, but these errors were encountered: