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] [DefaultDispatcher-worker-1] WARN snd.komga.client.sse.OkHttpKomgaSseSession -- Event source error; response code null java.net.ConnectException: Failed to connect to /172.18.0.18:25600 #1236

Open
Kedryn opened this issue Jan 17, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Kedryn
Copy link

Kedryn commented Jan 17, 2025

on my Unraid i installed Komga (172.18.0.18:25600) and Komf (172.18.0.20:8085) dockers
on Komga container i've added the env

KOMGA_CORS_ALLOWED_ORIGINS
with
http://172.18.0.20:8085

on Komf container
KOMF_KOMGA_BASE_URI
with
http://172.18.0.18:25600
and user and password variables

on Komf logs i have a lot of those:

17:56:46.622 [DefaultDispatcher-worker-1] WARN snd.komga.client.sse.OkHttpKomgaSseSession -- Event source error; response code null java.net.ConnectException: Failed to connect to /172.18.0.18:25600 at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297) at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207) at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226) at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106) at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74) at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255) 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:83) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.net.ConnectException: Connection refused at java.base/sun.nio.ch.Net.pollConnect(Native Method) at java.base/sun.nio.ch.Net.pollConnectNow(Unknown Source) at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(Unknown Source) at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source) at java.base/java.net.SocksSocketImpl.connect(Unknown Source) at java.base/java.net.Socket.connect(Unknown Source) at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128) at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295) ... 18 common frames omitted 17:57:01.146 [OkHttp http://172.18.0.18:25600/...] INFO snd.komga.client.sse.OkHttpKomgaSseSession -- connected to Komga event source: http://172.18.0.18:25600/sse/v1/events

On the Komf webui:

Image

but if i go on any other menu item, after some waiting, i get

Image

Going back to "Komga webui" menu item, on the bottom of the page:

Image

and on "Connection" menu item:

Image

I'm running sndxr/komf:latest and gotson/komga

@Kedryn Kedryn added the bug Something isn't working label Jan 17, 2025
@Robonau
Copy link
Contributor

Robonau commented Jan 17, 2025

  1. what does komf and komga have to do with suwayomi?
  2. if unraid is docker based(no idea if it is) you should be using the container names to connect them not the container IPs

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

No branches or pull requests

2 participants