STEPS TO REPRODUCE:
1. use In-App-Billing with real product Ids (the app is not yet published, the
In-App products are published)
2. make the REQUEST_PURCHASE call (just like in the Dungeons example app)
3. start the buy page Activity with the intent returned (just like in the
Dungeons example app)
EXPECTED OUTPUT:
to see be buy page evertime
ACTUAL OUTPUT:
About 1 in 5 times: a few seconds long the loading screen of the buy page
overlay is displayed, then an alert dialog reports an network error. It does
not matter if we use 3G or WIFI. The Internet is used by the app right before
and after the request is made, the connection is stable and available all of
the time.
In the log file, it says "connection reset by peer":
06-08 11:59:11.073: DEBUG/vending(5754): [1]
BaseBuyPageActivity.onPostResponse(): {PurchaseResult=OK,
PurchaseInfo=PurchaseInfo=, SignupStatus=SIGNED_UP, TId=965567726868130,
ShoppingCart=[ItemPrice=3,99 €, TaxInclusive=, TaxExclusive=,
Total=3,99 €, HasTaxMessage=false, TaxMessage=null, HasFooterMessage=false,
FooterMessage=null], RefundPolicy=<b>Der Betrag für diesen In-App-Kauf kann
nicht erstattet werden.</b> <br/> <a
href="http://market.android.com/support/bin/answer.py?answer=1061913">Weitere
Informationen</a><br/><a
href="http://www.google.com/mobile/android/fsa-notification.html">Geregelt
durch Financial Services Authority (FSA, britische Bankenaufsichtsbehörde),
Großbritannien</a>, Instruments=[[Id=107222246370128, Name=VISA xxx-6482
Invalid=false Type=CREDIT_CARD] ], DefaultBillingInstrument=107222246370128,
ErrorFields=[]}
06-08 11:59:11.138: DEBUG/vending(5754): [1]
BaseBuyPageActivity.shouldAddCarrierBilling(): isProvisioned(): false
isSavedonServer(): false radio available? true
06-08 11:59:11.143: DEBUG/vending(5754): [1]
BaseBuyPageActivity.shouldAddCarrierBilling(): isProvisioned(): false
isSavedonServer(): false radio available? true
06-08 12:01:13.033: WARN/vending(5754): [36]
RequestDispatcher.performRequestsOverNetwork(): IOException while performing
API request: Connection reset by peer
06-08 12:01:13.048: DEBUG/vending(5754): [36] BaseAction.run(): IOException:
java.net.SocketException: Connection reset by peer
06-08 12:01:13.058: ERROR/vending(5754): [36]
BasePurchaseActivity.onPurchasePostError(): PurchasePost error
06-08 12:01:13.073: INFO/vending(5754): [1] BaseAction.displayErrorUi():
Network error in com.android.vending.billing.PurchasePostAction:
java.net.SocketException: Connection reset by peer
AFFECTED ORDER IDS (IF RELEVANT):
OS VERSION:
2.3.3
2.3.4
2.2.2
MARKET/MYAPPS VERSION:
2.3.6
DEVICE:
Samsung Galaxy Spica i5700
Sony Ericsson Arc
Google Nexus S
OUTPUT FROM ADB BUGREPORT ATTACHED:
see attachment.
NOTES:
Original issue reported on code.google.com by n.trie...@gmail.com on 8 Jun 2011 at 10:31
Original issue reported on code.google.com by
n.trie...@gmail.com
on 8 Jun 2011 at 10:31