Skip to content

[πŸ› Bug]: Getting connect reset error ( java.net.SocketException:)Β #15276

@wwwuxiao1

Description

@wwwuxiao1

What happened?

Cannot run selenium java on Windows 11,Selenium 4.27.0 version, Chrome 133.0.6943.60, Driver 131

Same automation code works with the same https authentication enabled selenium grid when automation code run on Mac

How can we reproduce the issue?

Try with below configurations
Currently using Selenium 4.27.0 version, Chrome 133.0.6943.60, Driver 131

Relevant log output

2月 12, 2025 5:50:55 δΈ‹εˆ org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
θ­¦ε‘Š: Unable to find an exact match for CDP version 133, returning the closest version; found: 131; Please update to a Selenium version that supports CDP version 133
2月 12, 2025 5:50:58 δΈ‹εˆ org.openqa.selenium.remote.http.WebSocket$Listener onError
θ­¦ε‘Š: Connection reset
java.net.SocketException: Connection reset
	at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
	at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
	at java.net.http/jdk.internal.net.http.SocketTube.readAvailable(SocketTube.java:1170)
	at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.read(SocketTube.java:833)
	at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowTask.run(SocketTube.java:181)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:230)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:303)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:256)
	at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalReadable(SocketTube.java:774)
	at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadEvent.signalEvent(SocketTube.java:957)
	at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowEvent.handle(SocketTube.java:253)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent(HttpClientImpl.java:979)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.lambda$run$3(HttpClientImpl.java:934)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:934)

Operating System

win 11

Selenium version

java 17

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

chrome 133.0.6943.60

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

cdp 131

Are you using Selenium Grid?

4.27.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    J-issue-templateApplied to issues not following the template, or missing information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions