Skip to content
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

[Bug] Unable to install any extension #237

Closed
pseudokawaii opened this issue Nov 3, 2021 · 16 comments · Fixed by #670
Closed

[Bug] Unable to install any extension #237

pseudokawaii opened this issue Nov 3, 2021 · 16 comments · Fixed by #670
Labels
bug Something isn't working

Comments

@pseudokawaii
Copy link

Device information

  • Tachidesk version: v0.5.4-r995
  • Server Operating System: Windows 10 21H1 (x64)
  • Server Desktop Environment: N/A
  • Server JVM version: Java 8 Update 311
  • Client Operating System: Windows 10 21H1 (x64)
  • Client Web Browser: Firefox 94.0 (64-bit)

Steps to reproduce

  1. Try to install an extension.

Expected behavior

The extension installs successfully and shows up in the sources tab.

Actual behavior

The extension doesn't install, it just freezes on 'installing' status.

Other details

The APK file and jar file for the extension gets created successfully, but the extension still doesn't install. The 'install from external source' feature also doesn't work. So in short, I'm unable to install any extensions. The existing extensions work fine, but when I uninstall an existing extension and try to install it again, it doesn't install.

@pseudokawaii pseudokawaii added the bug Something isn't working label Nov 3, 2021
@github-actions github-actions bot closed this as completed Nov 3, 2021
@pseudokawaii pseudokawaii changed the title [Bug] <short description> [Bug] Unable to install any extension. Nov 3, 2021
@github-actions github-actions bot reopened this Nov 3, 2021
@AriaMoradi
Copy link
Member

Don't open the server with external java, use the provided launcher scripts to run Tachidesk.
Read the readme!

@pseudokawaii
Copy link
Author

Don't open the server with external java, use the provided launcher scripts to run Tachidesk. Read the readme!

I've always used the external JRE with it, and it worked fine up until the new update (I'm not sure on which specific update the bug was introduced)

@AriaMoradi
Copy link
Member

I've always used the external JRE with it, and it worked fine up until the new update (I'm not sure on which specific update the bug was introduced)

We need more info about this issue in order to fix it, which java does it fail to work with, which version introduced the issue.

@bubu1j
Copy link

bubu1j commented Nov 7, 2021

same problem here

@fu4dh4s4n
Copy link

same problem here

Try the solution mentioned above, it worked for me.

@dothackjhe
Copy link

I also used to get the same error when running the app using the provided .jar file in the package. Apparently, using the .bat file instead addresses the issue.

@F-Wer
Copy link

F-Wer commented Dec 13, 2021

I also got this problem and I got a message in the debug log, that the apk file for the extension couldn't be found.

The problem was that I had a space in my windows user name and Tachidesk couldn't process this. After I changed my username and my user directory it works.

@jisun692
Copy link

Same Problem Here please fix the issue🥺

@AriaMoradi
Copy link
Member

This is the fix!

Don't open the server with external java, use the provided launcher scripts to run Tachidesk.
Read the readme!

@metalme
Copy link

metalme commented Dec 28, 2022

Hello, Problem redirected with the same inconvenience, and problem solved when installing temurin and running tachidesk with it instead of Java

@AriaMoradi AriaMoradi pinned this issue Dec 28, 2022
@Suwayomi Suwayomi deleted a comment from github-actions bot Dec 28, 2022
@AriaMoradi AriaMoradi changed the title [Bug] Unable to install any extension. [Bug] Unable to install any extension Jan 13, 2023
@sandip3

This comment was marked as off-topic.

@Yuhyeong
Copy link

Yuhyeong commented Oct 5, 2023

20:49:36.313 [DefaultDispatcher-worker-5] ERROR suwayomi.tachidesk.server.JavalinSetup - IOException while handling the request java.net.ConnectException: Failed to connect to raw.githubusercontent.com/0:0:0:0:0:0:0:0:443 at okhttp3.internal.connection.ConnectPlan.connectSocket(ConnectPlan.kt:256) at okhttp3.internal.connection.ConnectPlan.connectTcp(ConnectPlan.kt:128) at okhttp3.internal.connection.FastFallbackExchangeFinder$launchTcpConnect$1.runOnce(FastFallbackExchangeFinder.kt:138) at okhttp3.internal.concurrent.TaskRunner.runTask(TaskRunner.kt:117) at okhttp3.internal.concurrent.TaskRunner.access$runTask(TaskRunner.kt:42) at okhttp3.internal.concurrent.TaskRunner$runnable$1.run(TaskRunner.kt:66) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Suppressed: java.net.ConnectException: Failed to connect to raw.githubusercontent.com/0.0.0.0:443 ... 9 common frames omitted Caused by: java.net.ConnectException: 拒绝连接 (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:607) at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128) at okhttp3.internal.connection.ConnectPlan.connectSocket(ConnectPlan.kt:254) ... 8 common frames omitted Caused by: java.net.ConnectException: 拒绝连接 (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:607) at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128) at okhttp3.internal.connection.ConnectPlan.connectSocket(ConnectPlan.kt:254) ... 8 common frames omitted

I have add proxy, but it doesnt work.

i cant install any extensions

and im using the scripts u provided.

@PYUDNG
Copy link

PYUDNG commented Oct 15, 2023

Platform: MacOS Big Sur
It seemed unable to install extensions with custom proxy https certificates, though the root certificate has been installed and trusted in my system, here's the log:

15:03:41.212 [DefaultDispatcher-worker-4] ERROR suwayomi.tachidesk.server.JavalinSetup - IOException while handling the request javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.ssl.Alert.createSSLException(Alert.java:131) at sun.security.ssl.TransportContext.fatal(TransportContext.java:324) at sun.security.ssl.TransportContext.fatal(TransportContext.java:267) at sun.security.ssl.TransportContext.fatal(TransportContext.java:262) at sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1356) at sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1231) at sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1174) at sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:377) at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444) at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:422) at sun.security.ssl.TransportContext.dispatch(TransportContext.java:182) at sun.security.ssl.SSLTransport.decode(SSLTransport.java:152) at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1392) at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1300) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:435) at okhttp3.internal.connection.ConnectPlan.connectTls(ConnectPlan.kt:323) at okhttp3.internal.connection.ConnectPlan.connectTlsEtc(ConnectPlan.kt:188) at okhttp3.internal.connection.FastFallbackExchangeFinder.find(FastFallbackExchangeFinder.kt:78) at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:267) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:84) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:65) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at eu.kanade.tachiyomi.network.interceptor.UserAgentInterceptor.intercept(UserAgentInterceptor.kt:17) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:205) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:537) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:456) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:323) at sun.security.validator.Validator.validate(Validator.java:271) at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:315) at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:223) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129) at sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1340) ... 29 common frames omitted Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:451) ... 35 common frames omitted ^L^L15:03:47.865 [DefaultDispatcher-worker-7] ERROR suwayomi.tachidesk.server.JavalinSetup - IOException while handling the request javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.ssl.Alert.createSSLException(Alert.java:131) at sun.security.ssl.TransportContext.fatal(TransportContext.java:324) at sun.security.ssl.TransportContext.fatal(TransportContext.java:267) at sun.security.ssl.TransportContext.fatal(TransportContext.java:262) at sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1356) at sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1231) at sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1174) at sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:377) at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444) at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:422) at sun.security.ssl.TransportContext.dispatch(TransportContext.java:182) at sun.security.ssl.SSLTransport.decode(SSLTransport.java:152) at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1392) at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1300) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:435) at okhttp3.internal.connection.ConnectPlan.connectTls(ConnectPlan.kt:323) at okhttp3.internal.connection.ConnectPlan.connectTlsEtc(ConnectPlan.kt:188) at okhttp3.internal.connection.FastFallbackExchangeFinder.find(FastFallbackExchangeFinder.kt:78) at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:267) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:84) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:65) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at eu.kanade.tachiyomi.network.interceptor.UserAgentInterceptor.intercept(UserAgentInterceptor.kt:17) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:205) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:537) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:456) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:323) at sun.security.validator.Validator.validate(Validator.java:271) at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:315) at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:223) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129) at sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1340) ... 29 common frames omitted Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:451) ... 35 common frames omitted

Is there any way to switch off certificate checking or if there will be a fix?

@stormcalled
Copy link

I also cannot install any new extension. I ran it using the browser launcher and electron launcher as per recommendation of previous commenters. Unfortunately, it still does not work.

@Robonau
Copy link
Contributor

Robonau commented Feb 4, 2024

I also cannot install any new extension. I ran it using the browser launcher and electron launcher as per recommendation of previous commenters. Unfortunately, it still does not work.

please don't dig up old/fixed issues
u probably cant install extensions because you haven't added a repo for it to get extensions from

@stormcalled
Copy link

I also cannot install any new extension. I ran it using the browser launcher and electron launcher as per recommendation of previous commenters. Unfortunately, it still does not work.

please don't dig up old/fixed issues u probably cant install extensions because you haven't added a repo for it to get extensions from

What is a repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.