Closed alexchumak closed 4 years ago
No idea with just that stack trace.
I found this problem too T.T
@alexchumak DO you have any solutions?
@piya23300, nope. But I haven't had a chance to dive into it any deeper. Please do let me know if you get anywhere with this. Thank you!
Do you have any specifications about how did you started your Apparition session? Did you used any chrome flags?
I got this issue too by running my tests with some of my browser_options as nil. After i updated them to true, it started to work (Those configs are used on Amazon Linux too)
Code that returns this deadlock error:
browser_options: { 'disable-gpu': nil, 'no-sandbox': nil, 'user-agent': "xxxx" }
With Deadlock error solved:
browser_options: { 'disable-gpu': true, 'no-sandbox': true, 'user-agent': "xxxx" }
Maybe with more specifications we can get into a solution for this. @piya23300 @alexchumak
Thank you @machado144! Setting the browser options did the trick!
Much appreciated!
Running on master. Works in dev environment, MacOS. In production, Amazon Linux, I get this error the first time I invoke Capybara's "visit". Any ideas?
Running it via a rake task.