Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

marp-cli docker image times out by creating title slide image #592

Closed
JTHesse opened this issue Sep 19, 2024 · 10 comments · Fixed by #608
Closed

marp-cli docker image times out by creating title slide image #592

JTHesse opened this issue Sep 19, 2024 · 10 comments · Fixed by #608

Comments

@JTHesse
Copy link

JTHesse commented Sep 19, 2024

Version of Marp Tool

marpteam/marp-cli:v3.4.0

Operating System

Linux

Environment

  • OS version: Ubuntu 24.04
  • Node.js version (Marpit / Marp Core/ Marp CLI): Node.js 20.17.0

How to reproduce

  1. Create markdown with any content
  2. Convert title slide to image:
    docker run --rm -v $PWD:/home/marp/app/ -e LANG=$LANG marpteam/marp-cli PITCHME.md --image

Expected behavior

The title slide should be generated.

Actual behavior

The conversion is taking very long and finally times out.

Additional information

[  INFO ] Converting 1 markdown...
/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:93
    #error = new Errors_js_1.ProtocolError();
             ^

ProtocolError: Network.enable timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
    at <instance_members_initializer> (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:93:14)
    at new Callback (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:97:16)
    at CallbackRegistry.create (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:22:26)
    at Connection._rawSend (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:89:26)
    at CdpCDPSession.send (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/CDPSession.js:66:33)
    at NetworkManager.addClient (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/NetworkManager.js:62:20)
    at FrameManager.initialize (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/FrameManager.js:170:38)
    at #initialize (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Page.js:283:36)
    at CdpPage._create (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Page.js:96:31)
    at /home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Target.js:206:42

Node.js v20.17.0
@yhatt
Copy link
Member

yhatt commented Sep 19, 2024

The similar issue has reported by others, but I cannot yet determine the root cause because I could not reproduce that. Try the debug, like them:

  • Add -e DEBUG="*" option to make visible debug logs by Puppeteer.
  • Add -e PUPPETEER_TIMEOUT=0 to disable timeout.
  • Try -e PUPPETEER_HEADLESS_MODE=new to use the new headless mode.

@JTHesse
Copy link
Author

JTHesse commented Sep 19, 2024

Thank you for the quick answer, I tried your args but the issue is the same.

I am now using the docker image v3.3.1, which is running as expected.

@yhatt
Copy link
Member

yhatt commented Sep 19, 2024

Could you share the detailed debug log when failed with -e DEBUG="*"?

@JTHesse
Copy link
Author

JTHesse commented Sep 19, 2024

2024-09-19T13:09:47.914Z portfinder:defaultHosts exports._defaultHosts is: [ '0.0.0.0', '127.0.0.1', '::1', '172.17.0.2', null ]
[  INFO ] Converting 1 markdown...
2024-09-19T13:09:48.616Z puppeteer:browsers:launcher Launching /usr/bin/chromium-browser --allow-pre-commit-input --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-hang-monitor --disable-infobars --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-search-engine-choice-screen --disable-sync --enable-automation --export-tagged-pdf --generate-pdf-document-outline --force-color-profile=srgb --metrics-recording-only --no-first-run --password-store=basic --use-mock-keychain --disable-features=Translate,AcceptCHFrame,MediaRouter,OptimizationHints,ProcessPerSiteUpToMainFrameThreshold,IsolateSandboxedIframes --enable-features=PdfOopif --user-data-dir=/tmp/marp-cli-conversion-zeaFUA7rvH --headless --hide-scrollbars --mute-audio about:blank --export-tagged-pdf --test-type --no-sandbox --enable-blink-features=ViewTransition --remote-debugging-port=0 {
  detached: true,
  env: { PUPPETEER_TIMEOUT: '0' },
  stdio: [ 'pipe', 'ignore', 'pipe' ]
}
2024-09-19T13:09:48.621Z puppeteer:browsers:launcher Launched 24
2024-09-19T13:09:49.275Z puppeteer:protocol:SEND ► [
  '{"method":"Target.setDiscoverTargets","params":{"discover":true,"filter":[{}]},"id":1}'
]
2024-09-19T13:09:49.290Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetCreated","params":{"targetInfo":{"targetId":"732CECC3CD0BC5F68FA7A68E64EA0C08","type":"page","title":"","url":"about:blank","attached":false,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:09:49.291Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetCreated","params":{"targetInfo":{"targetId":"80715ede-6bb9-45ad-899f-29f72c21cb2c","type":"browser","title":"","url":"","attached":true,"canAccessOpener":false}}}'
]
2024-09-19T13:09:49.291Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetCreated","params":{"targetInfo":{"targetId":"AC4430D57E26798C92A245BA6B43A55C","type":"tab","title":"","url":"about:blank","attached":false,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:09:49.292Z puppeteer:protocol:RECV ◀ [ '{"id":1,"result":{}}' ]
2024-09-19T13:09:49.294Z puppeteer:protocol:SEND ► [
  '{"method":"Target.setAutoAttach","params":{"waitForDebuggerOnStart":true,"flatten":true,"autoAttach":true,"filter":[{"type":"page","exclude":true},{}]},"id":2}'
]
2024-09-19T13:09:49.295Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"732CECC3CD0BC5F68FA7A68E64EA0C08","type":"page","title":"about:blank","url":"about:blank","attached":false,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:09:49.299Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"AC4430D57E26798C92A245BA6B43A55C","type":"tab","title":"about:blank","url":"about:blank","attached":true,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:09:49.301Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.attachedToTarget","params":{"sessionId":"77300DD37A06B67932041D69D13C4DC7","targetInfo":{"targetId":"AC4430D57E26798C92A245BA6B43A55C","type":"tab","title":"about:blank","url":"about:blank","attached":true,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"},"waitingForDebugger":false}}'
]
2024-09-19T13:09:49.302Z puppeteer:protocol:SEND ► [
  '{"method":"Target.setAutoAttach","params":{"waitForDebuggerOnStart":true,"flatten":true,"autoAttach":true,"filter":[{}]},"id":1,"sessionId":"77300DD37A06B67932041D69D13C4DC7"}'
]
2024-09-19T13:09:49.302Z puppeteer:protocol:SEND ► [
  '{"method":"Runtime.runIfWaitingForDebugger","id":2,"sessionId":"77300DD37A06B67932041D69D13C4DC7"}'
]
2024-09-19T13:09:49.304Z puppeteer:protocol:RECV ◀ [ '{"id":2,"result":{}}' ]
2024-09-19T13:09:49.306Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"732CECC3CD0BC5F68FA7A68E64EA0C08","type":"page","title":"about:blank","url":"about:blank","attached":true,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:09:49.308Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.attachedToTarget","params":{"sessionId":"751E3CB34604CDAB474A4ADE07AD7DD5","targetInfo":{"targetId":"732CECC3CD0BC5F68FA7A68E64EA0C08","type":"page","title":"about:blank","url":"about:blank","attached":true,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"},"waitingForDebugger":false},"sessionId":"77300DD37A06B67932041D69D13C4DC7"}'
]
2024-09-19T13:09:49.308Z puppeteer:protocol:SEND ► [
  '{"method":"Target.setAutoAttach","params":{"waitForDebuggerOnStart":true,"flatten":true,"autoAttach":true,"filter":[{}]},"id":1,"sessionId":"751E3CB34604CDAB474A4ADE07AD7DD5"}'
]
2024-09-19T13:09:49.308Z puppeteer:protocol:SEND ► [
  '{"method":"Runtime.runIfWaitingForDebugger","id":2,"sessionId":"751E3CB34604CDAB474A4ADE07AD7DD5"}'
]
2024-09-19T13:09:49.318Z puppeteer:protocol:SEND ► [
  '{"method":"Target.attachToTarget","params":{"targetId":"80715ede-6bb9-45ad-899f-29f72c21cb2c","flatten":true},"id":3}'
]
2024-09-19T13:09:49.319Z puppeteer:protocol:SEND ► [
  '{"method":"Target.createTarget","params":{"url":"about:blank"},"id":4}'
]
2024-09-19T13:09:49.320Z puppeteer:protocol:RECV ◀ [
  '{"id":1,"result":{},"sessionId":"77300DD37A06B67932041D69D13C4DC7"}'
]
2024-09-19T13:09:49.320Z puppeteer:protocol:RECV ◀ [
  '{"id":2,"result":{},"sessionId":"77300DD37A06B67932041D69D13C4DC7"}'
]
2024-09-19T13:09:49.321Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.attachedToTarget","params":{"sessionId":"7C95B0361C90A27A2EC3AAF1EE9C4F36","targetInfo":{"targetId":"80715ede-6bb9-45ad-899f-29f72c21cb2c","type":"browser","title":"","url":"","attached":true,"canAccessOpener":false},"waitingForDebugger":false}}'
]
2024-09-19T13:09:49.321Z puppeteer:protocol:RECV ◀ [
  '{"id":3,"result":{"sessionId":"7C95B0361C90A27A2EC3AAF1EE9C4F36"}}'
]
2024-09-19T13:09:49.330Z puppeteer:protocol:SEND ► [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AC6vAvn33/fon+eduuhgAGjMKwAAwBRMUP1P4/7non/XDeA4AUBbAdzOAB+j/7FH/4tTDYCxEsACwCYAwMhZt/4vzk/iFYABIAH4GtDjDODZP6///v0vzlIAbqQA8NtAhWcAAIDxHv/+u8b+4/y5fw8AnqUA8AogzgCFAATe/+JUA2B3ZFkBAADGYyrsf8j9T/z7ZwCO0w1gX6wA/WhKABB4/9oGMEsBGAAAAOA4YfS/I/v3BOAlAfDg9u35vr4C5'... 25824 more characters
]
2024-09-19T13:09:49.335Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetCreated","params":{"targetInfo":{"targetId":"7DBF27A929EE0CF876B15025834CD216","type":"tab","title":"","url":"","attached":false,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:09:49.335Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"7DBF27A929EE0CF876B15025834CD216","type":"tab","title":"","url":"","attached":true,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:09:49.337Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.attachedToTarget","params":{"sessionId":"73E99F29441D504F70F5C21F3314AC15","targetInfo":{"targetId":"7DBF27A929EE0CF876B15025834CD216","type":"tab","title":"","url":"","attached":true,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"},"waitingForDebugger":true}}'
]
2024-09-19T13:09:49.337Z puppeteer:protocol:SEND ► [
  '{"method":"Target.setAutoAttach","params":{"waitForDebuggerOnStart":true,"flatten":true,"autoAttach":true,"filter":[{}]},"id":1,"sessionId":"73E99F29441D504F70F5C21F3314AC15"}'
]
2024-09-19T13:09:49.337Z puppeteer:protocol:SEND ► [
  '{"method":"Runtime.runIfWaitingForDebugger","id":2,"sessionId":"73E99F29441D504F70F5C21F3314AC15"}'
]
2024-09-19T13:09:49.338Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetCreated","params":{"targetInfo":{"targetId":"744C439473962D86B58455EF0D7C2BBD","type":"page","title":"","url":"about:blank","attached":false,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:09:49.345Z puppeteer:protocol:RECV ◀ [ '{"id":4,"result":{"targetId":"744C439473962D86B58455EF0D7C2BBD"}}' ]
2024-09-19T13:09:49.351Z puppeteer:protocol:RECV ◀ [
  '{"id":1,"result":{},"sessionId":"7C95B0361C90A27A2EC3AAF1EE9C4F36"}'
]
2024-09-19T13:09:49.353Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"744C439473962D86B58455EF0D7C2BBD","type":"page","title":"","url":"about:blank","attached":true,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:09:49.355Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.attachedToTarget","params":{"sessionId":"AFE3103931F01A7717896CD4BCF959F0","targetInfo":{"targetId":"744C439473962D86B58455EF0D7C2BBD","type":"page","title":"","url":"about:blank","attached":true,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"},"waitingForDebugger":false},"sessionId":"73E99F29441D504F70F5C21F3314AC15"}'
]
2024-09-19T13:09:49.356Z puppeteer:protocol:SEND ► [
  '{"method":"Target.setAutoAttach","params":{"waitForDebuggerOnStart":true,"flatten":true,"autoAttach":true,"filter":[{}]},"id":1,"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:09:49.356Z puppeteer:protocol:SEND ► [
  '{"method":"Runtime.runIfWaitingForDebugger","id":2,"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:09:49.370Z puppeteer:protocol:SEND ► [
  '{"method":"Network.enable","id":3,"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:09:49.370Z puppeteer:protocol:SEND ► [
  '{"method":"Network.setCacheDisabled","params":{"cacheDisabled":false},"id":4,"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:09:49.371Z puppeteer:protocol:SEND ► [
  '{"method":"Fetch.disable","id":5,"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:09:49.371Z puppeteer:protocol:SEND ► [
  '{"method":"Page.enable","id":6,"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:09:49.371Z puppeteer:protocol:SEND ► [
  '{"method":"Page.getFrameTree","id":7,"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:09:49.372Z puppeteer:protocol:SEND ► [
  '{"method":"Page.setLifecycleEventsEnabled","params":{"enabled":true},"id":8,"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:09:49.372Z puppeteer:protocol:SEND ► [
  '{"method":"Runtime.enable","id":9,"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:09:49.372Z puppeteer:protocol:SEND ► [
  '{"method":"Performance.enable","id":10,"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:09:49.372Z puppeteer:protocol:SEND ► [
  '{"method":"Log.enable","id":11,"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:09:49.372Z puppeteer:protocol:RECV ◀ [
  '{"id":1,"result":{},"sessionId":"73E99F29441D504F70F5C21F3314AC15"}'
]
2024-09-19T13:09:49.373Z puppeteer:protocol:RECV ◀ [
  '{"id":2,"result":{},"sessionId":"73E99F29441D504F70F5C21F3314AC15"}'
]
2024-09-19T13:09:49.374Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"744C439473962D86B58455EF0D7C2BBD","type":"page","title":"about:blank","url":"about:blank","attached":true,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:09:49.374Z puppeteer:protocol:RECV ◀ [
  '{"id":5,"result":{},"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:12:49.385Z puppeteer:error [
  ProtocolError: Target.setAutoAttach timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
      at <instance_members_initializer> (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:93:14)
      at new Callback (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:97:16)
      at CallbackRegistry.create (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:22:26)
      at Connection._rawSend (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:89:26)
      at CdpCDPSession.send (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/CDPSession.js:66:33)
      at #onAttachedToTarget (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ChromeTargetManager.js:280:21)
      at listener (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ChromeTargetManager.js:126:42)
      at /home/marp/.cli/node_modules/puppeteer-core/lib/cjs/third_party/mitt/mitt.js:62:7
      at Array.map (<anonymous>)
      at Object.emit (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/third_party/mitt/mitt.js:61:20)
]
2024-09-19T13:12:49.386Z puppeteer:error [
  ProtocolError: Target.setAutoAttach timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
      at <instance_members_initializer> (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:93:14)
      at new Callback (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:97:16)
      at CallbackRegistry.create (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:22:26)
      at Connection._rawSend (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:89:26)
      at CdpCDPSession.send (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/CDPSession.js:66:33)
      at #onAttachedToTarget (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ChromeTargetManager.js:280:21)
      at listener (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/ChromeTargetManager.js:126:42)
      at /home/marp/.cli/node_modules/puppeteer-core/lib/cjs/third_party/mitt/mitt.js:62:7
      at Array.map (<anonymous>)
      at Object.emit (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/third_party/mitt/mitt.js:61:20)
]
2024-09-19T13:12:49.387Z puppeteer:protocol:SEND ► [ '{"method":"Browser.close","id":5}' ]
2024-09-19T13:12:49.387Z puppeteer:protocol:RECV ◀ [ '{"id":5,"result":{}}' ]
2024-09-19T13:12:49.388Z puppeteer:protocol:RECV ◀ [
  '{"id":1,"result":{},"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:12:49.389Z puppeteer:protocol:RECV ◀ [
  '{"method":"Inspector.detached","params":{"reason":"Render process gone."},"sessionId":"AFE3103931F01A7717896CD4BCF959F0"}'
]
2024-09-19T13:12:49.391Z puppeteer:protocol:RECV ◀ [
  '{"id":1,"result":{},"sessionId":"751E3CB34604CDAB474A4ADE07AD7DD5"}'
]
2024-09-19T13:12:49.392Z puppeteer:protocol:RECV ◀ [
  '{"method":"Inspector.detached","params":{"reason":"Render process gone."},"sessionId":"751E3CB34604CDAB474A4ADE07AD7DD5"}'
]
2024-09-19T13:12:49.395Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"744C439473962D86B58455EF0D7C2BBD","type":"page","title":"about:blank","url":"about:blank","attached":false,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:12:49.397Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.detachedFromTarget","params":{"sessionId":"AFE3103931F01A7717896CD4BCF959F0","targetId":"744C439473962D86B58455EF0D7C2BBD"},"sessionId":"73E99F29441D504F70F5C21F3314AC15"}'
]
2024-09-19T13:12:49.397Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetDestroyed","params":{"targetId":"744C439473962D86B58455EF0D7C2BBD"}}'
]
2024-09-19T13:12:49.398Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"7DBF27A929EE0CF876B15025834CD216","type":"tab","title":"","url":"","attached":false,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:12:49.398Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.detachedFromTarget","params":{"sessionId":"73E99F29441D504F70F5C21F3314AC15","targetId":"7DBF27A929EE0CF876B15025834CD216"}}'
]
2024-09-19T13:12:49.400Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetDestroyed","params":{"targetId":"7DBF27A929EE0CF876B15025834CD216"}}'
]
2024-09-19T13:12:49.400Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"732CECC3CD0BC5F68FA7A68E64EA0C08","type":"page","title":"about:blank","url":"about:blank","attached":false,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:12:49.401Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.detachedFromTarget","params":{"sessionId":"751E3CB34604CDAB474A4ADE07AD7DD5","targetId":"732CECC3CD0BC5F68FA7A68E64EA0C08"},"sessionId":"77300DD37A06B67932041D69D13C4DC7"}'
]
2024-09-19T13:12:49.401Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetDestroyed","params":{"targetId":"732CECC3CD0BC5F68FA7A68E64EA0C08"}}'
]
2024-09-19T13:12:49.401Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"AC4430D57E26798C92A245BA6B43A55C","type":"tab","title":"","url":"","attached":false,"canAccessOpener":false,"browserContextId":"CFD7337B2B471C25B31A83351D02C1BB"}}}'
]
2024-09-19T13:12:49.402Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.detachedFromTarget","params":{"sessionId":"77300DD37A06B67932041D69D13C4DC7","targetId":"AC4430D57E26798C92A245BA6B43A55C"}}'
]
2024-09-19T13:12:49.402Z puppeteer:protocol:RECV ◀ [
  '{"method":"Target.targetDestroyed","params":{"targetId":"AC4430D57E26798C92A245BA6B43A55C"}}'
]
2024-09-19T13:12:49.504Z puppeteer:browsers:launcher Browser process 24 onExit
/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:93
    #error = new Errors_js_1.ProtocolError();
             ^

