{"action":"opened","issue":{"url":"https://api.github.com/repos/api-platform/api-platform/issues/692","repository_url":"https://api.github.com/repos/api-platform/api-platform","labels_url":"https://api.github.com/repos/api-platform/api-platform/issues/692/labels{/name}","comments_url":"https://api.github.com/repos/api-platform/api-platform/issues/692/comments","events_url":"https://api.github.com/repos/api-platform/api-platform/issues/692/events","html_url":"https://github.com/api-platform/api-platform/issues/692","id":324299505,"number":692,"title":"401 Unauthorized first time executing PUT Request","user":{"login":"cduran433","id":30924464,"avatar_url":"https://avatars0.githubusercontent.com/u/30924464?v=4","gravatar_id":"","url":"https://api.github.com/users/cduran433","html_url":"https://github.com/cduran433","followers_url":"https://api.github.com/users/cduran433/followers","following_url":"https://api.github.com/users/cduran433/following{/other_user}","gists_url":"https://api.github.com/users/cduran433/gists{/gist_id}","starred_url":"https://api.github.com/users/cduran433/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cduran433/subscriptions","organizations_url":"https://api.github.com/users/cduran433/orgs","repos_url":"https://api.github.com/users/cduran433/repos","events_url":"https://api.github.com/users/cduran433/events{/privacy}","received_events_url":"https://api.github.com/users/cduran433/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-18T07:27:48Z","updated_at":"2018-05-18T07:27:48Z","closed_at":null,"author_association":"NONE","body":"I am dealing with a strange issue, I have my API platform project hosted in Heroku and I am using fastly as Cache ( Varnish Cache). \r\n\r\nMy problem is that first time that I executed a PUT request, I get this error:\r\n\r\n \"hydra:description\": \"Client error: `BAN http://example.global.ssl.fastly.net` resulted in a `401 Unauthorized` response:\\n{\\\"code\\\":401,\\\"message\\\":\\\"JWT Token not found\\\"}\\n\",\r\n\r\nIf I try again then I don't have any error and is working correctly again. \r\n\r\nThis means that the cache servers are trying to invalidate the resource but is not able to \"login\".\r\n\r\n**Important: In my local environment is working fine.**\r\n\r\nAny ideas?\r\n\r\n"}}
{"actor":{"display_login":"cduran433"}}