1. 程式人生 > >Selenium firefox不相容org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.

Selenium firefox不相容org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.

使用firefox 28,selenium2.35.0時,報錯



org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
tensions\\[email protected]","mtime":1406253406712},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\

[email protected]","mtime":1406253407262,"rdfTime":1392884482000},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253407274},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\
[email protected]
","mtime":1406253409228,"rdfTime":1395041894000},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409248},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\
[email protected]
","mtime":1406253401162,"rdfTime":1406253401021},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409357},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409471},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409575}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** LOG addons.xpi: Registering manifest for C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Calling bootstrap method startup on [email protected] version 1.0.11
*** LOG addons.xpi: Registering manifest for C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Calling bootstrap method startup on [email protected] version 0.7
*** LOG addons.xpi: Registering manifest for C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Calling bootstrap method startup on [email protected] version 0.2
*** LOG addons.xpi: Registering manifest for C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Calling bootstrap method startup on [email protected] version 1.0.2
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** ERROR COBA: Failed to hook function: getShortcutOrURI
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded


at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:106)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:251)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:197)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:99)
at automation.ewsProject.index.IndexBasic95d9991acaad4664bd638c6a6f354397.setUp_ChromeDriver(IndexBasic95d9991acaad4664bd638c6a6f354397.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:277)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
FAILED CONFIGURATION: @BeforeSuite setUp_ChromeDriver
org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files\Mozilla Firefox\firefox.exe) on port 7055; process output follows: 
tensions\\[email protected]","mtime":1406253406712},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253407262,"rdfTime":1392884482000},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253407274},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409228,"rdfTime":1395041894000},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409248},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253401162,"rdfTime":1406253401021},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409357},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409471},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409575}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** LOG addons.xpi: Registering manifest for C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Calling bootstrap method startup on [email protected] version 1.0.11
*** LOG addons.xpi: Registering manifest for C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Calling bootstrap method startup on [email protected] version 0.7
*** LOG addons.xpi: Registering manifest for C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Calling bootstrap method startup on [email protected] version 0.2
*** LOG addons.xpi: Registering manifest for C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Calling bootstrap method startup on [email protected] version 1.0.2
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** ERROR COBA: Failed to hook function: getShortcutOrURI
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded


Build info: version: '2.35.0', revision: '8df0c6b', time: '2013-08-12 15:43:19'
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:251)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:197)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:99)
at automation.ewsProject.index.IndexBasic95d9991acaad4664bd638c6a6f354397.setUp_ChromeDriver(IndexBasic95d9991acaad4664bd638c6a6f354397.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:277)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
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:
tensions\\[email protected]","mtime":1406253406712},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253407262,"rdfTime":1392884482000},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253407274},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409228,"rdfTime":1395041894000},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409248},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253401162,"rdfTime":1406253401021},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409357},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409471},"[email protected]":{"descriptor":"C:\\Users\\liuru\\AppData\\Local\\Temp\\anonymous123678787491609026webdriver-profile\\extensions\\[email protected]","mtime":1406253409575}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** LOG addons.xpi: Registering manifest for C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Calling bootstrap method startup on [email protected] version 1.0.11
*** LOG addons.xpi: Registering manifest for C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Calling bootstrap method startup on [email protected] version 0.7
*** LOG addons.xpi: Registering manifest for C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Calling bootstrap method startup on [email protected] version 0.2
*** LOG addons.xpi: Registering manifest for C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\liuru\AppData\Local\Temp\anonymous123678787491609026webdriver-profile\extensions\[email protected]
*** LOG addons.xpi: Calling bootstrap method startup on [email protected] version 1.0.2
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** ERROR COBA: Failed to hook function: getShortcutOrURI
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded


at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:106)
... 25 more

上網查一下:

webdriver啟動firefox時如果遇到以下錯誤,則說明selenium的版本和firefox不相容了,需要升級selenium:

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055

Selenium  ->FireFox

2.25.0   ->  18

2.30.0   ->19

2.31.0   ->20

升級selenium jar包

正常啟動firefox

相關推薦

Selenium firefox相容org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.

使用firefox 28,selenium2.35.0時,報錯 org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 af

selenium 顯示等待例項 org.openqa.selenium.support.ui.FluentWait

Example 1 Project: easycukes   File: SeleniumHelper.java   View source code 7 votes /** * @param by * @return */ public sta

Selenium 3.x 與firefox相容的一種解決方法

安裝Selenium後無法呼叫firefox瀏覽器,很可能是缺少了geckodriver這個驅動 前提條件: win10+Selenium3.5.0+firefox55.0.2 (64 位) 1. 下載geckodriver:https://github.

org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055

Selenium 和 Firefox 版本不相容的問題解決 在網上找了很久,雖然都說是版本問題,建議降低 Firefox 的版本,或者是升級 Selenium的版本,照著他們的匹配方案,都沒有解決我的

org.openqa.selenium.NoSuchElementException: Unable to locate element

現象:出現報錯org.openqa.selenium.NoSuchElementException: Unable to locate element 原因:進入網頁時,網頁可能在loading中,因此找不到元素。 解決方法:你可以讓他休眠Thread.sleep(2000),即休眠2秒,應

