2020-06-25 08:08:08 UTC - Manuel Coppotelli: Hi all https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593072488011000 ---- 2020-06-25 08:08:34 UTC - Manuel Coppotelli: I get the following error using `/whisk.system/alarms/alarm` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593072514011600 ---- 2020-06-25 08:08:38 UTC - Manuel Coppotelli: ```Error: Deployment did not complete sucessfully. Run `wskdeploy undeploy` to remove partially deployed assets. Error: servicedeployer.go [1804]: [ERROR_WHISK_CLIENT_ERROR]: Error code: 246: The following application error was received: {}: HTTP Response Status: application error HTTP Response Body: {"activationId":"15402ec5b6354f9c802ec5b6352f9c33","annotations":[{"key":"path","value":"whisk.system/alarms/alarm"},{"key":"waitTime","value":2299},{"key":"kind","value":"nodejs:6"},{"key":"timeout","value":false},{"key":"limits","value":{"concurrency":1,"logs":10,"memory":256,"timeout":60000}},{"key":"initTime","value":301}],"duration":359,"end":1593071782739,"logs":[],"name":"alarm","namespace":"guest","publish":false,"response":{"result":{"error":{"code":"ENOTFOUND","errno":"ENOTFOUND","host":"https","hostname":"https","message":"getaddrinfo ENOTFOUND https https:443","name":"Error","port":443,"stack":"Error: getaddrinfo ENOTFOUND https https:443\n at errnoException (dns.js:28:10)\n at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)","syscall":"getaddrinfo"}},"size":344,"status":"application error","success":false},"start":1593071782380,"subject":"guest","version":"0.0.1"}``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593072518012000 ---- 2020-06-25 08:08:54 UTC - Manuel Coppotelli: Can you help me spotting the problem? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593072534012500?thread_ts=1593072534.012500&cid=C3TPCAQG1 ---- 2020-06-25 08:11:27 UTC - Nikolai Starodubtcev: I can help. Follow this thread: <https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1591799442406100?thread_ts=1591799442.406100> +1 : Dominic Kim https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593072687013300?thread_ts=1593072534.012500&cid=C3TPCAQG1 ---- 2020-06-25 08:12:19 UTC - Dominic Kim: It seems the error happens while the alarm provider tried to invoke the trigger and it could not resolve the endpoint. How about removing `https` from the endpoint? You may find this useful. <https://stackoverflow.com/questions/17690803/node-js-getaddrinfo-enotfound> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593072739014300?thread_ts=1593072739.014300&cid=C3TPCAQG1 ---- 2020-06-25 08:14:00 UTC - Nikolai Starodubtcev: Here is original issue: <https://github.com/apache/openwhisk-deploy-kube/issues/608> Also, here is my 2 patches to alarms and kafka packages: <https://github.com/apache/openwhisk-package-kafka/pull/370> <https://github.com/apache/openwhisk-package-alarms/pull/219> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593072840014600?thread_ts=1593072534.012500&cid=C3TPCAQG1 ---- 2020-06-25 08:14:44 UTC - Nikolai Starodubtcev: However, IDK the way how to update `whisk.system` packages on existing installation. @Dominic Kim can you help? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593072884014800?thread_ts=1593072534.012500&cid=C3TPCAQG1 ---- 2020-06-25 08:14:50 UTC - Manuel Coppotelli: > removing `https` from the endpoint…. What endpoint are you referring to? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593072890015000?thread_ts=1593072739.014300&cid=C3TPCAQG1 ---- 2020-06-25 08:18:03 UTC - Nikolai Starodubtcev: The idea is in an API endpoint. AFAIK it's not easy/possible to strip `https` from it, because `alarms` package does tricky magic when constructed an URL https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593073083015300?thread_ts=1593072739.014300&cid=C3TPCAQG1 ---- 2020-06-25 08:18:54 UTC - Manuel Coppotelli: In my case the `apihost` parameter is set correctly https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593073134015500?thread_ts=1593072739.014300&cid=C3TPCAQG1 ---- 2020-06-25 08:19:08 UTC - Manuel Coppotelli: moreover the endpoint still contains https and it is active https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1593073148015700?thread_ts=1593072739.014300&cid=C3TPCAQG1 ----
