国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

selenium.common.exceptions.WebDriverException: Message: unknown error: net::ERR_NAME_NOT_RESOLVED

這篇具有很好參考價值的文章主要介紹了selenium.common.exceptions.WebDriverException: Message: unknown error: net::ERR_NAME_NOT_RESOLVED。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

錯誤內(nèi)容

selenium.common.exceptions.WebDriverException: Message: unknown error: net::ERR_NAME_NOT_RESOLVED
  (Session info: headless chrome=103.0.5060.134)

我是在騰訊云輕量服務(wù)器出現(xiàn)這個問題
ps.出現(xiàn)第二次了 都是跟這個dns有關(guān)

解決辦法

找下阿里云的dns服務(wù)
阿里云的dns服務(wù)

  sudo vi /etc/resolv.conf

添加如下內(nèi)容(可能經(jīng)常換 換的話就點擊鏈接替換下)

nameserver 223.5.5.5
nameserver 223.6.6.6

重啟網(wǎng)卡文章來源地址http://www.zghlxwxcb.cn/news/detail-507463.html

service network restart

到了這里,關(guān)于selenium.common.exceptions.WebDriverException: Message: unknown error: net::ERR_NAME_NOT_RESOLVED的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • selenium.common.exceptions.WebDriverException: Message: unknown error: net::ERR_NAME_NOT_RESOLVED

    錯誤內(nèi)容 我是在 騰訊云輕量服務(wù)器 出現(xiàn)這個問題 ps.出現(xiàn)第二次了 都是跟這個dns有關(guān) 解決辦法 找下阿里云的dns服務(wù) 阿里云的dns服務(wù) 添加如下內(nèi)容(可能經(jīng)常換 換的話就點擊鏈接替換下) 重啟網(wǎng)卡

    2024年02月11日
    瀏覽(31)
  • 解決selenium.common.exceptions.WebDriverException: Message: unknown error: echarts is not defined偶現(xiàn)問題

    解決selenium.common.exceptions.WebDriverException: Message: unknown error: echarts is not defined偶現(xiàn)問題

    最近在用pycharm繪圖運行時會時不時出現(xiàn)如下錯誤: 該錯誤并不是必現(xiàn)的,網(wǎng)上主要有以下兩種答案: 1.chrome版本和chrome驅(qū)動chromedriver版本不對應(yīng) 2.卸載并重裝selenium 但并未解決問題。 直到逛到github上發(fā)現(xiàn)有人遇到https://assets.pyecharts.org/assets/echarts.min.js 不能訪問,導(dǎo)致調(diào)用

    2024年02月12日
    瀏覽(22)
  • Python對與測試HTML文件,出現(xiàn)selenium.common.exceptions.WebDriverException: Message: Reached error page: about

    Python對與測試HTML文件,出現(xiàn)selenium.common.exceptions.WebDriverException: Message: Reached error page: about

    在測試 html文件 是出現(xiàn):selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=fileNotFoundu=file%3A.....報錯 如下: Firefox上也出現(xiàn)了一下情況 ? 我查了許多網(wǎng)上的資料,也看出個所以然,所以琢磨了一下,若是把文件的路徑改成沒有中文的呢,然后結(jié)果還是如此

    2024年02月15日
    瀏覽(20)
  • selenium報錯解決:selenium.common.exceptions.WebDriverException: Message(已解決)

    selenium報錯解決:selenium.common.exceptions.WebDriverException: Message(已解決)

    今天使用selenium遇到報錯: selenium.common.exceptions.WebDriverException: Message: Service ./windows/chromedriver.exe unexpectedly exited. Status code was: 1 報錯截圖: ? 檢查了代碼沒有發(fā)現(xiàn)問題,根據(jù)報錯初步判斷問題是出在chromedriver的路徑上面,對比之前的代碼 乍一看不能發(fā)現(xiàn)問題,仔細(xì)對比發(fā)現(xiàn)是

    2024年02月11日
    瀏覽(31)
  • 解決:selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ execu

    解決:selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ execu

    運行爬蟲代碼出現(xiàn)上面的bug bug詳細(xì)信息如下 ?解決方法 如下 1.先打開chrome 輸入 “chrome://version/”來查看chrome版本 如圖我的是96 ? 2.然后訪問此網(wǎng)站??http://chromedriver.storage.googleapis.com/index.html?? 然后選擇合適版本的driver? ?我這邊是windows版本的系統(tǒng)所以下載? win32版本的壓縮

    2024年02月16日
    瀏覽(24)
  • 【報錯解決】selenium.common.exceptions.WebDriverException: Message: invalid argument

    【報錯解決】selenium.common.exceptions.WebDriverException: Message: invalid argument

    在做Web自動化測試的實驗報告的時候遇到一個報錯。 運行代碼: 報錯: selenium.common.exceptions.WebDriverException: Message: invalid argument (Session info: chrome=113.0.5672.92) (Driver info: chromedriver=113.0.5672.63 (0e1a4471d5ae5bf128b1bd8f4d627c8cbd55f70c-refs/branch-heads/5672@{#912}),platform=Windows NT 10.0.19044 x86_64) 這

    2024年02月05日
    瀏覽(32)
  • 已解決selenium.common.exceptions.WebDriverException: Message: invalid session id

    已解決selenium.common.exceptions.WebDriverException: Message: invalid session id

    已解決selenium循環(huán)翻頁拋出selenium.common.exceptions.WebDriverException: Message: invalid session id的正確解決方法,親測有效!?。?粉絲群里面的一個小伙伴遇到問題跑來私信我,想用selenium循環(huán)翻頁,但是發(fā)生了報錯(當(dāng)時他心里瞬間涼了一大截,跑來找我求助,然后順利幫助他解決了,

    2023年04月08日
    瀏覽(27)
  • selenium.common.exceptions.WebDriverException: Message: chrome not reachable解決方法

    在 python上使用 selenium 。 一開始還算順利,但是隨著反復(fù)執(zhí)行,處理量變多了。 如果一直等待,最終會出現(xiàn)無法訪問 chrome 的錯誤。 已經(jīng)添加了driver.quit()。 引入一個新的函數(shù),檢查是否有 chrome 驅(qū)動程序正在運行,并打印提示,如果有,則殺死所有chrome 驅(qū)動程序。 相當(dāng)于在

    2024年02月16日
    瀏覽(19)
  • 【python selenium報錯】selenium.common.exceptions.WebDriverException: Message: <html> 三種解決方案!

    【python selenium報錯】selenium.common.exceptions.WebDriverException: Message: <html> 三種解決方案!

    在運行python代碼時遇到該問題解決方案三種(我是第三種才解決的,總結(jié)一句話:是代理ip的問題★★★): 一、重新安裝selenium,可能是缺少某些文件 二、查看chrom的版本,在chrom驅(qū)動的官方網(wǎng)站中下載安裝適配的版本(版本接近即可),并將其配置到系統(tǒng)環(huán)境下,具體步驟

    2024年02月11日
    瀏覽(40)
  • Jenkins部署Python報錯 - selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ executabl

    Jenkins部署Python報錯 - selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ executabl

    訂閱 Python全棧白寶書-零基礎(chǔ)入門篇 可報銷! 白嫖入口-請點擊我。 推薦他人訂閱,可獲取扣除平臺費用后的35%收益,文末名片加V! 說明:該文屬于 Python全棧白寶書專欄, 免費階段訂閱數(shù)量4300+ , 購買任意白寶書體系化專欄可加入 TFS-CLUB 私域社區(qū)。 福利:加入社區(qū)的小伙

    2023年04月14日
    瀏覽(31)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包