dotnet / dotnet/aspnetcore

SignalR not connecting in react-native 0.80.x update

Open
#63,841 2 comments 0 reactions 0 assignees View on GitHub
area-signalr
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

Error: Failed to start the connection: TypeError: Cannot assign to property '**pathname**' which has only a getter

Image

Error created from :: **HttpConnection.js:216**

Upon further inspection this error occurs in **_resolveNegotiateUrl** function on line **473** & **476** in the file **HttpConnection.js**

Image

Current Package.json
"react": "**19.1.0**",
"react-native": "**0.80.2**",
"react-native-url-polyfill": "**3.0.0**"

We recently updated our project from
"react-native": "**0.75.5**" to "react-native": "**0.80.2**"
&
"react": "**18.3.1**" to "react": "**19.1.0**",

### Expected Behavior

_No response_

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.