Closed cgatesman closed 5 years ago
Further investigating, this appears to be an issue in oppsy. As a workaround, I am able to turn it off with ops: false
. I will create an Issue in the oppsy project.
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.
hapi: 17.5.4 good: 8.1.1 good-squeeze: 5.1.0
My application crashes with an unhandled promise rejection when using good along with a takeover redirect in a
onRequest
.Although I'm not using it, a simple example of this is to use hapi-require-https and don't setup https:
My current good configuration is as follows, but it doesn't seem to matter how simple I make it. The crash always occurs:
With this setup, when you hit your application using
http
, it crashes with an unhandled promise rejection when it tries to redirect (301) to https: