2015-04-11, 07:37
(2015-04-11, 07:27)insertnamehere Wrote: [ -> ](2015-04-11, 06:14)thekow Wrote: [ -> ]Plugin was working perfectly until i tried to watch daredevil it comes up with "busy" then script failed! on 3.18 it only fails on daredevil.
Code:13:57:26 T:2431294272 NOTICE: -->Python Interpreter Initialized<--
13:57:26 T:2431294272 NOTICE: URL: https://www.netflix.com/Login
13:57:27 T:2431294272 ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL $
InsecurePlatformWarning
13:57:27 T:2431294272 ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strong$
InsecureRequestWarning)
13:57:28 T:2431294272 ERROR: Previous line repeats 2 times.
13:57:28 T:2431294272 NOTICE: URL: https://signup.netflix.com/Login
13:57:28 T:2431294272 ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL $
InsecurePlatformWarning
13:57:29 T:2431294272 ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strong$
InsecureRequestWarning)
13:57:30 T:2431294272 ERROR: Previous line repeats 2 times.
13:57:30 T:2431294272 NOTICE: Setting Country: AU
13:57:30 T:2431294272 NOTICE: URL: https://www.netflix.com/WiHome
13:57:30 T:2431294272 ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strong$
InsecureRequestWarning)
13:57:34 T:2439686976 NOTICE: Thread BackgroundLoader start, auto delete: false
14:00:38 T:2777676608 NOTICE: Thread JobWorker start, auto delete: true
14:00:38 T:2695887680 NOTICE: Thread LanguageInvoker start, auto delete: false
14:00:38 T:2695887680 NOTICE: -->Python Interpreter Initialized<--
14:00:39 T:2505943872 NOTICE: Thread BackgroundLoader start, auto delete: false
14:00:39 T:2505943872 NOTICE: Thread JobWorker start, auto delete: true
14:00:46 T:2695887680 NOTICE: Thread LanguageInvoker start, auto delete: false
14:00:46 T:2695887680 NOTICE: -->Python Interpreter Initialized<--
14:00:46 T:2695887680 NOTICE: URL: https://www.netflix.com/MyList?leid=595&link=seeall
14:00:46 T:2695887680 ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL $
InsecurePlatformWarning
14:00:47 T:2695887680 ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strong$
InsecureRequestWarning)
14:00:50 T:2695887680 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '' as 0 minutes
14:00:50 T:2677009216 WARNING: Previous line repeats 13 times.
14:00:50 T:2677009216 NOTICE: Thread BackgroundLoader start, auto delete: false
14:00:57 T:2695887680 NOTICE: Thread LanguageInvoker start, auto delete: false
14:00:57 T:2695887680 NOTICE: -->Python Interpreter Initialized<--
14:00:58 T:2695887680 NOTICE: URL: http://api-global.netflix.com/desktop/odp/episodes?languages=en-AU&forceEpisodes=true&routing=redirect&video=80018294&country=AU
14:00:58 T:2695887680 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: No JSON object could be decoded
Traceback (most recent call last):
File "/home/super/.kodi/addons/plugin.video.netflixbmc/default.py", line 1234, in <module>
listSeasons(name, url, thumb)
File "/home/super/.kodi/addons/plugin.video.netflixbmc/default.py", line 441, in listSeasons
content = json.loads(content)
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
-->End of Python script error report<--
Tried it on 1.3.14 and also fails, just Marvel's Daredevil
The request sent by Netflixbmc to Netflix for Daredevil looks like this and if you put it through a browser it fails at the Netflix server.
"http://api-global.netflix.com/desktop/odp/episodes?languages=en-AU&forceEpisodes=true&routing=redirect&video=80018294&country=AU"
The next request is a valid that returns valid data from the netflix server.
"http://api-global.netflix.com/desktop/odp/episodes?languages=en-AU&forceEpisodes=true&routing=redirect&video=80037657&country=AU"
Apart from the videoID (80037657) there is no difference between. All the other series work ok.
It looks like the problem is with Netflix server.
i just tried daredevil and got the same issue
So a stack trace on that one:
com.netflix.hystrix.exception.HystrixRuntimeException: NDCMapODPGetConfig failed and fallback failed.
at com.netflix.hystrix.AbstractCommand$16.call(AbstractCommand.java:792)
at com.netflix.hystrix.AbstractCommand$16.call(AbstractCommand.java:769)
at rx.internal.operators.OperatorOnErrorResumeNextViaFunction$1.onError(OperatorOnErrorResumeNextViaFunction.java:77)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at com.netflix.hystrix.AbstractCommand$DeprecatedOnFallbackHookApplication$1.onError(AbstractCommand.java:1444)
at com.netflix.hystrix.AbstractCommand$FallbackHookApplication$1.onError(AbstractCommand.java:1334)
at com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:314)
at com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:306)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable.unsafeSubscribe(Observable.java:7495)
at rx.internal.operators.OperatorOnErrorResumeNextViaFunction$1.onError(OperatorOnErrorResumeNextViaFunction.java:78)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at com.netflix.hystrix.AbstractCommand$HystrixObservableTimeoutOperator$3.onError(AbstractCommand.java:977)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at rx.internal.operators.OperatorSubscribeOn$1$1$1.onError(OperatorSubscribeOn.java:71)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at com.netflix.hystrix.AbstractCommand$DeprecatedOnRunHookApplication$1.onError(AbstractCommand.java:1403)
at com.netflix.hystrix.AbstractCommand$ExecutionHookApplication$1.onError(AbstractCommand.java:1303)
at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:297)
at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:289)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable.unsafeSubscribe(Observable.java:7495)
at com.netflix.hystrix.AbstractCommand$5.call(AbstractCommand.java:518)
at com.netflix.hystrix.AbstractCommand$5.call(AbstractCommand.java:501)
at rx.Observable.unsafeSubscribe(Observable.java:7495)
at rx.internal.operators.OperatorSubscribeOn$1$1.call(OperatorSubscribeOn.java:62)
at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:56)
at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:47)
at com.netflix.lang.BindingContexts.callWithContext(BindingContexts.java:204)
at com.netflix.lang.ContextCallable.call(ContextCallable.java:72)
at com.netflix.logging.aspects.LoggingContextWrappedCallable.call(LoggingContextWrappedCallable.java:75)
at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.call(HystrixContexSchedulerAction.java:69)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.netflix.hystrix.exception.HystrixRuntimeException: The callServer stage for command NDCMapODPGetConfig failed. RequestId [ 8607847e-e809-4416-bb22-b983061527cd-5576971 ] Debug Info [ { "video":80018294, "country":"{ISOCountry/NFCountry#AU}", "locale":"en-US", "include":{"design":["www"]}, "exclude":{} } ]
at com.netflix.map.service.impl.MapClientDependencyCommand.handleProcessFailure(MapClientDependencyCommand.java:517)
at com.netflix.map.service.impl.MapClientDependencyCommand.callServer(MapClientDependencyCommand.java:456)
at com.netflix.map.service.impl.MapClientDependencyCommand.run(MapClientDependencyCommand.java:196)
at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:294)
... 24 more
Caused by: java.lang.IllegalStateException: Map Server returned status code: 500 for server:map:7001
at com.netflix.map.RestRequest.execute(RestRequest.java:237)
at com.netflix.map.RestRequest.get(RestRequest.java:196)
at com.netflix.map.service.impl.ODPGetConfigClient.callServer(ODPGetConfigClient.java:135)
at com.netflix.map.service.impl.MapClientDependencyCommand.callServer(MapClientDependencyCommand.java:437)
... 26 more
Caused by: java.lang.IllegalStateException: Server response:
{"error":"java.lang.RuntimeException: com.netflix.map.MapException: The process stage for command ODPGetCompositeResult failed. RequestId [ 94411a4a-f153-4bf0-9c1b-9598ce5ad42d ] Debug Info [ Video:{Video/TrivialVideo#80018294} FilterInclude:{\"movieId\":[\"80018294\"],\"videoId\":[\"80018294\"],\"phases\":[\"2\"],\"phase\":[\"2\"],\"design\":[\"www\"]} FilterExclude:{} ]"}
at com.netflix.map.RestRequest.execute(RestRequest.java:231)
... 29 more
The funny thing is the json output is actually returned.
There is not much we can do about this, hopefully netflix will fix it soon