AMEST / DotNetCertBot

certbot issue certificate for tk, ml, cf (freenom) domains by freenom or cloudflare dns challenge. Freenom DNS. Cloudflare DNS ACME challenge
https://certbot.nb-47.ml
The Unlicense
14 stars 3 forks source link

Error while adding txt record #7

Closed milindpatel63 closed 2 years ago

milindpatel63 commented 2 years ago

I'm running it in docker

Unhandled exception. OpenQA.Selenium.WebDriverTimeoutException: Timed out after 40 seconds
 ---> OpenQA.Selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-testid = 'zone-cards']"}
  (Session info: headless chrome=97.0.4692.99)
   at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
   at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.Remote.RemoteWebDriver.FindElement(String mechanism, String value)
   at OpenQA.Selenium.Support.UI.DefaultWait`1.Until[TResult](Func`2 condition)
   --- End of inner exception stack trace ---
   at OpenQA.Selenium.Support.UI.DefaultWait`1.ThrowTimeoutException(String exceptionMessage, Exception lastException)
   at OpenQA.Selenium.Support.UI.DefaultWait`1.Until[TResult](Func`2 condition)
   at DotNetCertBot.CloudFlareUserApi.CloudFlareServiceSelenium.<>c__DisplayClass11_0.<<GoToZoneDns>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at DotNetCertBot.CloudFlareUserApi.CloudFlareServiceSelenium.GoToZoneDns(String zone)
   at DotNetCertBot.CloudFlareUserApi.CloudFlareServiceSelenium.AddChallenge(DnsChallenge challenge, String zoneName)
   at DotNetCertBot.Host.CertificateService.Issue()
   at DotNetCertBot.Host.Program.<Main>(String[] args)
AMEST commented 2 years ago

Fixed elements timeout, updated user agent's with actual versions (UI elements were different for older versions of browsers and this caused problems). Also a couple of minor fixes.

Now it should work fine (tested under different OS located in different countries)

v0.2.10