很抱歉是否已经回答。升级到以下配置
收到以下错误
{ org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
mautofill@mozilla.org.xpi
1537553565146 addons.xpi DEBUG Calling bootstrap method startup on formautofill@mozilla.org version 1.0
1537553565146 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/onboarding@mozilla.org.xpi
1537553565147 addons.xpi DEBUG Calling bootstrap method startup on onboarding@mozilla.org version 1.0
1537553565147 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/screenshots@mozilla.org.xpi
1537553565147 addons.xpi DEBUG Calling bootstrap method startup on screenshots@mozilla.org version 33.0.0
1537553565147 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/webcompat-reporter@mozilla.org.xpi
1537553565148 addons.xpi DEBUG Calling bootstrap method startup on webcompat-reporter@mozilla.org version 1.0.0
1537553565148 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/webcompat@mozilla.org.xpi
1537553565149 addons.xpi DEBUG Calling bootstrap method startup on webcompat@mozilla.org version 2.0
1537553565150 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1537553565150 addons.manager DEBUG Provider finished startup: XPIProvider
1537553565150 addons.manager DEBUG Starting provider: LightweightThemeManager
1537553565150 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1537553565151 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1537553565151 addons.manager DEBUG Starting provider: GMPProvider
1537553565152 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1537553565152 addons.manager DEBUG Provider finished startup: GMPProvider
1537553565153 addons.manager DEBUG Starting provider: PluginProvider
1537553565153 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1537553565153 addons.manager DEBUG Provider finished startup: PluginProvider
1537553565154 addons.manager DEBUG Completed startup sequence
1537553565600 addons.repository DEBUG No addons.json found.
2018-09-21 11:12:45.914 plugin-container[35966:329773] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x7503, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2018-09-21 11:12:46.180 plugin-container[35967:329797] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x8f3f, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
1537553566260 addons.xpi DEBUG Ignoring file: name is not a valid add-on ID: /var/folders/mr/7k3wv5jd3g360bqmysjtlxmcl0y8gl/T/anonymous2087886704480367890webdriver-profile/extensions/webdriver-staging
1537553566261 addons.xpi DEBUG Existing add-on activity-stream@mozilla.org in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on aushelper@mozilla.org in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on firefox@getpocket.com in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on formautofill@mozilla.org in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on onboarding@mozilla.org in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on screenshots@mozilla.org in app-system-defaults
1537553566262 addons.xpi DEBUG Existing add-on webcompat-reporter@mozilla.org in app-system-defaults
1537553566262 addons.xpi DEBUG Existing add-on webcompat@mozilla.org in app-system-defaults
1537553566262 addons.xpi DEBUG Existing add-on web2pdfextension@web2pdf.adobedotcom in app-system-local
1537553566262 addons.xpi DEBUG scanForChanges changed: false, state: {}
JavaScript error: resource://gre/modules/addons/XPIProvider.jsm, line 2579: TypeError: addon is null
2018-09-21 11:12:46.860 plugin-container[35981:329942] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x893f, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:123)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:271)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:119)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:216)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:128)
at com.sony.snei.common.utils.SeleniumUtil.seleniumHub(SeleniumUtil.java:104)
at com.sony.snei.common.utils.SeleniumUtil.main(SeleniumUtil.java:156)
Exception occurred : nullorg.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin) on port 7055; process output follows:
mautofill@mozilla.org.xpi
1537553565146 addons.xpi DEBUG Calling bootstrap method startup on formautofill@mozilla.org version 1.0
1537553565146 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/onboarding@mozilla.org.xpi
1537553565147 addons.xpi DEBUG Calling bootstrap method startup on onboarding@mozilla.org version 1.0
1537553565147 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/screenshots@mozilla.org.xpi
1537553565147 addons.xpi DEBUG Calling bootstrap method startup on screenshots@mozilla.org version 33.0.0
1537553565147 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/webcompat-reporter@mozilla.org.xpi
1537553565148 addons.xpi DEBUG Calling bootstrap method startup on webcompat-reporter@mozilla.org version 1.0.0
1537553565148 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/webcompat@mozilla.org.xpi
1537553565149 addons.xpi DEBUG Calling bootstrap method startup on webcompat@mozilla.org version 2.0
1537553565150 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1537553565150 addons.manager DEBUG Provider finished startup: XPIProvider
1537553565150 addons.manager DEBUG Starting provider: LightweightThemeManager
1537553565150 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1537553565151 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1537553565151 addons.manager DEBUG Starting provider: GMPProvider
1537553565152 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1537553565152 addons.manager DEBUG Provider finished startup: GMPProvider
1537553565153 addons.manager DEBUG Starting provider: PluginProvider
1537553565153 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1537553565153 addons.manager DEBUG Provider finished startup: PluginProvider
1537553565154 addons.manager DEBUG Completed startup sequence
1537553565600 addons.repository DEBUG No addons.json found.
2018-09-21 11:12:45.914 plugin-container[35966:329773] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x7503, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2018-09-21 11:12:46.180 plugin-container[35967:329797] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x8f3f, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
1537553566260 addons.xpi DEBUG Ignoring file: name is not a valid add-on ID: /var/folders/mr/7k3wv5jd3g360bqmysjtlxmcl0y8gl/T/anonymous2087886704480367890webdriver-profile/extensions/webdriver-staging
1537553566261 addons.xpi DEBUG Existing add-on activity-stream@mozilla.org in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on aushelper@mozilla.org in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on firefox@getpocket.com in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on formautofill@mozilla.org in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on onboarding@mozilla.org in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on screenshots@mozilla.org in app-system-defaults
1537553566262 addons.xpi DEBUG Existing add-on webcompat-reporter@mozilla.org in app-system-defaults
1537553566262 addons.xpi DEBUG Existing add-on webcompat@mozilla.org in app-system-defaults
1537553566262 addons.xpi DEBUG Existing add-on web2pdfextension@web2pdf.adobedotcom in app-system-local
1537553566262 addons.xpi DEBUG scanForChanges changed: false, state: {}
JavaScript error: resource://gre/modules/addons/XPIProvider.jsm, line 2579: TypeError: addon is null
2018-09-21 11:12:46.860 plugin-container[35981:329942] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x893f, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
Build info: version: '2.50.1', revision: 'd7fc91b29de65b790abb01f3ac5f7ea2191c88a7', time: '2016-01-29 11:11:26'
System info: host: 'us9801a78e3ff7', ip: '43.148.23.82', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.6', java.version: '1.8.0_181'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:135)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:271)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:119)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:216)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:128)
at com.sony.snei.common.utils.SeleniumUtil.seleniumHub(SeleniumUtil.java:104)
at com.sony.snei.common.utils.SeleniumUtil.main(SeleniumUtil.java:156)
Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
mautofill@mozilla.org.xpi
1537553565146 addons.xpi DEBUG Calling bootstrap method startup on formautofill@mozilla.org version 1.0
1537553565146 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/onboarding@mozilla.org.xpi
1537553565147 addons.xpi DEBUG Calling bootstrap method startup on onboarding@mozilla.org version 1.0
1537553565147 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/screenshots@mozilla.org.xpi
1537553565147 addons.xpi DEBUG Calling bootstrap method startup on screenshots@mozilla.org version 33.0.0
1537553565147 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/webcompat-reporter@mozilla.org.xpi
1537553565148 addons.xpi DEBUG Calling bootstrap method startup on webcompat-reporter@mozilla.org version 1.0.0
1537553565148 addons.xpi DEBUG Registering manifest for /Applications/Firefox.app/Contents/Resources/browser/features/webcompat@mozilla.org.xpi
1537553565149 addons.xpi DEBUG Calling bootstrap method startup on webcompat@mozilla.org version 2.0
1537553565150 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1537553565150 addons.manager DEBUG Provider finished startup: XPIProvider
1537553565150 addons.manager DEBUG Starting provider: LightweightThemeManager
1537553565150 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1537553565151 addons.manager DEBUG Provider finished startup: LightweightThemeManager
1537553565151 addons.manager DEBUG Starting provider: GMPProvider
1537553565152 addons.manager DEBUG Registering shutdown blocker for GMPProvider
1537553565152 addons.manager DEBUG Provider finished startup: GMPProvider
1537553565153 addons.manager DEBUG Starting provider: PluginProvider
1537553565153 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1537553565153 addons.manager DEBUG Provider finished startup: PluginProvider
1537553565154 addons.manager DEBUG Completed startup sequence
1537553565600 addons.repository DEBUG No addons.json found.
2018-09-21 11:12:45.914 plugin-container[35966:329773] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x7503, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2018-09-21 11:12:46.180 plugin-container[35967:329797] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x8f3f, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
1537553566260 addons.xpi DEBUG Ignoring file: name is not a valid add-on ID: /var/folders/mr/7k3wv5jd3g360bqmysjtlxmcl0y8gl/T/anonymous2087886704480367890webdriver-profile/extensions/webdriver-staging
1537553566261 addons.xpi DEBUG Existing add-on activity-stream@mozilla.org in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on aushelper@mozilla.org in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on firefox@getpocket.com in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on formautofill@mozilla.org in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on onboarding@mozilla.org in app-system-defaults
1537553566261 addons.xpi DEBUG Existing add-on screenshots@mozilla.org in app-system-defaults
1537553566262 addons.xpi DEBUG Existing add-on webcompat-reporter@mozilla.org in app-system-defaults
1537553566262 addons.xpi DEBUG Existing add-on webcompat@mozilla.org in app-system-defaults
1537553566262 addons.xpi DEBUG Existing add-on web2pdfextension@web2pdf.adobedotcom in app-system-local
1537553566262 addons.xpi DEBUG scanForChanges changed: false, state: {}
JavaScript error: resource://gre/modules/addons/XPIProvider.jsm, line 2579: TypeError: addon is null
2018-09-21 11:12:46.860 plugin-container[35981:329942] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x893f, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:123)
... 7 more
java.lang.NullPointerException
at com.sony.snei.common.utils.SeleniumUtil.seleniumHub(SeleniumUtil.java:118)
at com.sony.snei.common.utils.SeleniumUtil.main(SeleniumUtil.java:156)
Exception in thread "main" java.lang.NullPointerException
at com.sony.snei.common.utils.SeleniumUtil.main(SeleniumUtil.java:167)
}
有人用最新二进制文件看到了此错误吗?
不打算将Firefox版本降级为47 <,因为我们想使用壁虎驱动程序。
我尝试了多个geckodrivers,但是没有用。浏览器打开,无法继续,是否与未设置的任何配置文件有关?
已编辑:尝试查找addon.json时也似乎失败。不确定这是否是问题所在。