-
-
Notifications
You must be signed in to change notification settings - Fork 6
ASP.NET Core - iOS Specific - Unable to read beyond the end of the stream #942
Comments
It is hard to help without the full |
Thank you for looking into it. The following is the complete ex.ToString(). The AppServerCore project is setup similar to ProjectTracker 5.1. I receive the following only on connecting from iOS
|
That's not so easy to troubleshoot, sadly there are a number of possible issues I can think of.
I'd recommend putting Fiddler on the wire so you can see exactly what is going over the network. |
Thanks Rocky! What's a bit baffling is that, I've setup duplicate Dataportals in Azure in .NET 4.7 and .NET Core 3.1, based on samples and only the following single case gives an exception.
|
Agreed, I don't know what is going on. I assume you've done some searching to find out of I suppose you could try the gRPC data portal channel and see if that's any different. I suspect not though, because I have a hunch that gRPC might use |
You might be running into App Transport Security. Is your dataportal connection using HTTPS with at least TLS 1.2? If not have you added your endpoint as an exception in the info.plist? See the following: Edit to add: The MS docs are wrong on the defaults. New projects use NSUrlSession for the underlying handling of HttpClient which will run into ATS restrctions. |
Hi! After seeing a related post I tried to reproduce it with Project Tracker and log the raw response using Fiddler -
|
Question
Hi! I've the Dataportal hosted in ASP.NET Core. Trying to connect from Android works fine, but when attempted to connect from iOS I get the above error. Wanted to check if can give provide some insights into it.
Version and Platform
CSLA version: 5.1
OS: iOS, ASP.NET Core
The text was updated successfully, but these errors were encountered: