4 Apr 2024 |
Ward | my instance of what? Invidious? I'm talking about Invidious' API not the instance itself | 08:23:46 |
Ward | because I'm using the API for my own project | 08:24:00 |
absidue | In reply to @wardpearce:matrix.org my instance of what? Invidious? I'm talking about Invidious' API not the instance itself The API is part of the instance. | 08:24:30 |
Ward | sure but not sure how "how are you adding auth to your instance" is relavent | 08:25:36 |
absidue | In reply to @wardpearce:matrix.org sure but not sure how "how are you adding auth to your instance" is relavent Because as far as I can tell from looking at the Invidious config file it doesn't support the kind of authentication you are talking about. Which means it's probably added by a server running in-between Invidious and the user, so you would have to ask the maintainer of the instance you are using how their auth is handled and if they can add support to their server in the middle to extract the token from the URL. | 08:26:20 |
Ward | Why type of auth am i talking about? | 08:27:27 |
absidue | In reply to @wardpearce:matrix.org Why type of auth am i talking about? auth on the streaming URLs, which Invidious doesn't do by default | 08:27:41 |
absidue | the streaming endpoints are unauthenticated | 08:27:50 |
absidue | the only ones that require authentication are the ones that access users data e.g. the subscriptions feed or the watch history | 08:28:17 |
Ward | doesnt appear to be correct, this is a instance im hosting locally with only caddy sitting in between docker. Making a request to a adaptive format video URL why proxying it gives a 403 error | 08:32:46 |
Ward |  Download image.png | 08:32:49 |
Ward | this is also mentioned in a issue on Invidious saying it requires auth | 08:33:04 |
Ward | without proxying i dont get 403'd | 08:35:18 |
absidue | In reply to @wardpearce:matrix.org doesnt appear to be correct, this is a instance im hosting locally with only caddy sitting in between docker. Making a request to a adaptive format video URL why proxying it gives a 403 error Have you checked that that 403 isn't coming from YouTube itself and that Invidious is just passing it through. YouTube likes to return 403s when something is off. | 08:35:23 |
absidue | In reply to @wardpearce:matrix.org doesnt appear to be correct, this is a instance im hosting locally with only caddy sitting in between docker. Making a request to a adaptive format video URL why proxying it gives a 403 error * Have you checked that that 403 isn't coming from YouTube itself and that Invidious is just passing it through? YouTube likes to return 403s when something is off. | 08:35:50 |
Ward | ofc 1st thing i checked, getting the video directly doesn't 403 | 08:36:13 |
absidue | In reply to @wardpearce:matrix.org ofc 1st thing i checked, getting the video directly doesn't 403 You need to check on the same IP as the Invidious instance is running on, as 403s during proxying usually means that YouTube has blocked the IP of your server. | 08:37:06 |
Ward | im running it locally, its the same IP | 08:37:31 |
unixfox | If you have ipv4 and ipv6 connectivity you may not use the same IP | 08:37:52 |
Ward | appears to be the same IP | 08:42:34 |
nohtyp | Anyone here have quadlet configuration files? | 08:44:26 |
Ward | In reply to @wardpearce:matrix.org appears to be the same IP just disabled IPv6 on my PC | 08:48:13 |
Ward | just tried 6 other Invidious instances not hosted by me with the same result, audio adaptiveStreams work fine but not video | 08:51:36 |
| @heterochromia420:tchncs.de changed their profile picture. | 09:00:12 |
absidue | In reply to @wardpearce:matrix.org sent an image. The URL in this screenshot has each query parameter duplicated, that's not normal, try removing the duplicated parameters and see if it works then. | 09:03:44 |
Ward | odd that came directly from the API | 09:04:20 |
absidue | In reply to @wardpearce:matrix.org odd that came directly from the API so you changed nothing about the URL? | 09:05:01 |
absidue | Not getting the duplicated URL parameters for the few public instances I've tried and streaming works fine for those. | 09:05:34 |
Ward | is local=true? | 09:05:46 |
absidue | just tried a different instance and got duplicated ones | 09:10:03 |