siramix / buzzwords

A mobile word game that will change the word.
www.siramix.com/buzzwords
GNU General Public License v3.0
10 stars 1 forks source link

Get Packs Times Out When Server is Down #73

Closed lucasrowe closed 11 years ago

lucasrowe commented 12 years ago

If you look at the log below you will see that doHTTPGet() is the last call before the app times out. Not coincidentally, www.siramix.com is down right now.

D/PackClient(20002): getInstance D/Deck (20002): getAllPacksFromDB() D/Pack (20002): constructor Pack(args) D/Pack (20002): constructor Pack(args) D/Deck (20002): countCards(LinkedList) D/Deck (20002): getPercentSeen(1) D/Deck (20002): ===== PACK DATA ==== D/Deck (20002): ---- db fields -- D/Deck (20002): pack.Id: 1 D/Deck (20002): pack.Name: starterPack D/Deck (20002): pack.Path: freepacks/starterPack.json D/Deck (20002): pack.Description: Description of pack1 D/Deck (20002): pack.PurchaseType: -1 D/Deck (20002): pack.Version: 0 D/Deck (20002): ---- runtime fields -- D/Deck (20002): pack.ServerSize: -1 D/Deck (20002): pack.Size: 125 D/Deck (20002): pack.NumSeen: 124 D/Deck (20002): pack.UpdateMessage: null D/Deck (20002): pack.Weight: -1.0 D/Deck (20002): pack.NumToPullNext: -1 D/Deck (20002): pack.mInstalled: true D/Deck (20002): countCards(LinkedList) D/Deck (20002): getPercentSeen(3) D/Deck (20002): ===== PACK DATA ==== D/Deck (20002): ---- db fields -- D/Deck (20002): pack.Id: 3 D/Deck (20002): pack.Name: Facebook D/Deck (20002): pack.Path: packs/facebook.json D/Deck (20002): pack.Description: This pack will be unlocked after posting on Facebook. D/Deck (20002): pack.PurchaseType: -1 D/Deck (20002): pack.Version: 1 D/Deck (20002): ---- runtime fields -- D/Deck (20002): pack.ServerSize: -1 D/Deck (20002): pack.Size: 4 D/Deck (20002): pack.NumSeen: 4 D/Deck (20002): pack.UpdateMessage: null D/Deck (20002): pack.Weight: -1.0 D/Deck (20002): pack.NumToPullNext: -1 D/Deck (20002): pack.mInstalled: true D/PackClient(20002): getPayPacks D/PackClient(20002): doHTTPGet()

edwardrowe commented 12 years ago

Note more info in duplicate task: https://github.com/siramix/buzzwords/issues/82

lucasrowe commented 11 years ago

Closing this as duplicate