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

Unable to Fetch on Stremio? #17

Open
mckenna654 opened this issue Mar 14, 2022 · 0 comments
Open

Unable to Fetch on Stremio? #17

mckenna654 opened this issue Mar 14, 2022 · 0 comments

Comments

@mckenna654
Copy link

Hi, I'm running Deflix through docker. When I attempt to install on Stremio I receive the error "Unable to Fetch".

Deflix logs:

ErrorWarningSystemArrayLogin

2022-03-14T21:17:37+11:00 INFO Parsing config...
2022-03-14T21:17:37+11:00 INFO Parsed config {"config": "{\"bindAddr\":\"0.0.0.0\",\"port\":8080,\"baseURL\":\"http://localhost:8080\",\"storagePath\":\"\",\"maxAgeTorrents\":604800000000000,\"cachePath\":\"\",\"cacheAgeXD\":86400000000000,\"redisAddr\":\"\",\"redisCreds\":\"\",\"baseURLyts\":\"https://yts.mx\",\"baseURLtpb\":\"https://apibay.org\",\"baseURL1337x\":\"https://1337x.to\",\"baseURLibit\":\"https://ibit.am\",\"baseURLrarbg\":\"https://torrentapi.org\",\"baseURLrd\":\"https://api.real-debrid.com\",\"baseURLad\":\"https://api.alldebrid.com\",\"baseURLpm\":\"https://www.premiumize.me/api\",\"logLevel\":\"debug\",\"logEncoding\":\"console\",\"logFoundTorrents\":false,\"rootURL\":\"https://www.deflix.tv\",\"extraHeadersXD\":null,\"socksProxyAddrTPB\":\"\",\"webConfigurePath\":\"\",\"imdb2metaAddr\":\"\",\"useOAUTH2\":false,\"oauth2authURLrd\":\"https://api.real-debrid.com/oauth/v2/auth\",\"oauth2authURLpm\":\"https://www.premiumize.me/authorize\",\"oauth2tokenURLrd\":\"https://api.real-debrid.com/oauth/v2/token\",\"oauth2tokenURLpm\":\"https://www.premiumize.me/token\",\"oauth2clientIDrd\":\"\",\"oauth2clientIDpm\":\"\",\"oauth2clientSecretRD\":\"\",\"oauth2clientSecretPM\":\"\",\"oauth2encryptionKey\":\"\",\"forwardOriginIP\":false,\"envPrefix\":\"\"}"}
2022-03-14T21:17:37+11:00 INFO Validated config
2022-03-14T21:17:37+11:00 INFO Initializing caches...
2022-03-14T21:17:37+11:00 ERROR Couldn't load RD availability cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /root/.cache/deflix-stremio/cache/availability-rd.gob: no such file or directory"}

main.initCaches
/go/src/app/cmd/deflix-stremio/main.go:420

n
/go/src/app/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2022-03-14T21:17:37+11:00 ERROR Couldn't load AD availability cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /root/.cache/deflix-stremio/cache/availability-ad.gob: no such file or directory"}

main.initCaches
/go/src/app/cmd/deflix-stremio/main.go:429

n
/go/src/app/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2022-03-14T21:17:37+11:00 ERROR Couldn't load Premiumize availability cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /root/.cache/deflix-stremio/cache/availability-pm.gob: no such file or directory"}

main.initCaches
/go/src/app/cmd/deflix-stremio/main.go:438

n
/go/src/app/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2022-03-14T21:17:37+11:00 ERROR Couldn't load redirect cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /root/.cache/deflix-stremio/cache/redirect.gob: no such file or directory"}

main.initCaches
/go/src/app/cmd/deflix-stremio/main.go:470

n
/go/src/app/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2022-03-14T21:17:37+11:00 ERROR Couldn't load stream cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /root/.cache/deflix-stremio/cache/stream.gob: no such file or directory"}

main.initCaches
/go/src/app/cmd/deflix-stremio/main.go:490

