Closed QuAzI closed 9 months ago
@QuAzI I cannot understand the error. I am trying to recreate the setup.
http-client.private.env.json
and migration-script.http
in the same folder and copy content (I changed url to match a valid url)development
Observed: It uses correct environment
It looks like connected to the local self-signed certificate for microservice in Docker. Because the same request for public version works fine. In CLI version I used --insecure
parameter and it works but it's not so comfortable in development. But I don't know how to use the same option in VSCode or how to pass self-signed certificate from local Cert Manager to VSCode plugins. JB tool and my own .NET project works fine with this certificate.
look at docs: https://httpyac.github.io/guide/troubleshooting.html#turn-off-verification-of-self-signed-certificate
It is a NodeJS issue which provides its own cert store. Maybe using win-ca extension also solves your problem. Or just disable as mentioned in docs.
Thanks a lot, I found the reason. It was my fault - I forgot about proxy settings in VSCode
I have http script which works fine in JB apps and in console
But from VSCode it always return 500 with comment
The requested URL could not be retrieved
migration-script.http
http-client.private.env.json