Bug #1708

hls backend and cookies

Added by Buksa Noob over 7 years ago. Updated almost 7 years ago.

Status:FixedStart date:06/12/2013
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:General
Target version:4.4
Found in version:4.3.243-gc905f45 Platform:Linux

Description

has problem with hls drops cookies
after parsing HLS playlist no cookies for segments files
example

var JSON = showtime.JSONDecode(showtime.httpPost('http://moonwalk.cc/sessions/create', {video_token: '6843ee2658c83f6276522d6f8b0441a3'}));
var result_url = 'hls:JSON.manifest_m3u8'

http://pastebin.com/eGi7z5gH

debug_plugin.zip (916 Bytes) Buksa Noob, 06/14/2013 07:40 AM

Associated revisions

Revision b6b17fa1
Added by Andreas Smas over 7 years ago

http: Improve debugging around cookies

refs #1708

Change included in version 4.3.249

Revision 791bd3f9
Added by Andreas Smas over 7 years ago

Fix broken date parsing

Fixes #1708

Change included in version 4.3.256

History

#1 Updated by Andreas Smas over 7 years ago

  • Status changed from New to Need feedback

I've added more debug to HTTP client related to cookies.

I can't reproduce the case you have since the token you have in your example have expired (or is no longer valid)

But please retry with the new debug code.

#2 Updated by Buksa Noob over 7 years ago

log 1 http://pastebin.com/JnpK7SUE hls from server go to line 559
log 2 http://pastebin.com/DUkiLNYP parced hls i just add full path and tokens to segment
maybe this problem on server ;)
but anyway thx

#3 Updated by Andreas Smas over 7 years ago

  • Status changed from Need feedback to Fixed
  • % Done changed from 0 to 100

#4 Updated by Andreas Smas over 7 years ago

This was my fault. I had screwed up the date parsing functions so the cookies expired immediately.

#5 Updated by Buksa Noob over 7 years ago

thx it was fast.
You da man!

#6 Updated by Andreas Smas almost 7 years ago

  • Target version set to 4.4

Also available in: Atom PDF