n
/go/src/app/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2022-03-14T21:17:37+11:00 ERROR Couldn't load token cache from file - continuing with an empty cache {"error": "Couldn't open go-cache file: open /root/.cache/deflix-stremio/cache/token.gob: no such file or directory"}

main.initCaches
/go/src/app/cmd/deflix-stremio/main.go:510

n
/go/src/app/cmd/deflix-stremio/main.go:163
runtime.main
/usr/local/go/src/runtime/proc.go:204
2022-03-14T21:17:37+11:00 INFO Initialized caches {"duration": "0ms"}
2022-03-14T21:17:37+11:00 INFO Initializing stores...
2022-03-14T21:17:37+11:00 INFO Initialized stores {"duration": "740ms"}
2022-03-14T21:17:37+11:00 INFO Initializing clients...
2022-03-14T21:17:37+11:00 INFO Initialized clients {"duration": "0ms"}
2022-03-14T21:17:37+11:00 INFO Setting up server...
2022-03-14T21:17:37+11:00 INFO Finished setting up server
2022-03-14T21:17:37+11:00 INFO Starting server {"address": "0.0.0.0:8080"}
2022-03-14T21:18:37+11:00 INFO Cache stats {"cache": "token", "itemCount": 0}
2022-03-14T21:18:37+11:00 INFO Cache stats {"cache": "redirect", "itemCount": 0}
2022-03-14T21:18:37+11:00 INFO Cache stats {"cache": "stream", "itemCount": 0}
2022-03-14T21:18:37+11:00 INFO Cache stats {"cache": "availability-rd", "itemCount": 0}
2022-03-14T21:18:37+11:00 INFO Cache stats {"cache": "availability-ad", "itemCount": 0}
2022-03-14T21:18:37+11:00 INFO Cache stats {"cache": "availability-pm", "itemCount": 0}
2022-03-14T21:18:49+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:18:54+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:16+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:16+11:00 ERROR Fiber's error handler was called {"error": "Bad Request"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:16+11:00 ERROR Fiber's error handler was called {"error": "Bad Request"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:21+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:26+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:31+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:19:41+11:00 DEBUG Decoding user data {"userData": "eyJyZFRva2VuIjoiWU5ERkNERVJUM0tLSlZPUDVMQ0pVSUFGSFdWM09DTDc3RFNKV0U0RkpEQVZITVBUQUY3QSJ9"}
2022-03-14T21:19:41+11:00 DEBUG Decoded user data {"userData": "{RDtoken:YNDFCDERT3KKJVOP5LCJUIAFHWV3OCL77DSJWE4FJDAVHMPTAF7A RDoauth2: RDremote:false ADkey: PMkey: PMoauth2:}"}
2022-03-14T21:19:41+11:00 DEBUG Testing token... {"debridSite": "RealDebrid", "keyOrToken": "YNDFCDERT3KKJVOP5LCJUIAFHWV3OCL77DSJWE4FJDAVHMPTAF7A"}
2022-03-14T21:19:41+11:00 DEBUG API token not found in cache {"debridSite": "RealDebrid", "keyOrToken": "YNDFCDERT3KKJVOP5LCJUIAFHWV3OCL77DSJWE4FJDAVHMPTAF7A"}
2022-03-14T21:19:41+11:00 DEBUG Sending request to RealDebrid {"request": "&{Method:GET URL:https://api.real-debrid.com/rest/1.0/user Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Authorization:[Bearer YNDFCDERT3KKJVOP5LCJUIAFHWV3OCL77DSJWE4FJDAVHMPTAF7A]] Body:<nil> GetBody:<nil> ContentLength:0 TransferEncoding:[] Close:false Host:api.real-debrid.com Form:map[] PostForm:map[] MultipartForm:<nil> Trailer:map[] RemoteAddr: RequestURI: TLS:<nil> Cancel:<nil> Response:<nil> ctx:0xc0000a4048}"}
2022-03-14T21:19:42+11:00 DEBUG Token OK {"debridSite": "RealDebrid", "keyOrToken": "YNDFCDERT3KKJVOP5LCJUIAFHWV3OCL77DSJWE4FJDAVHMPTAF7A"}
2022-03-14T21:19:42+11:00 DEBUG manifestHandler called
2022-03-14T21:19:42+11:00 DEBUG Responding {"body": "{\"id\":\"tv.deflix.stremio\",\"name\":\"Deflix - Debrid flicks\",\"description\":\"Finds movies and TV shows on YTS, The Pirate Bay, 1337x, RARBG and ibit and automatically turns them into cached HTTP streams with a debrid service like RealDebrid, AllDebrid or Premiumize, for high speed 4k streaming and no P2P uploading (!). For more info see https://www.deflix.tv\",\"version\":\"0.11.1\",\"resources\":[{\"name\":\"stream\",\"types\":[\"movie\",\"series\"],\"idPrefixes\":[\"tt\"]}],\"types\":[\"movie\",\"series\"],\"catalogs\":[],\"idPrefixes\":[\"tt\"],\"background\":\"https://www.deflix.tv/images/Logo-1024px.png\",\"logo\":\"https://www.deflix.tv/images/Logo-250px.png\",\"behaviorHints\":{\"configurable\":true}}"}

2022-03-14T21:19:42+11:00 INFO Handled request {"status": 200, "duration": "917ms", "method": "GET", "url": "/eyJyZFRva2VuIjoiWU5ERkNERVJUM0tLSlZPUDVMQ0pVSUFGSFdWM09DTDc3RFNKV0U0RkpEQVZITVBUQUY3QSJ9/manifest.json", "ip": "192.168.0.243", "forwardedFor": []}
2022-03-14T21:19:42+11:00 INFO Handled request {"status": 404, "duration": "0ms", "method": "GET", "url": "/favicon.ico", "ip": "192.168.0.243", "forwardedFor": []}
2022-03-14T21:19:56+11:00 ERROR Fiber's error handler was called {"error": "Bad Request"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:22:43+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:23:39+11:00 INFO Handled request {"status": 200, "duration": "0ms", "method": "GET", "url": "/configure", "ip": "192.168.0.243", "forwardedFor": []}
2022-03-14T21:23:39+11:00 INFO Handled request {"status": 200, "duration": "0ms", "method": "GET", "url": "/configure/deflix.css", "ip": "192.168.0.243", "forwardedFor": []}
2022-03-14T21:23:39+11:00 INFO Handled request {"status": 200, "duration": "0ms", "method": "GET", "url": "/configure/mvp.css", "ip": "192.168.0.243", "forwardedFor": []}
2022-03-14T21:23:40+11:00 INFO Handled request {"status": 200, "duration": "0ms", "method": "GET", "url": "/configure/favicon.ico", "ip": "192.168.0.243", "forwardedFor": []}
2022-03-14T21:24:04+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
2022-03-14T21:24:09+11:00 ERROR Fiber's error handler was called {"error": "Request Timeout"}
github.com/deflix-tv/go-stremio.(*Addon).Run.func1
/go/pkg/mod/github.com/deflix-tv/[email protected]/addon.go:222
github.com/gofiber/fiber/v2.(*App).init.func1
/go/pkg/mod/github.com/gofiber/fiber/[email protected]/app.go:740
github.com/valyala/fasthttp.(*Server).writeErrorResponse
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2652
github.com/valyala/fasthttp.(*Server).serveConn
/go/pkg/mod/github.com/valyala/[email protected]/server.go:2100
github.com/valyala/fasthttp.(*workerPool).workerFunc
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:223
github.com/valyala/fasthttp.(*workerPool).getCh.func1
/go/pkg/mod/github.com/valyala/[email protected]/workerpool.go:195
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant