SeleniumHQ / selenium

A browser automation framework and ecosystem.
https://selenium.dev
Apache License 2.0
30.73k stars 8.19k forks source link

[🐛 Bug]: HTTP exception thrown #14517

Closed BrianHamil closed 1 day ago

BrianHamil commented 1 month ago

What happened?

This function often throws an exception. Looking at the code, I am confused as to the purpose of a second response when it's not returned and does not modify what is returned.

private async Task MakeHttpRequest(HttpRequestInfo requestInfo)

image

How can we reproduce the issue?

Make any call that uses MakeHttpRequest(), the exception is not consistent but is rather frequent.

Relevant log output

no log

Operating System

Windows 10

Selenium version

C#

What are the browser(s) and version(s) where you see this issue?

no browser needed to get exception

What are the browser driver(s) and version(s) where you see this issue?

most recent

Are you using Selenium Grid?

no

github-actions[bot] commented 1 month ago

@BrianHamil, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

github-actions[bot] commented 1 month ago

Hi, @BrianHamil. Please follow the issue template, we need more information to reproduce the issue.

Either a complete code snippet and URL/HTML (if more than one file is needed, provide a GitHub repo and instructions to run the code), the specific versions used, or a more detailed description to help us understand the issue.

Note: If you cannot share your code and URL/HTML, any complete code snippet and URL/HTML that reproduces the issue is good enough.

Reply to this issue when all information is provided, thank you.

nvborisenko commented 1 day ago

You said:

This function often throws an exception

What exception? Please come back with details when you are ready. We will be glad to investigate it.