Selfhosted Piped instance loading infinitely

submitted a month ago by Fisch

cross-posted from: https://discuss.tchncs.de/post/21001865

I just installed Piped using podman-compose but when open up the frontend in my browser, the trending page is just showing the loading icon. The logs aren't really helping, the only error is in piped-backend:

java.net.SocketTimeoutException: timeout
  at okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException(Http2Stream.kt:675)
  at okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut(Http2Stream.kt:684)
  at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.kt:143)
  at okhttp3.internal.http2.Http2ExchangeCodec.readResponseHeaders(Http2ExchangeCodec.kt:97)
  at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:110)
  at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:93)
  at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
  at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
  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.execute(RealCall.kt:154)
  at me.kavin.piped.utils.RequestUtils.getJsonNode(RequestUtils.java:34)
  at me.kavin.piped.utils.matrix.SyncRunner.run(SyncRunner.java:97)
  at java.base/java.lang.VirtualThread.run(VirtualThread.java:329)

Would appreciate it if anyone could help me. I also wasn't sure what info to include, so please ask if there's any more info you need.

15

Log in to comment

5 Comments

Do you have a matrix instance set in the config?

No, is that required?

No, but it mentions that it times out in matrix.SyncRunner. This sounds like some kind of function to … well … sync using matrix, and I know there is at least one config option for syncing with matrix, but I can’t check rn. Maybe you need to explicitly comment it, set it to null or actually set a value?

I'd try it in docker instead of podman just to exclude that as an issue. Piped is a bit... janky.

And make sure your DNS is working from inside the container. It'll show a frontend and even video titles, but not thumbnails and won't play things without a perfectly working DNS.

DNS should be working, I manually set the DNS server. I don’t really wanna install docker tho, I feel like that could cause other issues. If it only works in docker, that doesn’t really help me anyway, does it?