redirecting in onRequest throws Cannot read property 'isOriginMatch' of null #3813
Comments
I am also experiencing this issue. In my case, one route handler calls the handler of another route under certain conditions. When those conditions are met, the "redirect" happens and I get the same |
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have a https redirect plugin that onRequest, if not https, then redirect to https (https://github.com/bendrucker/hapi-require-https). As of 17.5.3, this causes the server to crash. I pinned our server back to 17.5.2 and there was no issue.
Here is example stack trace
more context: outmoded/discuss#704
The text was updated successfully, but these errors were encountered: