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
abort
method received a 403 error when stop connection on client side
#4567
Comments
Can you share the network trace for the abort request (specifically headers) from 2.4.1 and 2.4.2? |
It looks like we stopped respecting |
@shixiliufanglzh Can you test adding |
Hi @halter73. We also have run into this issue (in our case, with a different error response, but still the same issue), and have found that your proposed fix #4567 (comment) does fix this issue for us. Do you have any idea how long it could take for this fix to get included in the next release? Thanks, |
@halter73 @BrennanConroy |
2.4.3 is released with the fix for this issue, we're keeping the issue open to track adding a test. |
After updating the version of this package from 2.4.1 to 2.4.2, once I call
connection.stop()
on client side, an error will be print on console panel as below screenshot:I just create the connection after app initialized
this.connection = this._signalR.createConnection({url: this.electron.appConfig.baseUrl});
this.connection.start();
and then call stop method manually
this.connection.invoke('Logout');
setTimeout(() => {
this.connection.stop();
this.router.navigateByUrl('/login');
}, 3000);
Then the connection will not be disconnected as expected.
but when I rollback the version to 2.4.1, everything worked normally.
The text was updated successfully, but these errors were encountered: