question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[MSL] Error parsing chunked response, video does not play

See original GitHub issue

I’m submitting a …

  • bug report, maybe?
  • feature request
  • support request

Prerequisites

  • Are you running the latest version?

Installation

  • I installed the plugin via zip from the Releases page
  • I´m using the Netflix Repo
  • I´m using a different source (Please tell which)

Operating System

  • Linux (x86/x64)
  • OSX (x86/x64)
  • Windows (x86/x64)
  • Linux (ARM)
  • Android

Not sure if this is on my end, since it seems the system refuse to resolve msftncsi.com Disabled my firewall, tested with a “working” VPN. Same error. Netflix works on Chrome though.

11:03:08.258 T:18244  NOTICE: Running the application...
11:03:08.259 T:17792  NOTICE: ES: Starting UDP Event server on port 9777
11:03:08.259 T:17792  NOTICE: UDP: Listening on port 9777 (ipv6 : false)
11:03:09.052 T:1824   ERROR: CCurlFile::Exists - Failed: Couldn't resolve host name(6) for http://www.msftncsi.com/ncsi.txt
11:03:11.436 T:10396   ERROR: XFILE::CDirectory::GetDirectory - Error getting
11:03:25.183 T:19640   ERROR: Previous line repeats 6 times.
11:03:25.183 T:19640 WARNING: Invalid media type ""
11:03:26.904 T:15532 WARNING: Previous line repeats 5 times.
11:03:26.904 T:15532   ERROR: CCurlFile::Exists - Failed: Couldn't resolve host name(6) for http://www.msftncsi.com/ncsi.txt
11:03:30.266 T:16092 WARNING: Invalid media type ""
11:03:38.978 T:18244  NOTICE: VideoPlayer::OpenFile: http://localhost:16919/manifest?id=70221567
11:03:38.978 T:14772  NOTICE: Creating InputStream
11:03:41.430 T:3880   ERROR: Traceback (most recent call last):
11:03:41.430 T:3880   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\SocketServer.py", line 290, in _handle_request_noblock
11:03:41.430 T:3880   ERROR:     self.process_request(request, client_address)
11:03:41.430 T:3880   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\SocketServer.py", line 318, in process_request
11:03:41.430 T:3880   ERROR:     self.finish_request(request, client_address)
11:03:41.430 T:3880   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\SocketServer.py", line 331, in finish_request
11:03:41.431 T:3880   ERROR:     self.RequestHandlerClass(request, client_address, self)
11:03:41.431 T:3880   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\SocketServer.py", line 652, in __init__
11:03:41.431 T:3880   ERROR:     self.handle()
11:03:41.431 T:3880   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\BaseHTTPServer.py", line 340, in handle
11:03:41.431 T:3880   ERROR:     self.handle_one_request()
11:03:41.431 T:3880   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\BaseHTTPServer.py", line 328, in handle_one_request
11:03:41.431 T:3880   ERROR:     method()
11:03:41.431 T:3880   ERROR:   File "C:\Users\XXXXXX\AppData\Roaming\Kodi\addons\plugin.video.netflix\resources\lib\MSLHttpRequestHandler.py", line 59, in do_GET
11:03:41.431 T:3880   ERROR:     data = MSL.load_manifest(int(params['id'][0]))
11:03:41.431 T:3880   ERROR:   File "C:\Users\XXXXXX\AppData\Roaming\Kodi\addons\plugin.video.netflix\resources\lib\MSL.py", line 234, in load_manifest
11:03:41.431 T:3880   ERROR:     data = self.__decrypt_payload_chunk(resp['payloads'][0])
11:03:41.431 T:3880   ERROR:   File "C:\Users\XXXXXX\AppData\Roaming\Kodi\addons\plugin.video.netflix\resources\lib\MSL.py", line 312, in __decrypt_payload_chunk
11:03:41.431 T:3880   ERROR:     data = json.JSONDecoder().decode(data)[1]['payload']['data']
11:03:41.431 T:3880   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\json\decoder.py", line 364, in decode
11:03:41.431 T:3880   ERROR:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
11:03:41.431 T:3880   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\json\decoder.py", line 380, in raw_decode
11:03:41.431 T:3880   ERROR:     obj, end = self.scan_once(s, idx)
11:03:41.431 T:3880   ERROR: ValueError: Unterminated string starting at: line 1 column 78 (char 77)
11:03:41.432 T:14772   ERROR: CCurlFile::FillBuffer - Failed: Server returned nothing (no headers, no data)(52)
11:03:41.432 T:14772   ERROR: CCurlFile::Open failed with code 0 for http://localhost:16919/manifest?id=70221567|acceptencoding=gzip&seekable=0&user-agent=Mozilla%2f5.0%20(Windows%20NT%206.1%3b%20WOW64)%20AppleWebKit%2f537.36%20(KHTML%2c%20like%20Gecko)%20Chrome%2f59.0.3071.115%20Safari%2f537.36
11:03:41.432 T:14772   ERROR: AddOnLog: InputStream Adaptive: Could not open / parse mpdURL (http://localhost:16919/manifest?id=70221567)
11:03:41.432 T:14772   ERROR: CVideoPlayer::OpenInputStream - error opening [http://localhost:16919/manifest?id=70221567]
11:03:41.432 T:14772  NOTICE: CVideoPlayer::OnExit()
11:03:44.987 T:18244 WARNING: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
dreamhd2015commented, Oct 19, 2017

@asciidisco If so, ask if it is believed that it could be repaired Thanks for answering

1reaction
asciidiscocommented, Oct 19, 2017

Released as 0.12.2. Thank you again for delivering this fix 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

php - Getting a strange error about chunked message not ...
The full error is exception 'Zend\Http\Exception\RuntimeException' with message 'Error parsing body - doesn't seem to be a chunked message' ...
Read more >
xQh - River Thames Conditions - Environment Agency - GOV.UK
Dictado video, 1000 yd record group, Agathe vieille-cessay, ... Add calendar to excel 2010 userform, Vidhyarjan class xi maths, El 9n no votare...
Read more >
Qualify your encoder - Akamai TechDocs
Learn how to test and qualify third-party encoders for streaming media events. To facilitate the streaming of high-quality live events in Media Services ......
Read more >
Internet Content Adaptation Protocol (ICAP) RFC 3507
It does not specify an Internet standard of any kind. ... track protocol specification for a protocol intended to perform the same of...
Read more >
0051 - C++ Programming: HTTP Chunked Transfer Encoding
Your browser can't play this video. ... This stream I wrote ChunkedBody, a decoder for Chunked Transfer Coding (RFC 7230 4.1), ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found