appium解決無法通過name屬性識別元素org.openqa.selenium.InvalidSelectorException: Locator Strategy 'name' is not supported for this session

執行程式碼、: public AndroidDriver<AndroidElement> appiumDriver; appiumDriver.findElement(By.name("我的")).click(); 報錯如下:   去到appium安裝目錄下,找到appiu

解決selenium啟動IE瀏覽器報錯:org.openqa.selenium.SessionNotCreatedException: Unexpected error launching Internet Explorer. Protected Mode settings are not the

環境:eclipse + java 1.8.0_121 + selenium-java-3.141.59 + IE 11   啟動IE程式碼: public void beforeMethod() { System.setProperty("webdriver.ie

解決美化後的檔案上傳控制元件(type=file),IE和firefox相容的問題

        普通的file控制元件,在IE和firefox的表現會有所不同,為了美化上傳控制元件,通常會做一個text+button來替代file控制元件。 設定file控制元件完全透明,這樣在點選button的時候,其實就是點選隱藏的file控制元件的瀏覽,本來應該完

org.openqa.selenium.NoSuchElementException: Unable to locate element: 異常解決方法

現象:出現報錯org.openqa.selenium.NoSuchElementException: Unable to locate element 原因:進入網頁時,網頁可能在loading中,因

Selenium+webDriver 啟動IE11 瀏覽器報錯“org.openqa.selenium.NoSuchWindowException”

Selenium2+webDriver 啟動IE11報錯 org.openqa.selenium.NoSuchWindowException: Unable to get browser (WARNING: The server did not provide any st

Appium報錯:org.openqa.selenium.NoSuchSessionException

程式碼: 客戶端程式碼中增加等待時間61秒 Thread.sleep(61000); 報錯: org.openqa.selenium.NoSuchSessionException 原因: Appium一個應用的session過期時間是60秒。 解決: 方法1.別超過

關於網頁與firefox相容的問題

  網頁做好了,開啟ie瀏覽器看一下,嗯,正常;在TT(騰訊的瀏覽器)裡看呢,也沒問題;再試試firefox,啊?怎麼會這樣!變形了,錯位了,該動的不動了,可能有不少人遇到過這類問題,現在我就和大家分享一下我在firefox裡遇到的幾個問題,以及相應的解決方法,當然,如果

Appium執行報錯java.lang.NoSuchMethodError: org.openqa.selenium.remote.HttpCommandExecutor.

第一次使用appium,執行Java指令碼總是報錯:java.lang.NoSuchMethodError:org.openqa.selenium.remote.HttpCommandExecutor.…… 導致driver = new AndroidDriver(new

selenium運行火狐報錯FirefoxDriver : Unable to connect to host 127.0.0.1 on port 7055

jar包 .html 各版本 -s gpo jar htm adding fire 摘要: 這是個常見的啟動firefoxdriver的問題,具體的錯誤日誌如下,其實原因很簡單,就是你的Selenium版本和firefox 不兼容了。 Firefox 版本太高了, 請及

【SpringBoot學習筆記】turbine界面顯示監控信息——unable to connect to command metric stream

code color boa cti In star 技術 alt pan [[錯誤現象:]] 界面沒有監控信息,只有一行字:unable to connect to command metric stream ,如下圖: [[可能原因]]: 1)s

mysql 本地連線得上 遠端連線上 ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL ERROR 1062 (23000): Duplicate entry '%-root'

檢視用於遠端訪問的mysql使用者許可權是否正確。 在本地登入mysql伺服器, use mysql; SELECT user, host from mysql.user; 檢視用於遠端訪問的mysql使用者host的許可權,%表示允許所有機器訪問。若host為127.0.0.1/localhost,那

(辦公)mysql連線上(java.sql.SQLException: null, message from server: "Host 'LAPTOP-O0GA2P8J' is not allowed to connect to this MySQL server&qu

轉載自csdn文章:https://blog.csdn.net/Tangerine_bisto/article/details/803461511.對所有主機進行訪問授權 GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY'mypass

轉載:解決Navicat 報錯:1130-host ... is not allowed to connect to this MySql server,MySQL允許從遠端訪問的方法

1.改表法。 可能是你的帳號不允許從遠端登陸,只能在localhost。這個時候只要在localhost的那臺電腦,登入mysql後,更改 “mysql” 資料庫裡的 “user” 表裡的 “host” 項,從"localhost"改稱"%" mysql -u

關於Spark報錯能連線到Server的解決辦法(Failed to connect to master master_hostname:7077)

問題產生 Spark叢集,即可以基於Mesos或YARN來部署,也可以用自帶的叢集管理器,部署於standalone模式下。筆者在部署standalone模式時, 首先,通過如下命令,啟動了Master。 ./sbin/start-master.sh

踩坑錄-mysql允許遠端連線(錯誤碼:1130) Host'xxx.xxx.xxx.xxx' is not allowed to connect to this MySQL server“

每次搭建mysql環境都會遇見同樣的問題,在此分享一下踩坑筆錄。 一、問題描述 安裝成功後,本地直接連結遠端mysql,預設為不允許遠端訪問,則客戶端提示1130 - Host'xxx.xxx.xxx.xxx' is not allowed to connect to this MySQL server“