Skip to content

SignalR not connecting in react-native 0.80.x update #63841

@RaghavStepron

Description

@RaghavStepron

Is there an existing issue for this?

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-signalrIncludes: SignalR clients and servers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions