Bug 29611 - StockService monodroid-sample experiencing error connecting to web service
Summary: StockService monodroid-sample experiencing error connecting to web service
Status: CONFIRMED
Alias: None
Product: Android
Classification: Xamarin
Component: General (show other bugs)
Version: 5.1
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2015-04-30 12:52 UTC by Ben Beckley
Modified: 2015-04-30 13:49 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Ben Beckley 2015-04-30 12:52:39 UTC
This sample is not able to connect to the web services that it requires to work as intended. This error is reproducible on XA master 5.1.99-222 / f4b67981 but not reproducible on XA master 5.1.99-207 / 52456eda. The error in the application output and logcat is as follows :

> D/StockService(23299): error connecting to web service: Error getting response stream (ReadDone1): ReceiveFailure
> D/StockService(23299): stocks is null
> D/StockService(23299): error connecting to web service: Error getting response stream (ReadDone2): ReceiveFailure
> D/StockService(23299): stocks is null

full logcat : https://gist.github.com/BenBeckley/d2cfa42a890d6774d88a

Reproduction Steps:
1) Install XA 5.1.99-222 or higher (confirmed up to build 232).
2) Run monodroid-sample StockService
4) Observe that the ListView is not populated with stock listings
3) Observe error connecting to web serive in application output
Comment 1 Naqeeb 2015-04-30 13:49:09 UTC
I have checked this issue with sample 'StockService' and able to reproduce it successfully. To reproduce this issue I have followed steps
given in bug description. I am also getting same error. Please refer same as screencast: http://www.screencast.com/t/iqvES3bild

Application Output: https://gist.github.com/Shruti360/a17e760ee4313ac30d42
adb log: https://gist.github.com/Shruti360/5b6827f3e41eae8f7a19
Ide log: https://gist.github.com/Shruti360/67105de12339fd8878bc

Environment info: 
=== Xamarin Studio ===

Version 5.9 (build 456)
Installation UUID: 2939b8b4-8977-42bd-82d6-100275ccd9cd
Runtime:
	Mono 4.0.0 ((detached/d136b79)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400000143

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: 8.10.0.267 (Enterprise Edition)
Hash: 6481535
Branch: master
Build date: 2015-04-27 04:38:13-0400

=== Xamarin.Android ===

Version: 5.1.99.222 (Enterprise Edition)
Android SDK: /Users/360_macmini/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.0.0.262 (Enterprise Edition)

=== Build Information ===

Release ID: 509000456
Git revision: 2666387bc794c06828a59aa95d2435714f732b12
Build date: 2015-04-29 08:16:42-04
Xamarin addins: df9b5918c9f7aca6da509fe3e5a62553aa101910

=== Operating System ===

Mac OS X 10.9.4
Darwin 360-MACMINIs-Mac-mini-2.local 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64

Note You need to log in before you can comment on or make changes to this bug.