CodeDeploy will not accept GitHub OAuth when instance is in a different region

1

I am at my wits end here. I am trying to set up a CodeDeploy deployment with my EC2 instance for GitHub, but whenever I try to verify the token name it either says "There seems to be a problem with your session" or when I clear cookies and try changing the region, it will show the correct window but it doesn't respond after hitting the "Confirm" button. In the URL I can see that the pop up window for the connection is using a "us-west-1" region, but the EC2 and CodeDeploy appication is set up in "us-east-1". When I do clear cookies and it shows the correct window and then I hit the "Commit" button, nothing happens but the console shows this error:

Uncaught DOMException: Permission denied to access property "signalGitHubFinished" on cross-origin object

Which makes me think this is a CORS issue between the regions. I did find a similar issue like this way back in 2015 but it was resolved with someone saying "This issue is fixed now". But it's clearly not fixed for me. PLEASE HELP.

ben
已提問 2 年前檢視次數 106 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南