Skip to content

[Bug] 服务强制重启后,重启前执行中任务/tmp/.X99-lock锁文件引发Failed to launch the browser process. #70

Description

@Staring531

描述 / Description

BrowserType.launch: Failed to launch the browser process. Browser logs: /root/.cache/camoufox/camoufox-bin
-no-remote -wait-for-browser -foreground -profile /tmp/playwright_firefoxdev_profile-aRq8wZ -juggler-pipe -silent pid=181
[pid=181][err] Error: cannot open display: :99 [pid=181] [pid=181] starting temporary
directories cleanup Call log: - /root/.cache/camoufox/camoufox-bin -no-remote -wait-for-browser -foreground -profile /tmp/
playwright_firefoxdev_profile-aRq8wZ -juggler-pipe -silent - pid=181 - [pid=181][err] Error: cannot open display: :99 -
[pid=181] - [pid=181] starting temporary directories cleanup - [pid=181] - [pid=181] - [pid=181] - [pid=181] finished temporary
directories cleanup - [pid=181]

复现步骤 / Steps to Reproduce

  1. 将执行中的任务 通过camel接口置为“取消中”状态,未到failed
  2. 重启容器
  3. 启动后再次新建同一平台任务

期望行为 / Expected Behavior

实际行为 / Actual Behavior

截图 / 日志 / Screenshots / Logs

<!-- 粘贴日志 / paste logs here -->

BrowserType.launch: Failed to launch the browser process. Browser logs: /root/.cache/camoufox/camoufox-bin
-no-remote -wait-for-browser -foreground -profile /tmp/playwright_firefoxdev_profile-aRq8wZ -juggler-pipe -silent pid=181
[pid=181][err] Error: cannot open display: :99 [pid=181] [pid=181] starting temporary
directories cleanup Call log: - /root/.cache/camoufox/camoufox-bin -no-remote -wait-for-browser -foreground -profile /tmp/
playwright_firefoxdev_profile-aRq8wZ -juggler-pipe -silent - pid=181 - [pid=181][err] Error: cannot open display: :99 -
[pid=181] - [pid=181] starting temporary directories cleanup - [pid=181] - [pid=181] - [pid=181] - [pid=181] finished temporary
directories cleanup - [pid=181]

环境信息 / Environment

  • OS: debian13
  • Python:
  • Node:
  • 版本 / Version: source latest
  • 执行模式 / Mode:
  • 代理 / Proxy:
  • 平台 / Platform:

其他信息 / Additional Context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions