splinter icon indicating copy to clipboard operation
splinter copied to clipboard

TCP Socket reuse problem in chrome driver

Open HoverWANG opened this issue 10 years ago • 4 comments

It seems that every time I request to chrome driver, system will generate a [system process] with PID=0, state = TIME_WAIT, after a short while all my local ports are occupied and the system report WinError 10048: 'Only one usage of each socket address is normally permitted'

Do anyone know how to fix it? Thanks!

I have tried to set: s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)

HoverWANG avatar Sep 24 '16 01:09 HoverWANG

@HoverWANG what version of splinter and chrome driver are you using?

andrewsmedina avatar Sep 26 '16 00:09 andrewsmedina

@andrewsmedina I am using the latest version: Splinter 0.7.4 and chrome driver 2.24.

HoverWANG avatar Sep 26 '16 06:09 HoverWANG

@HoverWANG are you still having this issue/have you found resolution? I recently ran into the same problem using Splinter 0.7.5 & Chromedriver 2.30..

rmeyer17 avatar Jul 13 '17 17:07 rmeyer17

This doesn't appear to be an issue with splinter.

javascript-error avatar Jul 12 '20 14:07 javascript-error