StreamReadException every time that I open a page
I am using docker to set up my environment, and I have a PHP container where I executed my test, and I create a new chrome container for functional test. I was working with selenium ( a different container) and it was working but I want to change to chrome to speed up the process. I know that is a common issue but I was not able to find a solution. Every time that I open a page I face this error and I try to debug it but there aren't any relevant information:
Dumping the exception message: string(167) "Empty read; connection dead? Stream state: {"timed_out":true,"blocked":true,"eof":false,"stream_type":"tcp_socket/ssl","mode":"r+","unread_bytes":0,"seekable":false}"
Behat configuration: `
DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~
Behat\MinkExtension:
base_url: "http://localhost:8080/"
show_auto: false
default_session: chrome
javascript_session: chrome
sessions:
chrome:
chrome:
api_url: "http://172.18.0.3:9222"
socket_timeout: 20
validate_certificate: false
`
My version are :
- Google Chrome 70.0.3538.67
- dmore/behat-chrome-extension 1.2.0
- dmore/chrome-mink-driver 2.6.4
Do you have any relevant information which can help me?