Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Net.Http.HttpRequestException: Unexpected status line: HTTP/1.1 304 Not Modified throwing with ArcGISHttpClientHandler+NativeHttpMessageHandler.SendAsync #426

Open
boobalank-dsrc opened this issue Jun 1, 2022 · 2 comments

Comments

@boobalank-dsrc
Copy link

An exception is thrown while calling Attachment.GetDataAsync(); for retrieves attachment's data of the Asset but not able to recreate the same issue again. issue came with android.please resolves this issue.

Esri.ArcGISRuntime.Data.Attachment.GetDataAsync();

ArcGISHttpClientHandler+NativeHttpMessageHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken, System.Boolean isRetry)
System.Net.Http.HttpRequestException: Unexpected status line: HTTP/1.1 304 Not Modified

Nuget version used:
Esri.ArcGISRuntime.Xamarin.Forms 100.13.0
Esri.ArcGISRuntime.Toolkit.Xamarin.Forms 100.13.0
Xamarin.Forms 5.0.0.2337

Device used:
Galaxy S10+ (Android 12)

@nCastle1
Copy link
Contributor

nCastle1 commented Aug 5, 2022

I would like to help, but I need additional information. Which Toolkit component were you using when you saw this exception? What data source/service were you using? Has this only happened once, or is it a recurring issue?

@vendhan-dsrc
Copy link

this issue appearing randomly. We get the attachments from arcgisfeature. And trying to get the stream from attachments using arcgis method for displaying the images. we used Esri.ArcGISRuntime.Toolkit.Xamarin.Forms 100.13.0 from ArcGIS Runtime API for .NET.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants