Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

Unable to Capture Network traffic of Firefox browser using browsermob proxy Java

  • 1 antwoord
  • 1 het hierdie probleem
  • 37 views
  • Laaste antwoord deur jonzn4SUSE

more options

Before i could capture network traffic of firefox browser with browsermob proxy. Suddenly unable to do it. Please find the error logs while using Firefox Driver with Selenium Java.

Need help to capture firefox network traffic using browsermob proxy.

Selenium:3.141.59 Firefox Version: 95.0.2 GeckoDriver: 0.30.0 OS: Windows 10 JDK: 11

Logs: [RemoteTestNG] detected TestNG version 7.4.0 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.bouncycastle.jcajce.provider.drbg.DRBG (file:/C:/Users/username/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.58/bcprov-jdk15on-1.58.jar) to constructor sun.security.provider.Sun() WARNING: Please consider reporting this to the maintainers of org.bouncycastle.jcajce.provider.drbg.DRBG WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 2021-12-21 16:13:31 [INFO] [BrowserSetup] - Base.BrowserMob Proxy running on port: 51990 1640083411509 geckodriver INFO Listening on 127.0.0.1:35137 1640083412119 mozrunner::runner INFO Running command: "C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe" "--marionette" "-no-remote" "-profile" "C:\\Users\\username\\AppData\\Local\\Temp\\rust_mozprofileQYBjuz" 1640083412767 Marionette INFO Marionette enabled console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at C:\\Users\\username\\AppData\\Local\\Temp\\rust_mozprofileQYBjuz\\search.json.mozlz4", (void 0))) 1640083416104 Marionette INFO Listening on port 51994 1640083416274 RemoteAgent WARN TLS certificate errors will be ignored for this session 1640083416277 RemoteAgent INFO Proxy settings initialised: {"proxyType":"manual","httpProxy":"10.166.110.42:51990","sslProxy":"10.166.110.42:51990"} Dec 21, 2021 4:13:36 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C 2021-12-21 16:13:36 [INFO] [T6LinearPageTest] - Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 95.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211129150630, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 2356, moz:profile: C:\Users\username\AppData\..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(manual, http=10.166.1..., setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify} console.error: Region.jsm: "Error fetching region" (new Error("TIMEOUT", "resource://gre/modules/Region.jsm", 772)) console.error: Region.jsm: "Failed to fetch region" (new Error("TIMEOUT", "resource://gre/modules/Region.jsm", 419)) JavaScript warning: https://assets.adobedtm.com/launch-EN19b2b2616dae464bb03c0afd94653b19-development.min.js, line 8: WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. 1640083540607 Marionette INFO Stopped listening on port 51994

      1. !!! [Parent][MessageChannel] Error: (msgtype=0x39007A,name=PContent::Msg_DestroyBrowsingContextGroup) Closed channel: cannot send/recv


      1. !!! [Child][MessageChannel] Error: (msgtype=0x390147,name=PContent::Msg_ScriptError) Channel closing: too late to send/recv, messages will be lost


      1. !!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost


      1. !!! [Child][MessageChannel] Error: (msgtype=0xAA0006,name=PWebSocket::Msg_DeleteSelf) Channel closing: too late to send/recv, messages will be lost


      1. !!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost


      1. !!! [Child][MessageChannel] Error: (msgtype=0x390147,name=PContent::Msg_ScriptError) Channel closing: too late to send/recv, messages will be lost


      1. !!! [Child][MessageChannel] Error: (msgtype=0xAA0006,name=PWebSocket::Msg_DeleteSelf) Channel closing: too late to send/recv, messages will be lost


      1. !!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
Before i could capture network traffic of firefox browser with browsermob proxy. Suddenly unable to do it. Please find the error logs while using Firefox Driver with Selenium Java. Need help to capture firefox network traffic using browsermob proxy. Selenium:3.141.59 Firefox Version: 95.0.2 GeckoDriver: 0.30.0 OS: Windows 10 JDK: 11 Logs: [RemoteTestNG] detected TestNG version 7.4.0 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.bouncycastle.jcajce.provider.drbg.DRBG (file:/C:/Users/username/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.58/bcprov-jdk15on-1.58.jar) to constructor sun.security.provider.Sun() WARNING: Please consider reporting this to the maintainers of org.bouncycastle.jcajce.provider.drbg.DRBG WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 2021-12-21 16:13:31 [INFO] [BrowserSetup] - Base.BrowserMob Proxy running on port: 51990 1640083411509 geckodriver INFO Listening on 127.0.0.1:35137 1640083412119 mozrunner::runner INFO Running command: "C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe" "--marionette" "-no-remote" "-profile" "C:\\Users\\username\\AppData\\Local\\Temp\\rust_mozprofileQYBjuz" 1640083412767 Marionette INFO Marionette enabled console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at C:\\Users\\username\\AppData\\Local\\Temp\\rust_mozprofileQYBjuz\\search.json.mozlz4", (void 0))) 1640083416104 Marionette INFO Listening on port 51994 1640083416274 RemoteAgent WARN TLS certificate errors will be ignored for this session 1640083416277 RemoteAgent INFO Proxy settings initialised: {"proxyType":"manual","httpProxy":"10.166.110.42:51990","sslProxy":"10.166.110.42:51990"} Dec 21, 2021 4:13:36 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: W3C 2021-12-21 16:13:36 [INFO] [T6LinearPageTest] - Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 95.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20211129150630, moz:geckodriverVersion: 0.30.0, moz:headless: false, moz:processID: 2356, moz:profile: C:\Users\username\AppData\..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, platformVersion: 10.0, proxy: Proxy(manual, http=10.166.1..., setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify} console.error: Region.jsm: "Error fetching region" (new Error("TIMEOUT", "resource://gre/modules/Region.jsm", 772)) console.error: Region.jsm: "Failed to fetch region" (new Error("TIMEOUT", "resource://gre/modules/Region.jsm", 419)) JavaScript warning: https://assets.adobedtm.com/launch-EN19b2b2616dae464bb03c0afd94653b19-development.min.js, line 8: WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. 1640083540607 Marionette INFO Stopped listening on port 51994 ###!!! [Parent][MessageChannel] Error: (msgtype=0x39007A,name=PContent::Msg_DestroyBrowsingContextGroup) Closed channel: cannot send/recv ###!!! [Child][MessageChannel] Error: (msgtype=0x390147,name=PContent::Msg_ScriptError) Channel closing: too late to send/recv, messages will be lost ###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost ###!!! [Child][MessageChannel] Error: (msgtype=0xAA0006,name=PWebSocket::Msg_DeleteSelf) Channel closing: too late to send/recv, messages will be lost ###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost ###!!! [Child][MessageChannel] Error: (msgtype=0x390147,name=PContent::Msg_ScriptError) Channel closing: too late to send/recv, messages will be lost ###!!! [Child][MessageChannel] Error: (msgtype=0xAA0006,name=PWebSocket::Msg_DeleteSelf) Channel closing: too late to send/recv, messages will be lost ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

All Replies (1)

more options

Here is a link to ask about your issue. https://groups.google.com/g/browsermob-proxy?pli=1