Closed harshascode closed 1 month ago
This is the proxy documentation for sudo-flix but the setup should be similar https://docs.undi.rest/proxy/deploy
Thanks a lot.
Welcome
I deployed the site. but its not good as vidbinge. my website failed to scrape top 4 sources. my proxy working fine. do you know any solution for this or what i doing wrong here.
Have you checked the TMDB Api keys as well as the scraper keys
in dev mode the website works perfectly. i found that my proxy not working properly i tried multiple times. it always say its working in web page. but in gitpod when we hit the proxy form scrapper it giving some errors. i have no idea how to fix this. do you have any idea how to fix this.
This is the error log:
Listening on http://[::]:3000
[nitro] [request error] [unhandled] Cannot set headers after they are sent to the client
at ServerResponse.setHeader (node:_http_outgoing:659:11)
at defaultContentType (./.output/server/chunks/runtime.mjs:2228:20)
at send (./.output/server/chunks/runtime.mjs:2190:5)
at handleHandlerResponse (./.output/server/chunks/runtime.mjs:3008:12)
at Object.handler (./.output/server/chunks/runtime.mjs:2904:15)
at async Server.toNodeHandle (./.output/server/chunks/runtime.mjs:3166:7)
[nitro] [unhandledRejection] Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at ServerResponse.setHeader (node:_http_outgoing:659:11)
at setResponseHeader (file:///workspace/movie-proxy/.output/server/chunks/runtime.mjs:2254:18)
at defaultNitroErrorHandler (file:///workspace/movie-proxy/.output/server/chunks/runtime.mjs:5173:7)
at Object.onError (file:///workspace/movie-proxy/.output/server/chunks/runtime.mjs:5437:14)
at Server.toNodeHandle (file:///workspace/movie-proxy/.output/server/chunks/runtime.mjs:3174:27) {
code: 'ERR_HTTP_HEADERS_SENT'
}
I deployed the site. but its not good as vidbinge. my website failed to scrape top 4 sources. my proxy working fine. do you know any solution for this or what i doing wrong here.
So WHVX and NSBX are private sources and only work on vidbinge and our partners. You may have to go into your providers, fork it, and pull the providers from your own fork with whvx and nsbx disabled.
ok, now i understand why scrappers not working in my project. thank you for clarifying.
How can I deploy this in cloudflair? Is there any docs or resources I can use.