Replies: 4 comments 7 replies
-
It looks that a network issue is avoiding the communication with the selenium, please, check that the vlan created during installation is working. Best regards. |
Beta Was this translation helpful? Give feedback.
-
Also, it is a common issue caused when selenium don't have enough shared memory, please use the latest version of the installer, that issue was fixed. Check the the compose.yml generated by your installer, in the web-pdf service you must see a volume pointing to /dev/shm, if not, install the latest version. |
Beta Was this translation helpful? Give feedback.
-
Hi @agauttam we are working to reproduce that behavior, in our environments with normal installation all reports are generated fine we will let you know, if you can, send us an screenshot of the dashboard that don't generates the pdf. |
Beta Was this translation helpful? Give feedback.
-
Hi Freddy, I compared the logs from both the working and non-working scenarios and found them to be similar. I also reviewed the package but could not find any way to debug the web-pdf logs. Best, |
Beta Was this translation helpful? Give feedback.
-
Getting the below error on webpdf container
08:47:04.473 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {acceptInsecureCerts: true, browserName: chrome, goog:chromeOptions: {args: [--headless, --no-sandbox], extensions: []}}]
08:47:06.104 INFO [LocalNode.newSession] - Session created by the Node. Id: 06580489d39ed5cb9422fd8fd8846d7b, Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome-headless-shell, browserVersion: 124.0.6367.118, chrome: {chromedriverVersion: 124.0.6367.91 (51df0e5e17a8..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:42901}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://10.0.1.16:4444/session..., se:cdpVersion: 124.0.6367.118, se:vnc: ws://10.0.1.16:4444/session..., se:vncEnabled: true, se:vncLocalAddress: ws://10.0.1.16:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
08:47:06.157 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 06580489d39ed5cb9422fd8fd8846d7b
Caps: Capabilities {acceptInsecureCerts: true, browserName: chrome-headless-shell, browserVersion: 124.0.6367.118, chrome: {chromedriverVersion: 124.0.6367.91 (51df0e5e17a8..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:42901}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://10.0.1.16:4444/session..., se:cdpVersion: 124.0.6367.118, se:vnc: ws://10.0.1.16:4444/session..., se:vncEnabled: true, se:vncLocalAddress: ws://10.0.1.16:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
2024-05-29 08:47:06.459 INFO 8 --- [ null to remote] o.o.selenium.remote.ProtocolHandshake : Detected dialect: W3C
08:48:05.058 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "32d93188bb5dd46556e7be8520aefadc","eventTime": 1716972484901432166,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.remote.http.Route$PredicatedRoute","http.host": "localhost:4444","http.method": "POST","http.request_content_length": "340","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession\u002f06580489d39ed5cb9422fd8fd8846d7b\u002fprint","http.user_agent": "selenium\u002f4.1.4 (java unix)"}}
2024-05-29 08:48:07.575 ERROR 8 --- [nio-8080-exec-7] c.u.w.service.PdfGenerationService : unknown error: session deleted because of page crash
from unknown error: cannot determine loading status
from tab crashed
(Session info: chrome-headless-shell=124.0.6367.118)
Build info: version: '4.1.4', revision: '535d840ee2'
System info: host: '5bd53e6fb2db', ip: '10.0.1.16', os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-107-generic', java.version: '17.0.11'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Command: [06580489d39ed5cb9422fd8fd8846d7b, printPage {scale=1.0, orientation=portrait, margin=org.openqa.selenium.print.PageMargin@106069b2, page=org.openqa.selenium.print.PageSize@36d41067, shrinkToFit=true, background=false}]
Capabilities {acceptInsecureCerts: true, browserName: chrome-headless-shell, browserVersion: 124.0.6367.118, chrome: {chromedriverVersion: 124.0.6367.91 (51df0e5e17a8..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:42901}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://10.0.1.16:4444/session..., se:cdpVersion: 124.0.6367.118, se:vnc: ws://10.0.1.16:4444/session..., se:vncEnabled: true, se:vncLocalAddress: ws://10.0.1.16:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: 06580489d39ed5cb9422fd8fd8846d7b
08:48:08.836 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 06580489d39ed5cb9422fd8fd8846d7b
08:48:08.866 INFO [GridModel.release] - Releasing slot for session id 06580489d39ed5cb9422fd8fd8846d7b
08:48:08.876 INFO [SessionSlot.stop] - Stopping session 06580489d39ed5cb9422fd8fd8846d7b
Beta Was this translation helpful? Give feedback.
All reactions