Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use headless mode to goto https url, return ERR_BAD_SSL_CLIENT_AUTH_CERT #2685

Closed
hw64220 opened this issue Feb 2, 2023 · 0 comments
Closed

Comments

@hw64220
Copy link

hw64220 commented Feb 2, 2023

Describe the bug
I AM not sure whether its a bug. I knew it works ok if I use a public website such as google for testing .
So, the key problem should be we are using the self-signed certification, any suggestion or guide on such situation?

To Reproduce
Steps (or script) to reproduce the behavior:
1.we make the certification by ourselves(server and client).
2.the certification is self-signed and trusted by browser
3.user below scripts to run with headless mode, will return such error

openBrowser({headless: true,ignoreCertificatieErrors:true})
[PASS] Browser opened
goto("https://service.cffex.com.cn:8443/ecms-frontend-ext/")
[FAIL] Error: Navigation to url https://service.cffex.com.cn:8443/ecms-frontend-
ext/ failed. REASON: net::ERR_BAD_SSL_CLIENT_AUTH_CERT, run .trace for more in
fo.


**Logs**
> .trace
'Error: Navigation to url https://service.cffex.com.cn:8443/ecms-frontend-ext/ f
ailed. REASON: net::ERR_BAD_SSL_CLIENT_AUTH_CERT
' +
  '    at Object.handleNavigation (C:\\Users\\Administrator\\AppData\\Roaming\
pm\
ode_modules\\taiko\\lib\\handlers\\pageHandler.js:193:13)
' +
  '    at async C:\\Users\\Administrator\\AppData\\Roaming\
pm\
ode_modules\\taiko\\lib\\taiko.js:745:16
' +
  '    at async doActionAwaitingNavigation (C:\\Users\\Administrator\\AppData\\R
oaming\
pm\
ode_modules\\taiko\\lib\\doActionAwaitingNavigation.js:61:5)
' +
  '    at async module.exports.goto (C:\\Users\\Administrator\\AppData\\Roaming\

pm\
ode_modules\\taiko\\lib\\taiko.js:744:3)
' +
  '    at async module.exports.<computed> (C:\\Users\\Administrator\\AppData\\Ro
aming\
pm\
ode_modules\\taiko\\lib\\taiko.js:2620:14)
' +
  '    at async repl.context.<computed> (C:\\Users\\Administrator\\AppData\\Roam
ing\
pm\
ode_modules\\taiko\\lib\\repl\\repl.js:271:23)
' +
  '    at async C:\\Users\\Administrator\\AppData\\Roaming\
pm\
ode_modules\\taiko\\lib\\repl\\awaitEval.js:54:17'

@getgauge getgauge locked and limited conversation to collaborators Feb 2, 2023
@zabil zabil converted this issue into discussion #2686 Feb 2, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Development

No branches or pull requests

1 participant