ProtocolError: Network.enable timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
    at <instance_members_initializer> (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:93:14)
    at new Callback (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:97:16)
    at CallbackRegistry.create (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:22:26)
    at Connection._rawSend (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:89:26)
    at CdpCDPSession.send (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/CDPSession.js:66:33)
    at NetworkManager.addClient (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/NetworkManager.js:62:20)
    at FrameManager.initialize (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/FrameManager.js:170:38)
    at #initialize (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Page.js:283:36)
    at CdpPage._create (/home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Page.js:96:31)
    at /home/marp/.cli/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Target.js:206:42

Node.js v20.17.0

@davidgrieser
Copy link

Had the exact same problem for PDF and PPTX generation.

#591 was merged. This triggered an update to the Docker images for marpteam/marp-cli:latest.

To get things working, for now, we have locked into v3.4.0 which is the last stable release build of the marp-cli.

So, if you have omitted the tag on your docker image reference, I would add it. If you have latest I would change it to v3.4.0, which you can find Docker Hub - marp-cli - v3.4.0

@davidgrieser
Copy link

The similar issue has reported by others, but I cannot yet determine the root cause because I could not reproduce that. Try the debug, like them:

  • Add -e DEBUG="*" option to make visible debug logs by Puppeteer.
  • Add -e PUPPETEER_TIMEOUT=0 to disable timeout.
  • Try -e PUPPETEER_HEADLESS_MODE=new to use the new headless mode.

