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

Windows 10 - "Waiting for Firefox to connect..." #474

Open
f1refa11 opened this issue Mar 12, 2023 · 2 comments
Open

Windows 10 - "Waiting for Firefox to connect..." #474

f1refa11 opened this issue Mar 12, 2023 · 2 comments

Comments

@f1refa11
Copy link

f1refa11 commented Mar 12, 2023

The same problem was published at #441 , but it seems unsolved but closed.
Logs:

Looking in C:\Users\firef\AppData\Roaming\browsh\config.toml for config.
Attempting to connect to Firefox Marionette
Starting Firefox in headless mode
Windows registry Firefox version: 110.0.1
Using Firefox at: C:\Program Files\Mozilla Firefox\firefox.exe
Windows registry Firefox version: 110.0.1
Using default profile at: C:\Users\firef\AppData\Roaming\browsh\firefox_profile
FF-CONSOLE: [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
Sending `WebDriver:NewSession` to Firefox Marionette
Sending `Addon:Install` to Firefox Marionette
Starting Browsh CLI client
Starting websocket server...
Webextension not connected. Message not sent: /tty_size,120,30
FF-MRNT: 50:{"applicationType":"gecko","marionetteProtocol":3}
FF-MRNT: 1106:[1,1,{"error":"unknown error","message":"Expected absolute path: [Exception... \"Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath]\"  nsresult: \"0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)\"  location: \"JS frame :: chrome://remote/content/marionette/addon.sys.mjs :: install :: line 69\"  data: no]","stacktrace":"RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8\nWebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:180:5\nUnknownError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:507:5\ninstall@chrome://remote/content/marionette/addon.sys.mjs:71:13\nGeckoDriver.prototype.installAddon@chrome://remote/content/marionette/driver.sys.mjs:2857:21\ndespatch@chrome://remote/content/marionette/server.sys.mjs:303:40\nexecute@chrome://remote/content/marionette/server.sys.mjs:276:16\nonPacket/<@chrome://remote/content/marionette/server.sys.mjs:249:20\nonPacket@chrome://remote/content/marionette/server.sys.mjs:250:9\n_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:496:20\n"},null]
FF-MRNT: 716:[1,0,null,{"sessionId":"0dce0475-73b5-4c82-ad83-9e78ae5f5050","capabilities":{"browserName":"firefox","browserVersion":"110.0.1","platformName":"windows","acceptInsecureCerts":false,"pageLoadStrategy":"normal","setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":false,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20230227191043","moz:headless":true,"moz:platformVersion":"10.0","moz:processID":35864,"moz:profile":"C:\\Users\\firef\\AppData\\Roaming\\browsh\\firefox_profile","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}]

OS: Windows 10 Pro 21H2
Terminal: Windows Powershell 7 using Windows Terminal

I hope it will be fixed soon.

@Zeguim
Copy link

Zeguim commented Nov 1, 2023

Same problem here

Looking in C:\Users\Bilabi\AppData\Roaming\browsh\config.toml for config.
Attempting to connect to Firefox Marionette
Starting Firefox in headless mode
Windows registry Firefox version: 119.0
Using Firefox at: C:\Program Files\Mozilla Firefox\firefox.exe
Windows registry Firefox version: 119.0
Using default profile at: C:\Users\Bilabi\AppData\Roaming\browsh\firefox_profile
Sending WebDriver:NewSession to Firefox Marionette
Sending Addon:Install to Firefox Marionette
Starting Browsh CLI client
Starting websocket server...
Webextension not connected. Message not sent: /tty_size,120,30
Webextension not connected. Message not sent: /tty_size,120,30
Webextension not connected. Message not sent: /tty_size,120,30
FF-MRNT: 50:{"applicationType":"gecko","marionetteProtocol":3}
FF-MRNT: 1106:[1,1,{"error":"unknown error","message":"Expected absolute path: [Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.initWithPath]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: chrome://remote/content/marionette/addon.sys.mjs :: install :: line 70" data: no]","stacktrace":"RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8\nWebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:189:5\nUnknownError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:768:5\ninstall@chrome://remote/content/marionette/addon.sys.mjs:72:13\nGeckoDriver.prototype.installAddon@chrome://remote/content/marionette/driver.sys.mjs:2953:21\ndespatch@chrome://remote/content/marionette/server.sys.mjs:318:40\nexecute@chrome://remote/content/marionette/server.sys.mjs:289:16\nonPacket/<@chrome://remote/content/marionette/server.sys.mjs:262:20\nonPacket@chrome://remote/content/marionette/server.sys.mjs:263:9\n_onJSONObjectReady/<@chrome://remote/content/marionette/transport.sys.mjs:494:20\n"},null]
FF-CONSOLE: [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
FF-MRNT: 669:[1,0,null,{"sessionId":"aacc41c4-0e34-40b9-b50b-63afb223c31b","capabilities":{"browserName":"firefox","browserVersion":"119.0","platformName":"windows","acceptInsecureCerts":false,"pageLoadStrategy":"normal","setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":false,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20231019122658","moz:headless":true,"moz:platformVersion":"10.0","moz:processID":7712,"moz:profile":"C:\Users\Bilabi\AppData\Roaming\browsh\firefox_profile","moz:shutdownTimeout":60000,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}]
Sending Marionette:Quit to Firefox Marionette
*errors.errorString normal
/home/runner/work/browsh/browsh/interfacer/src/browsh/tty.go:113 (0x1021f3d)
/home/runner/work/browsh/browsh/interfacer/src/browsh/firefox.go:311 (0x1019fc5)
/opt/hostedtoolcache/go/1.18.4/x64/src/runtime/asm_amd64.s:1571 (0xd330a1)

@tombh
Copy link
Member

tombh commented Dec 29, 2023

We have a potential fix merged to master (#502). Would either of you be able to test it?

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

No branches or pull requests

3 participants