-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[🐛 Regression,Edge]: Edge Driver will not start on Linux #14302
Comments
@lprimak, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
Check your network configuration: https://www.selenium.dev/documentation/selenium_manager/#connectivity-issues |
💬 Please ask questions at:
|
Hi, @diemol Please reopen this. |
The error says that your machine could not connect to the repository where Selenium Manager can download MS Edge or MsEdgeDriver. That's why I suggest you check the network configuration and link the troubleshooting section. |
I cannot seem to create any Linux machine that does this successfully. |
We need more information about this issue in order to troubleshoot. Please turn on logging and re-run your code. Information on how to adjust logs for your language can be found in our |
More logs are availaboe on this CircleCI run: https://app.circleci.com/pipelines/github/arquillian/arquillian-extension-drone/541/workflows/2a2d5137-6046-420c-bff5-f8bafb0286da/jobs/2084 |
Those logs don't have the debug level needed to see the commands executed. Did you check the link above? |
I suspect that the format/content of the JSON returned is causing this failure. ./manager/0.4.23/selenium-manager --browser edge --driver msedgedriver --trace --force-browser-download --clear-cache
[2024-07-30T16:45:11.569Z TRACE] Reading metadata from /root/.cache/selenium/se-metadata.json
[2024-07-30T16:45:11.569Z TRACE] Metadata file does not exist. Creating a new one
[2024-07-30T16:45:11.569Z DEBUG] Sending stats to Plausible: Props { browser: "edge", browser_version: "", os: "linux", arch: "x86_64", lang: "", selenium_version: "4.23" }
[2024-07-30T16:45:11.569Z TRACE] Writing metadata to /root/.cache/selenium/se-metadata.json
[2024-07-30T16:45:11.570Z TRACE] Checking msedgedriver in PATH
[2024-07-30T16:45:11.578Z DEBUG] msedgedriver not found in PATH
[2024-07-30T16:45:11.578Z TRACE] Reading metadata from /root/.cache/selenium/se-metadata.json
[2024-07-30T16:45:11.579Z DEBUG] Checking edge releases on https://edgeupdates.microsoft.com/api/products/
[2024-07-30T16:45:12.748Z ERROR] error sending request for url (https://edgeupdates.microsoft.com/api/products/) ... as I can fetch JSON data from the URL that curl https://edgeupdates.microsoft.com/api/products/ [{"Product":"Stable","Releases":[{"ReleaseId":77621,"Platform":"Android","Architecture":"arm64","CVEs":[],"ProductVersion":"126.0.2592.106","Artifacts":[],"PublishedTime":"2024-07-15T03:16:00","ExpectedExpiryDate":"2024-10-15T03:16:00"},{"ReleaseId":78245,"Platform":"Windows","Architecture":"arm64","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-6998","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6778","CVE-2024-6777","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/62a8f579-3686-43fe-a0db-10f91d71a944/MicrosoftEdgeEnterpriseARM64.msi","Hash":"99943C5F0BFE5427C9980AF8F8EA43E8252A9E2607F4851B8B8A27BB49860B4C","HashAlgorithm":"SHA256","SizeInBytes":179433472}],"PublishedTime":"2024-07-27T08:33:00","ExpectedExpiryDate":"2025-07-25T18:43:00"},{"ReleaseId":78246,"Platform":"Windows","Architecture":"x64","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-6998","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6778","CVE-2024-6777","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/f99bf7d5-77f2-4659-81e7-4e9bed513374/MicrosoftEdgeEnterpriseX64.msi","Hash":"D8E97029246E5E2ED79A263CFE834D1A06B725552232A158241D6500151D1B61","HashAlgorithm":"SHA256","SizeInBytes":178515968}],"PublishedTime":"2024-07-27T09:45:00","ExpectedExpiryDate":"2025-07-25T18:44:00"},{"ReleaseId":78249,"Platform":"Windows","Architecture":"x86","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-6998","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6778","CVE-2024-6777","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/7dd9aedf-8e32-4c45-b55e-3a6ff14c3314/MicrosoftEdgeEnterpriseX86.msi","Hash":"4FEC5C270DC3BFE729C5F23C0614EFDF24E90DEBDE6D35A585B16CDFBDDB8979","HashAlgorithm":"SHA256","SizeInBytes":161832960}],"PublishedTime":"2024-07-27T10:56:00","ExpectedExpiryDate":"2025-07-25T18:48:00"},{"ReleaseId":78254,"Platform":"Linux","Architecture":"x64","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6994","CVE-2024-6778","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[],"PublishedTime":"2024-07-25T19:07:00","ExpectedExpiryDate":"2025-07-25T19:07:00"},{"ReleaseId":78257,"Platform":"MacOS","Architecture":"universal","CVEs":[],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"pkg","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/a02346ad-1475-4f63-8fba-bd4b5755fcb1/MicrosoftEdge-127.0.2651.74.pkg","Hash":"081684B050BAF0DB09859B778538A194CBF0DF948B08FA731713A7D8D558C0A0","HashAlgorithm":"SHA256","SizeInBytes":393927599},{"ArtifactName":"plist","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/cebc8b15-ce43-4d04-b6b7-c8fffba3b91d/MicrosoftEdge-127.0.2651.74.plist","Hash":"2528D67A9E9A6C18C344ECE4E6C8CE2A925A49333BB055B9569503E61AF750D7","HashAlgorithm":"SHA256","SizeInBytes":3267}],"PublishedTime":"2024-07-25T19:16:00","ExpectedExpiryDate":"2025-07-25T19:16:00"},{"ReleaseId":78498,"Platform":"iOS","Architecture":"arm64","CVEs":[],"ProductVersion":"127.0.2651.81","Artifacts":[],"PublishedTime":"2024-07-30T03:16:00","ExpectedExpiryDate":"2025-07-30T03:16:00"}]},{"Product":"Beta","Releases":[{"ReleaseId":78210,"Platform":"Linux","Architecture":"x64","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6994","CVE-2024-6778","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[],"PublishedTime":"2024-07-25T17:26:00","ExpectedExpiryDate":"2024-10-25T17:26:00"},{"ReleaseId":78215,"Platform":"MacOS","Architecture":"universal","CVEs":[],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"plist","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/1672cfd6-d7eb-4731-aff0-f590a1d3fee9/MicrosoftEdgeBeta-127.0.2651.74.plist","Hash":"38853D2F0446D7A6E7540D99F236BEF455454675EFEC03278107A3307DFA5C2A","HashAlgorithm":"SHA256","SizeInBytes":3281},{"ArtifactName":"pkg","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/c693b515-91cc-4c4a-8f62-991f7dd1ea70/MicrosoftEdgeBeta-127.0.2651.74.pkg","Hash":"D22FADD41475E85B56EC32C42D6167898FCF12DDA89DD4B0108593D07A8611A9","HashAlgorithm":"SHA256","SizeInBytes":393954708}],"PublishedTime":"2024-07-25T17:40:00","ExpectedExpiryDate":"2024-10-25T17:40:00"},{"ReleaseId":78218,"Platform":"Windows","Architecture":"arm64","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-6998","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6778","CVE-2024-6777","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/320fb669-5184-4bf0-ab18-87ccfe72c096/MicrosoftEdgeBetaEnterpriseARM64.msi","Hash":"A03AB45FA3CDC4BEAA1BB069957A6BA86D01097B270DC39693736033036C56A0","HashAlgorithm":"SHA256","SizeInBytes":179433472}],"PublishedTime":"2024-07-25T17:44:00","ExpectedExpiryDate":"2024-10-25T17:44:00"},{"ReleaseId":78221,"Platform":"Windows","Architecture":"x64","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-6998","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6778","CVE-2024-6777","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/c41b2f3c-44b2-43da-968a-4005a70ead71/MicrosoftEdgeBetaEnterpriseX64.msi","Hash":"65BD84278ECE6230AEB8E2C7FED20BCA5FE30BD2AA3C61311278D7D92C4BE691","HashAlgorithm":"SHA256","SizeInBytes":178515968}],"PublishedTime":"2024-07-25T17:58:00","ExpectedExpiryDate":"2024-10-25T17:58:00"},{"ReleaseId":78223,"Platform":"Windows","Architecture":"x86","CVEs":["CVE-2024-38156","CVE-2024-39379","CVE-2024-6998","CVE-2024-5839","CVE-2024-7000","CVE-2024-7003","CVE-2024-5493","CVE-2024-38103","CVE-2024-5499","CVE-2024-6999","CVE-2024-5497","CVE-2024-6778","CVE-2024-6777","CVE-2024-6775","CVE-2024-7001","CVE-2024-6989","CVE-2024-6993"],"ProductVersion":"127.0.2651.74","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/20e582f8-8ff8-4614-a348-9ce4941873eb/MicrosoftEdgeBetaEnterpriseX86.msi","Hash":"877B9D9DA7077ABE861B264BC50ABC9828CD4EF60C495D34163DE94E73CB1717","HashAlgorithm":"SHA256","SizeInBytes":161832960}],"PublishedTime":"2024-07-25T17:59:00","ExpectedExpiryDate":"2024-10-25T17:59:00"},{"ReleaseId":78233,"Platform":"Android","Architecture":"arm64","CVEs":[],"ProductVersion":"127.0.2651.73","Artifacts":[],"PublishedTime":"2024-07-25T18:14:00","ExpectedExpiryDate":"2024-10-25T18:14:00"},{"ReleaseId":78267,"Platform":"iOS","Architecture":"arm64","CVEs":[],"ProductVersion":"127.0.2651.73","Artifacts":[],"PublishedTime":"2024-07-25T20:11:00","ExpectedExpiryDate":"2024-10-25T20:11:00"}]},{"Product":"Dev","Releases":[{"ReleaseId":78141,"Platform":"Linux","Architecture":"x64","CVEs":[],"ProductVersion":"128.0.2730.0","Artifacts":[],"PublishedTime":"2024-07-24T21:34:00","ExpectedExpiryDate":"2024-10-24T21:34:00"},{"ReleaseId":78146,"Platform":"Windows","Architecture":"arm64","CVEs":[],"ProductVersion":"128.0.2730.0","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/2bd548e0-5f52-4a25-826f-57d6fcff076e/MicrosoftEdgeDevEnterpriseARM64.msi","Hash":"F489555149CE67D23FDA59B79BFA447FD2FE069F4991618F836E7CB05B044ECC","HashAlgorithm":"SHA256","SizeInBytes":181223424}],"PublishedTime":"2024-07-24T21:45:00","ExpectedExpiryDate":"2024-10-24T21:45:00"},{"ReleaseId":78150,"Platform":"MacOS","Architecture":"universal","CVEs":[],"ProductVersion":"128.0.2730.0","Artifacts":[{"ArtifactName":"plist","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/d0b23365-df08-4ad0-a3d0-151e8318d4f6/MicrosoftEdgeDev-128.0.2730.0.plist","Hash":"DE69B1BFDA739FB92C18F9D79AC2C2F17A1C8E0D437354AB5703651186450A71","HashAlgorithm":"SHA256","SizeInBytes":3277},{"ArtifactName":"pkg","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/d923881e-9241-433b-8b07-113a298264e7/MicrosoftEdgeDev-128.0.2730.0.pkg","Hash":"BB95AE89D693A2590480B7CF125F7307A4AB7F59B9D2957F620A06A2238B7F52","HashAlgorithm":"SHA256","SizeInBytes":396932101}],"PublishedTime":"2024-07-24T21:51:00","ExpectedExpiryDate":"2024-10-24T21:51:00"},{"ReleaseId":78152,"Platform":"Windows","Architecture":"x64","CVEs":[],"ProductVersion":"128.0.2730.0","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/09d367c3-cb89-453a-baf9-0293e299dd91/MicrosoftEdgeDevEnterpriseX64.msi","Hash":"9648C7A7F10617E0081DFC9DF0CC18BD4CABDE07F7A8950F03CC61FFF7C25704","HashAlgorithm":"SHA256","SizeInBytes":179879936}],"PublishedTime":"2024-07-24T22:06:00","ExpectedExpiryDate":"2024-10-24T22:06:00"},{"ReleaseId":78157,"Platform":"Windows","Architecture":"x86","CVEs":[],"ProductVersion":"128.0.2730.0","Artifacts":[{"ArtifactName":"msi","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/ad67a010-fa3a-44a7-97de-4c77e1075b0b/MicrosoftEdgeDevEnterpriseX86.msi","Hash":"C5FABD86EA483DC145E2FBBA6E4F20A1C4C7DD60B2134B1CD7FDA9A4C00B183B","HashAlgorithm":"SHA256","SizeInBytes":163250176}],"PublishedTime":"2024-07-24T22:08:00","ExpectedExpiryDate":"2024-10-24T22:08:00"},{"ReleaseId":78169,"Platform":"Android","Architecture":"arm64","CVEs":[],"ProductVersion":"128.0.2730.0","Artifacts":[],"PublishedTime":"2024-07-24T22:38:00","ExpectedExpiryDate":"2024-10-24T22:38:00"},{"ReleaseId":78209,"Platform":"iOS","Architecture":"arm64","CVEs":[],"ProductVersion":"128.0.2729.0","Artifacts":[],"PublishedTime":"2024-07-25T16:16:00","ExpectedExpiryDate":"2024-10-25T16:16:00"}]},{"Product":"Canary","Releases":[{"ReleaseId":78503,"Platform":"Windows","Architecture":"x86","CVEs":[],"ProductVersion":"129.0.2746.0","Artifacts":[],"PublishedTime":"2024-07-30T13:29:00","ExpectedExpiryDate":"2024-10-30T08:09:00"},{"ReleaseId":78504,"Platform":"Windows","Architecture":"arm64","CVEs":[],"ProductVersion":"129.0.2746.0","Artifacts":[],"PublishedTime":"2024-07-30T13:06:00","ExpectedExpiryDate":"2024-10-30T08:13:00"},{"ReleaseId":78506,"Platform":"Windows","Architecture":"x64","CVEs":[],"ProductVersion":"129.0.2746.0","Artifacts":[],"PublishedTime":"2024-07-30T13:28:00","ExpectedExpiryDate":"2024-10-30T08:27:00"},{"ReleaseId":78522,"Platform":"Android","Architecture":"arm64","CVEs":[],"ProductVersion":"129.0.2745.0","Artifacts":[],"PublishedTime":"2024-07-30T13:07:00","ExpectedExpiryDate":"2024-10-30T13:07:00"},{"ReleaseId":78527,"Platform":"MacOS","Architecture":"universal","CVEs":[],"ProductVersion":"129.0.2746.0","Artifacts":[{"ArtifactName":"plist","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/a4f929fa-0b91-4fe2-8f26-3ea438153cd9/MicrosoftEdgeCanary-129.0.2746.0.plist","Hash":"23682F7A482B3DA395136881611C16AF7F2D287C904025CF44DBCA961BDFB9F7","HashAlgorithm":"SHA256","SizeInBytes":3286},{"ArtifactName":"pkg","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/b15e3251-f3b2-47b6-bc54-dcdd3a62ed28/MicrosoftEdgeCanary-129.0.2746.0.pkg","Hash":"B5F27F77B7CB5F507CE9301E87170FFA9CA90F6324F45B373E2CA0642B50057E","HashAlgorithm":"SHA256","SizeInBytes":396881274}],"PublishedTime":"2024-07-30T13:18:00","ExpectedExpiryDate":"2024-10-30T13:18:00"}]},{"Product":"EdgeUpdate","Releases":[{"ReleaseId":78446,"Platform":"Windows","Architecture":"x86","CVEs":[],"ProductVersion":"1.3.195.15","Artifacts":[{"ArtifactName":"exe","Location":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/932857a7-3fd2-460a-98b9-8625069e5697/MicrosoftEdgeUpdateSetup_X86_1.3.195.15.exe","Hash":"91F0DEEC7D7319E57477B74A7A5F4D17C15EB2924B53E05A5998D67ECC8201F2","HashAlgorithm":"SHA256","SizeInBytes":1645112}],"PublishedTime":"2024-07-29T03:34:00","ExpectedExpiryDate":"2025-07-29T03:34:00"}]} Is this sufficient logging to open this issue? |
@diemol please reopen this issue. I am not the only one who is having it and it’s likely not an “operator error” thank you. |
@bonigarcia do you know if there is an issue on Edge? |
I have checked this, and it seems the response by the Edge API products is not consistent since, at this moment, there is no release for Edge beta in Linux:
You can check by parsing the JSON response of this endpoint: https://edgeupdates.microsoft.com/api/products/ Using an beautifier, we can see 0 artifacts for Edge beta in Linux: This way, Selenium Manager is unable to manage it since there is no beta downloadable artifact, according to the Edge API. |
Are there any other releases that SM can fall back to? |
There is no SM release you can fall back on because it is not an SM issue. For some reason, the API endpoint MS provides is returning different data. This needs to be reported to MS, can you please help us with that? A workaround for now would be to install the browser with the operating system package utilities. |
Hi, @lprimak. You can see if the feature is passing in the Web Platform Tests. If it is something new, please create an Issue with the MSEdgeDriver team. Feel free to comment the issues that you raise back in this issue. Thank you. |
@diemol Please reopen this issue. I promise I'll close it promptly when a solution is found and / if the report with MS is filed. Thank you. This is definitely not an Edge Driver issue, but Selenium Manager and/or Microsoft Edge API issue |
Why? It is an issue on the Microsoft Edge API results, you can see there are no artifacts for Linux https://edgeupdates.microsoft.com/api/products, and the version they mention has no Linux artifacts. Selenium Manager can't do magic here, we rely on their API. |
I reported this problem here MicrosoftEdge/EdgeWebDriver#159 (although I am not sure if this is the right tracker for this kind of issues). |
Surprised no one else is running into this? |
This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs. |
What happened?
Selenium Manager / Edge driver download is broken:
Also happens on Intel architecture with Java 17:
How can we reproduce the issue?
Relevant log output
Operating System
Linux
Selenium version
Java 22, Selenium 4.23.0
What are the browser(s) and version(s) where you see this issue?
Edge
What are the browser driver(s) and version(s) where you see this issue?
EdgeDriver
Are you using Selenium Grid?
N/A
The text was updated successfully, but these errors were encountered: