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

tsocks "protocol mismatch" #2421

Open
buccinator opened this issue Aug 25, 2024 · 0 comments
Open

tsocks "protocol mismatch" #2421

buccinator opened this issue Aug 25, 2024 · 0 comments

Comments

@buccinator
Copy link

Describe your issue

probably not a bug, i am running a fetch with tsocks (command below). is there a known way to fetch via socks proxy?

ls sites/ | xargs -I% tsocks npm run grab -- --site=%

everything is returned with "protocol mismatch" (example below). i am using

node --version

v20.17.0

npm --version

10.8.2

seems related to /node_modules/follow-redirects/index.js

> grab > npx tsx scripts/commands/epg/grab.ts --site=iltalehti.fi

(node:4078285) ExperimentalWarning: --experimental-loader may be removed in the future; instead use register():
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///usr/src/iptv-org-epg/node_modules/tsx/dist/loader.mjs", pathToFileURL("./"));'
(Use node --trace-warnings ... to show where the warning was created)
starting...
config:
output: guide.xml
maxConnections: 1
gzip: false
site: iltalehti.fi
loading channels...
found 142 channel(s)
run #1:
[1/284] iltalehti.fi (et) - ETV.ee - Aug 25, 2024 (0 programs)
ERR: protocol mismatch
[2/284] iltalehti.fi (et) - ETV.ee - Aug 26, 2024 (0 programs)
ERR: protocol mismatch
[3/284] iltalehti.fi (fi) - 1#national-geographic - Aug 26, 2024 (0 programs)
ERR: protocol mismatch
[4/284] iltalehti.fi (fi) - 10#disney-junior - Aug 26, 2024 (0 programs)
ERR: protocol mismatch

@buccinator buccinator added the bug Something isn't working label Aug 25, 2024
@freearhey freearhey added feature request and removed bug Something isn't working labels Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants