[Android]MessagePack Exception:The transport does not support the 'Binary' transfer
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
### Description
I am using SignalR to connect to a server, but there is an exception when using MessagePack.
Comment out line 15,'Exception' no longer pops up
Exception.Message:
Unable to connect to the server with any of the available transports. (ServerSentEvents failed: The transport does not support the 'Binary' transfer format.) (LongPolling failed: Error while copying content to a stream.)
### Steps to Reproduce
1. Open /Issue24710/Issue24710.sln
2. deployment the project
3. Click "Click me"
4. Then an 'exception' message will appear
### Link to public reproduction project repository
https://github.com/BaY1251/MauiDebug.git
### Version with bug
8.0.82 SR8.2
### Is this a regression from previous behavior?
Not sure, did not test other versions
### Last version that worked well
Unknown/Other
### Affected platforms
Android
### Affected platform versions
Android7.1
### Did you find any workaround?
_No response_
### Relevant log output
StackTrace:
```
at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.SelectAndStartTransport(TransferFormat transferFormat, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.StartAsyncCore(TransferFormat transferFormat, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.StartAsync(TransferFormat transferFormat, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsyncCore(CancellationToken cancellationToken)
at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsyncInner(CancellationToken cancellationToken)
at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsync(CancellationToken cancellationToken)
```
Contributor guide
Assessment
This issue has not been assessed yet.