Vidsrc DNS error not handled #722
Labels
No labels
MediaFlow Proxy
autorelease: pending
autorelease: tagged
bug
documentation
duplicate
enhancement
help wanted
invalid
question
wontfix
🇩🇪 German
🇫🇷 French
🇮🇳 Indian
🇸🇦 Arabic
🌐 Multi
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Creepso/webstreamr-github#722
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
line below does not handle DNS error or domain unreachable
(error.code == "EAI_AGAIN"), it throw an error without retrying another domainsfb354b4746/src/extractor/VidSrc.ts (L46)Are you self-hosting? What url are you actually opening in the browser there? Not sure if the code is really related to that 🤔
looks like you have dns issues in your browser/client and not inside webstreamr. I can't handle that, sorry. your ISP might be blocking vidsrc and I suggest that you use another dns
Self-hosted, Image taken from a browser, possibly unrelated, but the error is the same. When webstreamer opens
vidsrc-me.su, it fails because the website is down, but I can open other domains such asvidsrcme.ru,vidsrcme.su,vidsrc-embed.ru.hmm ok, I see. this is bad, because according to https://vidsrc.domains/ that domain should be live. I think webstreamr randomly selects one of the domains, so maybe for now you can just retry such cases? if it keeps being down I'll have to remove it eventually
yes webstreamr randomly selects one of the domains but if dns error it will fail without retry that why I use
error.code == "EAI_AGAIN"Feel free to open a PR if you have time. We could also retry all network related errors there imo
closing due to lack of input. feel free to report back or open a PR as mentioned. not sure if there still issues even