Jellyfin Forum
Stream from outside the network breaks off - Issue solved? - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Stream from outside the network breaks off - Issue solved? (/t-stream-from-outside-the-network-breaks-off-issue-solved)

Pages: 1 2 3


Stream from outside the network breaks off - Issue solved? - Burkhazad - 2023-12-23

Good evening, everyone,

I upgraded my hardware and updated to v10.8.13 at the same time.

Since then I've had the problem that the stream stops after a while when it runs via the dynamic DNS. When exactly is different.
It didn't matter whether it was "Direct Play" or transcoding (audio only or complete)

Hardware:
MSI B550A-Pro
AMD Ryzen 7 5700G
32 GB RAM
BrosTrend 2.5GBase-T PCIe network card (due to driver problems)

Internet:
250Mbit downstream, 40-45Mbit upstream

System:
Ubuntu Server 22.04 LTS
Linux 5.15.0-91-generic on x86_64
Webmin 2.105
Jellyfin 10.08.13 (installation via repository - automatic)
Caddy as reverse proxy via Caddyfile - works

Clients:
AndroidTV 0.16.1
Jellyfin Web 10.8.13 via Chrome on PanasonicTV

Unfortunately I don't know what is meant by logs on debug level (English not my native language)

SystemLog entries:
Slow HTTP Response from "https://***/Sessions/Playing/Progress" to "109.42.***.***" in 0:00:00.8038239 with Status Code 204
AuthenticationScheme: "CustomAuthentication" was forbidden (flooding)

Transcoding runs through and is finished before the client suddenly stops. Hardware acceleration does not matter, happens both with and without it.

Is it me, a setting, the Jellyfin version? Before the upgrade (hardware) and the update (JellyFin) everything ran without any problems.

I'm wondering if I should switch to Windows to maybe fix the problem.


RE: Stream from outside the network breaks off - Yababakets - 2023-12-23

Check if your local and public ip changed.

Check if domain is not blocked.


RE: Stream from outside the network breaks off - Burkhazad - 2023-12-23

Quote: Check if your local and public ip changed.

Check if domain is not blocked.

Speedport is set to DHCP for the entire network, but to a fixed IP directly for the server (directly in the router settings).
I have also set up port forwarding to TCP80/TCP443 and UDP80/UDP443, which points directly to the server from the router.

DynDNS service is NoIP and "DUC" is also running automatically on my normal computer, which performs a synchronization.

Domain is not blocked (I think, how does this manifest itself?) I can access my domain from all devices, whether from inside or outside.

Movies also start to play, for 10-20-30-40 minutes and then it breaks off or simply stops.


RE: Stream from outside the network breaks off - Venson - 2023-12-23

Do you have a Ip2Ban plugin running in caddy or somewhere else?


RE: Stream from outside the network breaks off - Burkhazad - 2023-12-23

(2023-12-23, 07:44 PM)Venson Wrote: Do you have a Ip2Ban plugin running in caddy or somewhere else?

- Caddy runs without any Plugin
- Fail2Ban on Webmin not running
- ufw deactivated, no other Firewall

Greetings

Edit:

Perhaps Client is disconnected again, Log Entry:


[2023-12-23 20:22:30.974 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:23:30.982 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:24:30.985 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:25:30.983 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:26:30.990 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:27:30.996 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:28:30.997 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:29:31.002 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:30:31.000 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:31:31.004 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:32:31.013 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:33:31.015 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:34:31.016 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:35:31.023 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:36:31.038 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:37:31.040 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:38:31.047 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:39:31.054 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:40:31.062 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:42:21.570 +01:00] [INF] WS "109.42.***.***" closed
[2023-12-23 20:42:22.219 +01:00] [WRN] Slow HTTP Response from "http://192.168.2.31:8096/System/ActivityLog/Entries?startIndex=0&limit=7&minDate=2023-12-22T19%3A42%3A22.432Z&hasUserId=true" to "192.168.2.114" in 0:00:00.6077842 with Status Code 200
[2023-12-23 20:42:22.370 +01:00] [WRN] Slow HTTP Response from "http://192.168.2.31:8096/System/ActivityLog/Entries?startIndex=0&limit=4&minDate=2023-12-16T19%3A42%3A22.431Z&hasUserId=false" to "192.168.2.114" in 0:00:00.7582733 with Status Code 200
[2023-12-23 20:42:22.520 +01:00] [WRN] Slow HTTP Response from "http://192.168.2.31:8096/System/ActivityLog/Entries?startIndex=0&limit=7&minDate=2023-12-22T19%3A42%3A22.431Z&hasUserId=true" to "192.168.2.114" in 0:00:00.9082535 with Status Code 200
[2023-12-23 20:43:31.070 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:44:31.075 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:45:31.078 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:46:31.081 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:47:31.083 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:48:31.086 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2023-12-23 20:49:31.088 +01:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.


RE: Stream from outside the network breaks off - Venson - 2023-12-23

Could you please upload a jellyfin logfile from the time this last happend to an external site like pastebin?


RE: Stream from outside the network breaks off - Burkhazad - 2023-12-23

(2023-12-23, 07:52 PM)Venson Wrote: Could you please upload a jellyfin logfile from the time this last happend to an external site like pastebin?

https://pastebin.com/GsnYZ9Yu

and last FFMPG:

https://pastebin.com/AxWJtDZz


RE: Stream from outside the network breaks off - TheDreadPirate - 2023-12-24

Are you manually port forwarding or using uPnP?

Also, for the record, ufw id a front end for iptables. If ufw is not active it will just deactivate the rules created by ufw. But iptables will still be active.


RE: Stream from outside the network breaks off - Burkhazad - 2023-12-24

I have configured port forwarding manually in the router. No Upnp function from Jellyfin.

IPTables seem to be empty:

"Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination "


RE: Stream from outside the network breaks off - Burkhazad - 2023-12-25

Hello everyone,

i hope you had a nice Christmas Eve.

Logs from yesterday:

Errors that have nothing to do with the topic, but are irritating:

https://pastebin.com/xPHnLNza

Problems that happens yesterday:

https://pastebin.com/02uWiBmq

One according FFMPEG Log:

https://pastebin.com/ttiJibLH


Yesterday i set set /etc/netplan/00-installer-config.yaml to static IP additional to Router setting.

Can you please help me? Would it be better to go on windows machine?