I'm not sure if you posted this on the other issue that was reported, but I hadn't tried the new headless for puppeteer. I think that is the source of these problems and given I don't know all the systems involved, but the stack trace points that direction, this could be the crux of it all.

@yhatt
Copy link
Member

yhatt commented Sep 20, 2024

Yes, we treat latest tag for Marp CLI Docker image as canary release, so using v3.4.0 would be stable at the expense of secure.

The next update of Marp CLI will be major update v4 including the plan of adopting new headless mode and new browser options. The current headless mode will be removed from Google Chrome in the last of 2024, so we are going to update into using the new headless mode.

@ankudinov
Copy link

Seeing this issue as well on Gitlab CI. v3.4.0 is definitely stable, the problem is only present with latest tag. For me it's a small non-prod repository and I have a good excuse to use latest (on prod it's fixed as it should be), however latest is surprisingly popular in the field for all kinds of containers I've seen and ideally should represent some latest stable. canary / dev tag for canary.

@JJ1LFC
Copy link

JJ1LFC commented Oct 3, 2024

I'm still seeing the same error message w/o docker

OS: Ubuntu 24.04.1 LTS
"dependencies": {
"@marp-team/marp-cli": "3.4.0",
"@marp-team/marp-core": "^4.0.0",
"@marp-team/marpit": "^3.1.1",
"cpx": "^1.5.0",
"node": "^20",
"puppeteer": "^23.5.0"
}
"packageManager": "[email protected]"

(I know I don't have to put any dependencies other than marp-cli on my slides repo, just tried to do everthing to find the cause)

@yhatt
Copy link
Member

yhatt commented Oct 5, 2024

Puppeteer has several reports about timeout due to using Alpine Linux as a container.
https://github.com/search?q=repo%3Apuppeteer%2Fpuppeteer+timeout+alpine&type=issues

We've updated the image to use Debian instead of Alpine in #608, and it can test with marpteam/marp-cli:latest. I hope the error about timeout is mitigated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants