http://bugs.winehq.org/show_bug.cgi?id=31858
Bug #: 31858 Summary: Netflix on Firefox fails with Internet Connection Problem when loading bar is at 99% Product: Wine Version: 1.5.14 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ehoover@mines.edu Depends on: 31589 Classification: Unclassified
Netflix generates an error "Internet Connection Problem" (N8156-6022) when attempting to play movies.
Steps to reproduce: 0) Create a new Wine prefix and do not install Mono 1) Apply attachment 41923 to work around Bug #31589. 2) Download and install a recent Windows version of Firefox: wget -O Firefox-14.0.1.exe http://download.mozilla.org/?product=firefox-14.0.1-funnelcake13&os=win&...; wine Firefox-14.0.1.exe 3) Launch Firefox 4) Download the Silverlight 4.x installer from within Wine Firefox ( http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0 ). Due to Bug #31754 you should not install Silverlight 5.x 5) Click "Save File" to save the Silverlight installer 6) Double click the "Silverlight.exe" file in the download window and click "Ok" 7) Click "Install now" 8) Uncheck "Enable Microsoft Update" and click "Next>" and then click "Close" 9) Login to Netflix and attempt to play a movie/show
possibly relevant console information: fixme:advapi:SetNamedSecurityInfoW L"\\?\C:\users\Public\Application Data\Microsoft\PlayReady\Cache\S-1-5-21-0-0-0-1000" 1 1 0x66025f0 (nil) (nil) (nil) fixme:advapi:SetNamedSecurityInfoW L"\\?\C:\users\Public\Application Data\Microsoft\PlayReady\Cache\S-1-5-21-0-0-0-1000" 1 4 (nil) (nil) 0x656c128 (nil) fixme:advapi:SetNamedSecurityInfoW L"\\?\C:\users\Public\Application Data\Microsoft\PlayReady\Cache\S-1-5-21-0-0-0-1000\." 1 1 0x66025f0 (nil) (nil) (nil) fixme:advapi:SetNamedSecurityInfoW L"\\?\C:\users\Public\Application Data\Microsoft\PlayReady\Cache\S-1-5-21-0-0-0-1000\." 1 4 (nil) (nil) 0x656c128 (nil) fixme:advapi:SetNamedSecurityInfoW L"\\?\C:\users\Public\Application Data\Microsoft\PlayReady\Cache\S-1-5-21-0-0-0-1000\.." 1 1 0x66025f0 (nil) (nil) (nil) fixme:advapi:SetNamedSecurityInfoW L"\\?\C:\users\Public\Application Data\Microsoft\PlayReady\Cache\S-1-5-21-0-0-0-1000\.." 1 4 (nil) (nil) 0x656c128 (nil) fixme:advapi:SetNamedSecurityInfoW L"\\?\C:\users\Public\Application Data\Microsoft\PlayReady\Cache\S-1-5-21-0-0-0-1000\MSPRindiv01.key" 1 1 0x66025f0 (nil) (nil) (nil) fixme:advapi:SetNamedSecurityInfoW L"\\?\C:\users\Public\Application Data\Microsoft\PlayReady\Cache\S-1-5-21-0-0-0-1000\MSPRindiv01.key" 1 4 (nil) (nil) 0x656c128 (nil)
http://bugs.winehq.org/show_bug.cgi?id=31858
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31858
--- Comment #1 from Erich Hoover ehoover@mines.edu 2012-10-02 16:19:29 CDT --- Now that Bug #31754 is fixed I should mention that it's still necessary to use Silverlight 4.x, for some reason Silverlight 5.x does not fill out the entire "Cache" profile directory.
http://bugs.winehq.org/show_bug.cgi?id=31858
Bug 31858 depends on bug 31589, which changed state.
Bug 31589 Summary: Netflix on Firefox fails with DRM error when loading bar is at 98% http://bugs.winehq.org/show_bug.cgi?id=31589
What |Old Value |New Value ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=31858
Peter Waller peter.waller@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |peter.waller@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31858
Andrew Riker andrew.thomas.riker@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew.thomas.riker@gmail.c | |om
http://bugs.winehq.org/show_bug.cgi?id=31858
--- Comment #2 from Erich Hoover ehoover@mines.edu 2012-10-11 12:26:47 CDT --- (In reply to comment #1)
Now that Bug #31754 is fixed I should mention that it's still necessary to use Silverlight 4.x, for some reason Silverlight 5.x does not fill out the entire "Cache" profile directory.
I've opened a separate bug for the Silverlight 5.x individualization problem (Bug #31881). Now that Bug #31589 is fixed it's possible to load the PlayReady stream at this website the first time the page loads: http://web.sldrm.video.msn.com/d1/sldrm.html
So, I think the problem might be retaining credentials so that they can be reused for an already-approved file.
http://bugs.winehq.org/show_bug.cgi?id=31858
--- Comment #3 from Erich Hoover ehoover@mines.edu 2012-10-11 22:07:10 CDT --- Created attachment 42081 --> http://bugs.winehq.org/attachment.cgi?id=42081 Hack to work around Internet Connection Problem
Ok, I have a clue as to the source of the problem. It appears that PlayReady is either improperly detecting that whether it's already running or it's supposed to be able to delete the individualization file _while it's loaded in memory_. The attached hack deletes the individualization file at the appropriate time (right before attempting to delete the folder it's in) so that Netflix can continue to 100%. However, the application will stall at 100% - so we're not all the way there yet.
http://bugs.winehq.org/show_bug.cgi?id=31858
--- Comment #4 from Erich Hoover ehoover@mines.edu 2012-10-15 14:24:31 CDT --- I suspect that this has something to do with the file's modification time, as I can "reproduce" this issue on Windows by changing the "modification time" of C:\users\Public\Application Data\Microsoft\Cache\indiv01.key after loading the page http://web.sldrm.video.msn.com/d1/sldrm.html and before hitting "Load selected media!" (the work around allows this to function). It's worth noting that I cannot change file times on C:\users\Public\Application Data\Microsoft\Cache\S-1-5-21-0-0-0-1000/MSPRindiv01.key while Silverlight is running (since the file is in use).
Also, I have a little trick for narrowing down the log (for Netflix, not for the above website): cat netflix.log | grep -A 999999 status_acquiring_license_lsc | grep -B 999999 status_fatal_error_ls > netflix-error.log
http://bugs.winehq.org/show_bug.cgi?id=31858
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #42081|0 |1 is obsolete| |
--- Comment #5 from Erich Hoover ehoover@mines.edu 2012-10-17 13:04:01 CDT --- Created attachment 42171 --> http://bugs.winehq.org/attachment.cgi?id=42171 Fix for the Internet Connection Problem
Ok, I believe I've come up with a fix for this issue. I would appreciate any comments people have on this patch, the ACL part was particularly tricky and I'm not very familiar with that portion of the API. There are essentially three parts to this patch: 1) Returning the current user as the file owner 2) Returning the current user and the administrators group in the DACL 3) Saving nanosecond precision filetimes (CopyFile does not currently save the correct filetime)
It's worth noting that the attached patch just gets the loading bar to 100% for Netflix (it still won't actually play). I have some other PlayReady websites working (such as http://web.sldrm.video.msn.com/d1/sldrm.html), but it appears that only "Progressive Download" mode data works - "Streaming" mode still has problems.
http://bugs.winehq.org/show_bug.cgi?id=31858
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |31993
http://bugs.winehq.org/show_bug.cgi?id=31858
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #42171|0 |1 is obsolete| |
--- Comment #6 from Erich Hoover ehoover@mines.edu 2012-10-17 13:39:19 CDT --- Created attachment 42172 --> http://bugs.winehq.org/attachment.cgi?id=42172 Fix for the Internet Connection Problem [v2]
(In reply to comment #5)
Created attachment 42171 [details] Fix for the Internet Connection Problem ...
Whoops, had an order of operations mistake in the time calculation - the newly attached version fixes this issue.
http://bugs.winehq.org/show_bug.cgi?id=31858
Mike Ellery mellery@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mellery@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31858
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=31858
Gary garysbox@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |garysbox@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31858
Bobby Powers bobbypowers@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bobbypowers@gmail.com
--- Comment #7 from Bobby Powers bobbypowers@gmail.com 2012-10-31 20:25:37 CDT --- so I applied your patch on top of the current HEAD (1d3f679e). The time parts failed, but I see that you applied those as a separate patch on the 26th, so no big deal.
I should note that I also have the pulseaudio (git://repo.or.cz/wine/multimedia.git) branch merged in.
With this patch, and the winetricks wininet override, netflix audio, video and fullscreen works!
(In reply to comment #6)
Created attachment 42172 [details] Fix for the Internet Connection Problem [v2]
(In reply to comment #5)
Created attachment 42171 [details] Fix for the Internet Connection Problem ...
Whoops, had an order of operations mistake in the time calculation - the newly attached version fixes this issue.
http://bugs.winehq.org/show_bug.cgi?id=31858
--- Comment #8 from Bobby Powers bobbypowers@gmail.com 2012-10-31 20:26:31 CDT --- I'm new to the wine codebase, but I'm going to spend a little time looking at my logs to see if I can figure out any specifics about why the override works but pure wine doesnt.
http://bugs.winehq.org/show_bug.cgi?id=31858
--- Comment #9 from Erich Hoover ehoover@mines.edu 2012-10-31 20:32:51 CDT --- (In reply to comment #8)
I'm new to the wine codebase, but I'm going to spend a little time looking at my logs to see if I can figure out any specifics about why the override works but pure wine doesnt.
That's Bug #31993, my latest patches are: [1/3] http://source.winehq.org/patches/data/91569 [2/3] http://source.winehq.org/patches/data/91570 [3/3] http://source.winehq.org/patches/data/91571
With those three patches Netflix will work without an override.
http://bugs.winehq.org/show_bug.cgi?id=31858
--- Comment #10 from Bobby Powers bobbypowers@gmail.com 2012-10-31 20:43:06 CDT --- Created attachment 42361 --> http://bugs.winehq.org/attachment.cgi?id=42361 diff between wine-provided and winetricks wininet
I ran firefox (16.0.2) from the command line and saved the logs, with and without the override. I then ran each log through uniq, since there were a lot of repeated messages, and diffed them:
git diff --no-index pure.log wininet.log >~/wininet.diff
I'm afraid nothing pops out at me, but maybe they're useful for someone else. I'm happy to test further patches or to poke around if someone points me in the right direction, but I'm not really sure where to go from here.
http://bugs.winehq.org/show_bug.cgi?id=31858
--- Comment #11 from Bobby Powers bobbypowers@gmail.com 2012-10-31 20:54:05 CDT --- (In reply to comment #9)
(In reply to comment #8)
I'm new to the wine codebase, but I'm going to spend a little time looking at my logs to see if I can figure out any specifics about why the override works but pure wine doesnt.
That's Bug #31993, my latest patches are: [1/3] http://source.winehq.org/patches/data/91569 [2/3] http://source.winehq.org/patches/data/91570 [3/3] http://source.winehq.org/patches/data/91571
With those three patches Netflix will work without an override.
I will follow up on that bug.
http://bugs.winehq.org/show_bug.cgi?id=31858
--- Comment #12 from Andrew Riker andrew.thomas.riker@gmail.com 2012-11-16 12:05:21 CST --- Congratulations on getting Netflix working! Already good excitement for it on several pages.
http://bugs.winehq.org/show_bug.cgi?id=31858
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |32242
http://bugs.winehq.org/show_bug.cgi?id=31858
Bug 31858 depends on bug 32242, which changed state.
Bug 32242 Summary: Silverlight 4.x can no longer install http://bugs.winehq.org/show_bug.cgi?id=32242
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=31858
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |32323
http://bugs.winehq.org/show_bug.cgi?id=31858
Claudio F Filho filhocf@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |filhocf@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=31858
Adam Bolte boltronics@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |boltronics@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=31858
--- Comment #13 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=31858
--- Comment #14 from Erich E. Hoover erich.e.hoover@wine-staging.com --- (In reply to Austin English from comment #13)
This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
Though this bug existed first, this should probably be declared a duplicate of either Bug #33576 or Bug #34406 (since there is far more information in those bugs). The remaining issues getting Netflix working is in properly handling the ACLs, though I'm not sure that that's solvable given our constraints ( https://www.winehq.org/pipermail/wine-devel/2014-December/106090.html ).
https://bugs.winehq.org/show_bug.cgi?id=31858
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #15 from Austin English austinenglish@gmail.com --- (In reply to Erich E. Hoover from comment #14)
(In reply to Austin English from comment #13)
This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
Though this bug existed first, this should probably be declared a duplicate of either Bug #33576 or Bug #34406 (since there is far more information in those bugs). The remaining issues getting Netflix working is in properly handling the ACLs, though I'm not sure that that's solvable given our constraints ( https://www.winehq.org/pipermail/wine-devel/2014-December/106090.html ).
Okay, thanks.
*** This bug has been marked as a duplicate of bug 33576 ***
https://bugs.winehq.org/show_bug.cgi?id=31858
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Bruno Jesus 00cpxxx@gmail.com --- Closing duplicate bugs.