Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/vba/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot AWS ELB上的Spring Boot应用程序响应时间过长_Spring Boot_Amazon Elastic Beanstalk_Connection Timeout - Fatal编程技术网

Spring boot AWS ELB上的Spring Boot应用程序响应时间过长

Spring boot AWS ELB上的Spring Boot应用程序响应时间过长,spring-boot,amazon-elastic-beanstalk,connection-timeout,Spring Boot,Amazon Elastic Beanstalk,Connection Timeout,我目前是AWS新手,尝试在免费层部署Spring Boot+MYSql。一切似乎都很好,健康状况良好。但每次我到环境中,我都会看到这个错误: 已检查完整日志中的错误,但没有错误。这是我的入站规则: 我还将此添加到了我的应用程序中。属性: server.port=5000 server.use-forward-headers=true 已经提到了一些问题,如和其他一些问题,但似乎对我的问题不起作用。我不知道是ELB中的配置还是我的代码中的配置。应用程序正在本地运行。真的希望你能帮助我。非常感

我目前是AWS新手,尝试在免费层部署Spring Boot+MYSql。一切似乎都很好,健康状况良好。但每次我到环境中,我都会看到这个错误:

已检查完整日志中的错误,但没有错误。这是我的入站规则:

我还将此添加到了我的应用程序中。属性:

server.port=5000
server.use-forward-headers=true

已经提到了一些问题,如和其他一些问题,但似乎对我的问题不起作用。我不知道是ELB中的配置还是我的代码中的配置。应用程序正在本地运行。真的希望你能帮助我。非常感谢。

当您将ssh连接到您的EB实例并在端口
5000
curl localhost:5000
,它能工作吗?类似地,如果在端口80上卷曲它会发生什么?