-
Notifications
You must be signed in to change notification settings - Fork 560
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
ERR_TLS_CERT_ALTNAME_INVALID
with dns interceptor and https
#3817
Comments
More context: it seems that the DNS interceptor completely erases the origin. Running the same code with Not sure if this is totally expected and I completely misunderstood how and when we're supposed to use it... Edit: Removing line 357 works Lines 355 to 358 in c94fda1
|
Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests. |
Bug Description
I am not sure if I misunderstood how the dns interceptor works, but trying to make a simple https request with it, without any option, will fail.
Reproducible By
Expected Behavior
The request should complete successfully
Logs & Screenshots
Error log
Environment
undici@7.0.0-alpha.3, Node v22.11.0, Windows 11 Home
Additional context
Tried with any https url and the result is the same. The requests is completed correctly without the interceptor
The text was updated successfully, but these errors were encountered: