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
XML parsing error: Hub reply does not define a root element #4075
Comments
I'm experiencing the same issue. |
Having the same issue too... |
Same here. It seemed to not be this way not but yesterday. Then I changed my hubs to reduce the number of methods. In fact, eliminating all methods because only want to emit events. I tried adding methods, to see if the XML changed, but no dice. |
Using .NET MVC SIGNALR and jquery signalR 2.2.2 and, in firefox, getting following in console... XML Parsing Error: no root element found This seems to then stop any SIGNALR messaging for the browser. |
2.2.3 - same issue. It seems like SignalR for asp.net is a forgotten project... |
@omaximenco It's definitely not forgotten. It's in NPM without jQuery. As the new Core version. |
@molo9966 Apparently, firefox is losing the connection right after the first connection attempt, the only fix i found was to call the connection function after the disconnection is detected |
lol I think the right fix is not to use jQuery (which is exactly how the new signalR works). But again, if jquery for this version is a must, then the underlying request needs to specify the expected return type as text if no data is to be returned and only a 200. |
This was fixed in a0b4b4b |
I'm replicating the issue reported in the SignalR Core repo
I'm getting the same issue on FF when SignalR calls the close function. I'm getting this when the page is unloaded. It's not a big deal, but nobody like getting errors on the dev tools.
The text was updated successfully, but these errors were encountered: