percy / percy-cypress

Visual testing with Cypress and Percy
https://percy.io
MIT License
340 stars 41 forks source link

[percy] RequestError Error: self signed certificate in certificate chain #260

Closed anujpunia closed 3 years ago

anujpunia commented 3 years ago

Getting the following error -

percy exec -- node ./run-tests.js

[percy] RequestError Error: self signed certificate in certificate chain | Thu Oct 29 2020 14:46:52 GMT+0530 (India Standard Time)
[percy] stopping percy...
[percy] waiting for 0 snapshots to complete...
[percy] done.
[percy] percy has started.
Server is listening on http://localhost:8000

[percy] stopping percy...
[percy] waiting for 0 snapshots to complete...
[percy] done.

And when I am behind the vpn -

[percy] RequestError Error: read ECONNRESET | Thu Oct 29 2020 15:20:57 GMT+0530 (India Standard Time)
[percy] stopping percy...
[percy] waiting for 0 snapshots to complete...
[percy] done.
[percy] percy has started.
Server is listening on http://localhost:8000

[percy] stopping percy...
[percy] waiting for 0 snapshots to complete...
[percy] done.
Terminate batch job (Y/N)?

Setting proxy and all didn't help.

Robdel12 commented 3 years ago

Hey @anujpunia! At the moment Percy doesn't support self-signed certificates (or providing one).

If we do add support, it'll be in @percy/cli (which is what handles communicating to the Percy API and needed to use this SDK)