Closed yimeji closed 1 year ago
OS: Windows 10 64-bit
java -version: Java(TM) SE Development Kit 19.0.2 (64-bit)
Version of lezhin-comics-downloader used: v3.0.3 (latest)
Command used: C:\Users\Utente\Downloads\Lezhin Comics Downloader v3.0.3>java -jar lezhin-comics-downloader.jar -l=en -n=onesmallstep -r=1~2 -j
Good morning @ImSejin. I can confirm the same result reported by @yimeji. To make sure I didn't leave anything to chance, I also reinstalled the .jar file, updated ChromeDriver and Java and made various tests with various webtoons, both free chapters and already purchased ones, but the result is still the same.
From my search of this error, this happen due to recent update of chrome 111 ver.
Here is one of the topic on it https://stackoverflow.com/questions/75678572/java-io-ioexception-invalid-status-code-403-text-forbidden
and this
https://groups.google.com/g/chromedriver-users/c/xL5-13_qGaA/m/cGk_5MvTAAAJ?pli=1
I can't understand them but hopefully these are of help to developer.
Good day @ImSejin. Please, forgive me if I'm bothering You, but I got a doubt: @yimeji opened both this issue and the #176 one, but the latter was closed when he wrote
I use the latest version and it works fine.
So he's no longer crippled by this bug? How? I still can't download.
@Arekkusu1998
I use latest ver of the downloader but old ver of chrome.
As I mention in my previous reply in this thread the issue was caused by chrome update to ver 111. The prior version works if you haven't updated your chrome.
Hi @Arekkusu1998
I'm sorry to slow response. Could you try new release v3.0.4 and give me some feedback?
Hi, This is what I got wehn trying the latest ver.
C:\Users\User\Webtoons>java -jar lezhin-comics-downloader-3.0.4.jar -l=en -n=engarde -r=1~1 Failed to perform a process java.lang.ExceptionInInitializerError: null at org.openqa.selenium.remote.HttpCommandExecutor.getDefaultClientFactory(HttpCommandExecutor.java:62) at org.openqa.selenium.remote.HttpCommandExecutor.
(HttpCommandExecutor.java:96) at org.openqa.selenium.remote.service.DriverCommandExecutor. (DriverCommandExecutor.java:88) at org.openqa.selenium.chromium.ChromiumDriverCommandExecutor. (ChromiumDriverCommandExecutor.java:40) at org.openqa.selenium.chrome.ChromeDriver$ChromeDriverCommandExecutor. (ChromeDriver.java:111) at org.openqa.selenium.chrome.ChromeDriver.generateExecutor(ChromeDriver.java:101) at org.openqa.selenium.chrome.ChromeDriver. (ChromeDriver.java:88) at org.openqa.selenium.chrome.ChromeDriver. (ChromeDriver.java:84) at org.openqa.selenium.chrome.ChromeDriver. (ChromeDriver.java:73) at io.github.imsejin.dl.lezhin.browser.WebBrowser$SingletonLazyHolder. (WebBrowser.java:122) at io.github.imsejin.dl.lezhin.browser.WebBrowser.run(WebBrowser.java:137) at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:59) at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:39) at io.github.imsejin.dl.lezhin.Application.main(Application.java:59) Caused by: java.lang.IllegalArgumentException: Unknown HttpClient factory jdk-http-client at org.openqa.selenium.remote.http.HttpClient$Factory.create(HttpClient.java:57) at org.openqa.selenium.remote.http.HttpClient$Factory.createDefault(HttpClient.java:73) at org.openqa.selenium.remote.HttpCommandExecutor$DefaultClientFactoryHolder. (HttpCommandExecutor.java:58) ... 14 common frames omitted Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class io.github.imsejin.dl.lezhin.browser.WebBrowser$SingletonLazyHolder at io.github.imsejin.dl.lezhin.browser.WebBrowser.getDriver(WebBrowser.java:126) at io.github.imsejin.dl.lezhin.browser.WebBrowser.quitIfInitialized(WebBrowser.java:148) at io.github.imsejin.dl.lezhin.Application.main(Application.java:65) Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.ExceptionInInitializerError [in thread "main"] at org.openqa.selenium.remote.HttpCommandExecutor.getDefaultClientFactory(HttpCommandExecutor.java:62) at org.openqa.selenium.remote.HttpCommandExecutor. (HttpCommandExecutor.java:96) at org.openqa.selenium.remote.service.DriverCommandExecutor. (DriverCommandExecutor.java:88) at org.openqa.selenium.chromium.ChromiumDriverCommandExecutor. (ChromiumDriverCommandExecutor.java:40) at org.openqa.selenium.chrome.ChromeDriver$ChromeDriverCommandExecutor. (ChromeDriver.java:111) at org.openqa.selenium.chrome.ChromeDriver.generateExecutor(ChromeDriver.java:101) at org.openqa.selenium.chrome.ChromeDriver. (ChromeDriver.java:88) at org.openqa.selenium.chrome.ChromeDriver. (ChromeDriver.java:84) at org.openqa.selenium.chrome.ChromeDriver. (ChromeDriver.java:73) at io.github.imsejin.dl.lezhin.browser.WebBrowser$SingletonLazyHolder. (WebBrowser.java:122) at io.github.imsejin.dl.lezhin.browser.WebBrowser.run(WebBrowser.java:137) at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:59) at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:39) at io.github.imsejin.dl.lezhin.Application.main(Application.java:59)
Hi @yimeji Thank you for your useful feedback!
This is bug-fixed release v3.0.5.
Hi,
I use the latest version 3.0.5 and it works with no problem.
Thank you very much.
@ImSejin, thank You very much for the fixing: everything works perfectly😊!
Hi,
Got this error today.
Exception in thread "main" java.lang.ExceptionInInitializerError at io.github.imsejin.dl.lezhin.browser.WebBrowser.run(WebBrowser.java:140) at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:59) at io.github.imsejin.dl.lezhin.process.impl.LoginProcessor.process(LoginProcessor.java:39) at io.github.imsejin.dl.lezhin.Application.main(Application.java:59) Caused by: org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:50102/devtools/browser/1027f9d1-fee4-49f1-8005-99804376b53c Build info: version: '4.6.0', revision: '79f1c02ae20' System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '19.0.1' Driver info: driver.version: ChromeDriver at org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)
at org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)
at org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)
at org.openqa.selenium.devtools.Connection.(Connection.java:77)
at org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)
at java.base/java.util.Optional.map(Optional.java:260)
at org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:81)
at org.openqa.selenium.chrome.ChromeDriver.(ChromeDriver.java:70)
at io.github.imsejin.dl.lezhin.browser.WebBrowser$SingletonLazyHolder.(WebBrowser.java:125)
... 4 more