Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.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 Google Cloud运行托管的Spring Boot Web Flux应用程序通过Google Cloud端点访问问题_Spring Boot_Spring Webflux_Google Cloud Endpoints_Google Cloud Run_Google Cloud Endpoints V2 - Fatal编程技术网

Spring boot Google Cloud运行托管的Spring Boot Web Flux应用程序通过Google Cloud端点访问问题

Spring boot Google Cloud运行托管的Spring Boot Web Flux应用程序通过Google Cloud端点访问问题,spring-boot,spring-webflux,google-cloud-endpoints,google-cloud-run,google-cloud-endpoints-v2,Spring Boot,Spring Webflux,Google Cloud Endpoints,Google Cloud Run,Google Cloud Endpoints V2,我已经将springbootwebflux应用程序部署到googlecloudrun上,并通过googlecloudendpoints访问它。当通过Google ESP V2访问后端端点时,即使传递了有效的访问令牌,也会出现401错误 根据应用程序后端日志,虽然应用程序后端没有安全实现,但错误正在从应用程序后端传递。我可以直接调用应用程序后端,而无需任何访问令牌,而且工作正常 我用Tomcat容器尝试了相同的应用程序,将WebFlux实现更改为常规的Spring引导实现。然后,它可以通过谷歌云端

我已经将
springbootwebflux
应用程序部署到
googlecloudrun
上,并通过
googlecloudendpoints
访问它。当通过
Google ESP V2
访问后端端点时,即使传递了有效的访问令牌,也会出现401错误

根据应用程序后端日志,虽然应用程序后端没有安全实现,但错误正在从应用程序后端传递。我可以直接调用应用程序后端,而无需任何访问令牌,而且工作正常

我用Tomcat容器尝试了相同的应用程序,将WebFlux实现更改为常规的Spring引导实现。然后,它可以通过
谷歌云端点
进行访问


我假设
springbootwebflux(Netty)
不能正常使用
googleesp V2
。请提供任何建议。

您能提供您的服务说明(OpenAPI 2.0 yaml文件)吗?