{"action":"created","issue":{"url":"https://api.github.com/repos/openfaas/faas/issues/642","repository_url":"https://api.github.com/repos/openfaas/faas","labels_url":"https://api.github.com/repos/openfaas/faas/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/openfaas/faas/issues/642/comments","events_url":"https://api.github.com/repos/openfaas/faas/issues/642/events","html_url":"https://github.com/openfaas/faas/issues/642","id":314012606,"number":642,"title":"Azure function invocation failing with a-sync callback","user":{"login":"CentricStraaten","id":17175831,"avatar_url":"https://avatars2.githubusercontent.com/u/17175831?v=4","gravatar_id":"","url":"https://api.github.com/users/CentricStraaten","html_url":"https://github.com/CentricStraaten","followers_url":"https://api.github.com/users/CentricStraaten/followers","following_url":"https://api.github.com/users/CentricStraaten/following{/other_user}","gists_url":"https://api.github.com/users/CentricStraaten/gists{/gist_id}","starred_url":"https://api.github.com/users/CentricStraaten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CentricStraaten/subscriptions","organizations_url":"https://api.github.com/users/CentricStraaten/orgs","repos_url":"https://api.github.com/users/CentricStraaten/repos","events_url":"https://api.github.com/users/CentricStraaten/events{/privacy}","received_events_url":"https://api.github.com/users/CentricStraaten/received_events","type":"User","site_admin":false},"labels":[{"id":850118088,"url":"https://api.github.com/repos/openfaas/faas/labels/support","name":"support","color":"b85ffc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-04-13T08:22:16Z","updated_at":"2018-04-25T18:46:32Z","closed_at":"2018-04-13T14:33:34Z","author_association":"NONE","body":"I implemented OpenFaas on Azure AKS. \r\nI used https://github.com/openfaas/faas-netes as a source. All works fine. \r\nOnly the a-sync call-back functionality doesn't work.\r\n\r\n## Expected Behaviour\r\n\r\n> I added a X-Callback-Url to the header with an URL to an Azure Function. \r\n> I expect the Function to call the callback URL when the routine ends.\r\n\r\n## Current Behaviour\r\n\r\n> The Azure Function works. \r\n> The OpenFaas function returns a when called a-sync 202 Status, but doens'nt call the Azure Function (callback URL)\r\n\r\n## Possible Solution\r\n\r\n> I have looked at the documentation on https://github.com/openfaas/faas/blob/master/guide/asynchronous.md. The problem is that i don't have the yml files mentioned in the instruction.\r\n\r\n## Steps to Reproduce (for bugs)\r\n\r\n> 1. http://cenaks01.westeurope.cloudapp.azure.com:8080/async-function/timefunction (expects an number in the body)\r\n> 2. https://cencept-functions.azurewebsites.net/api/OpenFaasSMS?code=U1DZSiP0Ygcrh5anUgGdBQ705wz5LktE2AHtkaTqQCXGE80scnoHsw==&clientId=default&receiver=0612345678\r\n> 3. curl --header X-Callback-Url: https://cencept-functions.azurewebsites.net/api/OpenFaasSMS?code=U1DZSiP0Ygcrh5anUgGdBQ705wz5LktE2AHtkaTqQCXGE80scnoHsw==&clientId=default&receiver=0653373439 --data 1 http://cenaks01.westeurope.cloudapp.azure.com:8080/async-function/timefunction\r\n\r\n## Context\r\n\r\n> I want to have a callback for async calls to check the result status.\r\n\r\n## Your Environment\r\n\r\n> Kubernetes (FaaS-netes) on Azure AKS\r\n\r\n\r\n* Link to your project or a code example to reproduce issue:\r\n\r\n* Please also follow the [troubleshooting guide](https://github.com/openfaas/faas/blob/master/guide/troubleshooting.md) and paste in any other diagnostic information you have:\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openfaas/faas/issues/comments/384393859","html_url":"https://github.com/openfaas/faas/issues/642#issuecomment-384393859","issue_url":"https://api.github.com/repos/openfaas/faas/issues/642","id":384393859,"user":{"login":"BurtonR","id":12687192,"avatar_url":"https://avatars0.githubusercontent.com/u/12687192?v=4","gravatar_id":"","url":"https://api.github.com/users/BurtonR","html_url":"https://github.com/BurtonR","followers_url":"https://api.github.com/users/BurtonR/followers","following_url":"https://api.github.com/users/BurtonR/following{/other_user}","gists_url":"https://api.github.com/users/BurtonR/gists{/gist_id}","starred_url":"https://api.github.com/users/BurtonR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurtonR/subscriptions","organizations_url":"https://api.github.com/users/BurtonR/orgs","repos_url":"https://api.github.com/users/BurtonR/repos","events_url":"https://api.github.com/users/BurtonR/events{/privacy}","received_events_url":"https://api.github.com/users/BurtonR/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T18:46:32Z","updated_at":"2018-04-25T18:46:32Z","author_association":"MEMBER","body":"Hi @CentricStraaten! Were you able to resolve your issue? Could you share what you did, or when you realized what the problem was?\r\n\r\nI'd recommend starting up a Play With Docker session (https://labs.play-with-docker.com/) and running the deployment one liner to get started in a fresh, clean environment. When you start a session, just follow the steps in the [Swarm Deployment Guide](https://docs.openfaas.com/deployment/docker-swarm/). This way you can be sure OpenFaaS and your functions work as expected before getting into more complex things.\r\n\r\nIf you need to test on Kubernetes you could try a local [Kubernetes deployment with MiniKube](https://medium.com/devopslinks/getting-started-with-openfaas-on-minikube-634502c7acdf). Just to make sure that there isn't some other process/app/networking issue causing your troubles"}}
{"actor":{"display_login":"BurtonR"}}