Selenium-Server:使用 browserReuseSession 标志时出现奇怪的消息

发布于 2024-08-22 21:17:19 字数 225 浏览 3 评论 0原文

我收到错误消息:

sel_<NUMBER> resultHolder sel_<NUMBER> unexpected response: OK,..

出现此消息后,服务器似乎被卡住了。

为什么会发生这种情况以及如何解决/预防它?当 browserReuseSession 关闭时,我从未见过此消息。你?

I get the error message:

sel_<NUMBER> resultHolder sel_<NUMBER> unexpected response: OK,..

It seems that the server is stuck after this message occurs.

Why is this happening and how to solve/prevent it? I've never seen this message when the browserReuseSession is off. Have you?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

残花月 2024-08-29 21:17:19

理论上,selenium 使用 /dev/random,并且当熵池变低时 /dev/random 会阻塞。当这种情况发生时,硒也会被阻挡。

我正在我的 Macbook 上尝试以下解决方法:

sudo mv /dev/random /dev/random.real

sudo ln -s /dev/urandom /dev/random

祝我好运。 :)

The theory is that selenium uses /dev/random and that /dev/random blocks when the entropy pool gets low. When this happens, selenium is also blocked.

I am trying the following workaround on my Macbook:

sudo mv /dev/random /dev/random.real

sudo ln -s /dev/urandom /dev/random

Wish me luck. :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文