Closed Bug 1193484 Opened 9 years ago Closed 9 years ago

Some requests from flash game to server fail (pogo.com)

Categories

(Core Graveyard :: Plug-ins, defect)

40 Branch
x86_64
Windows 7
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1194600

People

(Reporter: bchheda, Unassigned, NeedInfo)

References

Details

(Keywords: flashplayer)

Attachments

(2 files)

Attached image firefox-chuzzle.png
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150806153638

Steps to reproduce:

Go to http://www.pogo.com
You will need to create an account to play "Chuzzle Slots"/"Peggle Slots" game
Launch either of the Chuzzle Slots or Peggle Slots game. After the game has launched a dialog will come up asking you to either "Refill Bucket" or "Buy Coins" or "Play now". Click "Buy Coins". 


Actual results:

Store does not display. We believe contents of /storeapi results get corrupted somehow. If Fiddler is running and requests are executed via fiddler then it works fine. But without fiddler it does not. It works with FF 39, Chrome and IE browsers. It works on FF Dev Edition 41.0a2 also. Not sure why it is breaking for FF 40. 

Some of the other games are broken also (for e.g. Claire Hart, Sherlock Holmes etc.). These games do not load at all. If you are lucky it would work once or twice but fails most of the times.

We use Thrift for client/server communication. It seems FF is not able to load chunked response or something. To resolve the issue we are updating the client/server communication from thrift to JSON but it will take sometime. 

But it seems something changed with FF 40 release that is causing this issue and we are not sure what it is. 






Expected results:

Store should display.
Keywords: flashplayer
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Severity: normal → major
Attached image showing the HTTP request fails with NS_ERROR_UNEXPECTED.
Attached an image showing the failure reason NS_ERROR_UNEXPECTED
I was able to reproduce the issue yesterday with the game "Chuzzle Spots" which refused to open the store window to buy gems. But it works today.

I tried the game "Claire Hart" and it loads fine with FF40 and a clean profile.

IMHO, we need better steps to reproduce (like a specific game or a minimal testcase) and possible errors to check in the web console to track the issue.

It could be an issue with add-ons too (so safe mode might help to debug https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode)
We applied a patch to kind of resolve this issue for end users. If the original call that makes binary thrift call fails then we use JSON API. Underlying issue remains and is causing an issue for couple of other games and we are working on a fix for that. 

Because the underlying issue still exists, we will try to provide alternate repro steps.
It's probably an issue due to Asynchronous Plugin Initialization introduced in FF40.

If you have still a testcase on your side, you can test that setting dom.ipc.plugins.asyncInit=false (restart FF) fixes the issue.
Component: Untriaged → Plug-ins
Flags: needinfo?(bchheda)
Summary: Some requests from flash game to server fail → Some requests from flash game to server fail (pogo.com)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
All games are correctly played with Firefox 41 beta 5, but the problems are also not occurring with Firefox 40RC due to the fact that the games were modified.

Can you please try using the new beta build (https://ftp.mozilla.org/pub/mozilla.org/firefox/candidates/41.0b5-candidates/build1/) and see if the issues are now fixed? Thank you!
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: