This happens if we edit the generated webhook manually from the GitHub site. 
Sometimes the callBackUrl will be slightly changed if you just pressed the edit 
button of the webhook (whether you did any changes or not).

The callBackUrl which GitHub package sends to create the webhook includes the 
TCP port name 443.  But if we try to edit the webhook, GitHub will remove the 
port name (which is not mandatorily needed to find the trigger location) from 
the callBackUrl. When the package tries to delete the webhook, they look for 
the previous callbackUrl and it is not available anymore causing a failure in 
deleting the webhook.
If we can update the git package to generate the callBackUrl without the port 
name, then we can mitigate this problem.

**Example callBackUrls**
before edit: 
`https://auth@apihost:443/api/v1/namespaces/_/triggers/myGitTrigger`
after edit: `https://auth@apihost/api/v1/namespaces/_/triggers/myGitTrigger`

[ Full content available at: 
https://github.com/apache/incubator-openwhisk-catalog/issues/252 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org

Reply via email to