google oauth实现网关超时错误

nwnhqdif  于 2021-07-03  发布在  Java
关注(0)|答案(0)|浏览(135)

我们正在aws elasticbeanstalk环境中开发一个应用程序,它使用google身份验证来使用google日历api。
在本地开发环境中,我们可以在控制台中记录:
请在浏览器中打开以下地址:
https://accounts.google.com/o/oauth2/auth?access_type=..... (它表示对于响应代码,请使用端口8888)尝试立即在默认浏览器中打开该地址
前面的链接打开了一个带有googleauthentication登录页的选项卡,应用程序的其余部分执行得很好。
然而,当我们在elasticbeanstalk环境中部署代码时,authentication选项卡从不加载并抛出“error 504 gateway timeout”,端口8888被阻塞。
任何关于为什么会发生这种情况的想法都将不胜感激。
我们正在使用:aws elasticbeanstalk、amazon linux、tomcat、java、spring
elasticbeanstal环境使用负载均衡器,我们在每个安全组(sg)、lb和示例上打开888TCP端口。
提前谢谢,
e

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题