apache / openwhisk-package-alarms

Apache OpenWhisk package that can be used to create periodic, time-based alarms.
https://openwhisk.apache.org/
Apache License 2.0
24 stars 49 forks source link

Hardcoded HTTPS used on uriHost causing SSL error #240

Open mretallack opened 9 months ago

mretallack commented 9 months ago

The Utils.js has a hardcoded https as the prefix for this.uriHost:

https://github.com/apache/openwhisk-package-alarms/blob/63d0798761444a7257adcc87fdc8929d44946802/provider/lib/utils.js#L49

This means that when using an internal routerHost within k8S, the trigger fails with a:

SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:\n","stack":"Error: write EPROTO 139863444719424:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332