-
Notifications
You must be signed in to change notification settings - Fork 88
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
ERR_SPDY_PROTOCOL_ERROR #110
Comments
I've also started some TS declarations that you might be interested in as per #93 |
About ERR_SPDY_PROTOCOL_ERROR - for example https://www.wiknix.com/solved-err_spdy_protocol_error-in-chrome/ I think it's external problem. About TS - you are welcome, make PR 👍 |
Also you can't try error with try/catch const onEnterScoring = (
nextState: RouterState,
replace: RedirectFunction,
dispatch: Dispatch<any>,
getState: Function,
callback?: Function
) => {
const {id} = nextState.params;
const {events} = scoringApi.actions;
//try {
const request =
events.sync({fixtureId: id})(dispatch, getState, null, callback);
// if you want to catch error
request.catch((e)=> {
console.error(e);
});
//} catch (e) {
// do nothing
//}
//callback(); - callback should be call by sync
}; |
Thanks for the reply. It also fails in Firefox, so it's not only Chrome. In Firefox, it comes up as "Aborted" in the Firebug net tab. Even if it was a browser issue, it can't explain why |
Your code looks like working. To understand reasons of error we need to go deeper and need more context. Redux-api makes the same fetch calls. |
I'm using HTTPS with self-signed certificates. Could that have any bearing? |
I think, yes. Because redux-api with fetch adapter in the end makes |
The endpoint I'm calling is also HTTPS. |
LOL it was a typo
There should be no |
Hi
I'm trying to integrate
redux-api
into an existing application. When I try to dispatch async
action, I get aERR_SPDY_PROTOCOL_ERROR
in the console.Any ideas what could be causing this?
fetch
works just fine outside ofredux-api
.I can see two dispatched actions in redux. One for the initial request action, then a failed request action.
The text was updated successfully, but these errors were encountered: