GCP API网关SSLV3_ALERT_HANDSHAKE_FAILURE
I'm trying to create a small project to get to know the google cloud API gateway better.
I've created a gateway with the below config file that suppleid with the gateway docs and I made some adjustments according to my needs.
swagger: '2.0'
info:
title: test gateway YAML
description: test API Gateway
version: 1.0.0
schemes:
- https
produces:
- application/json
paths:
/stackoverflow:
get:
summary: get stackoverflow
operationId: stackoverflow
x-google-backend:
address: https://stackoverflow.com
responses:
'200':
description: A successful response
schema:
type: string
/other_web:
get:
summary: get Other
operationId: Other_web
x-google-backend:
address: https://Other_web.com
responses:
'200':
description: A successful response
schema:
type: string
当我访问https:// gateway_url/stackoverflow路线时,一切都按预期工作,并且我获取stackoverflow主页。
当我访问https:// gateway_url/other_web路线ive时,我得到了此错误:
{
"code": 503,
"message": "upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: TLS error: 268436496:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE 268435610:SSL routines:OPENSSL_internal:HANDSHAKE_FAILURE_ON_CLIENT_HELLO"
}
这很奇怪,因为当我直接访问https://other_web.com(通过chrome/postman)而不是通过网关,我得到了该页面且未显示错误。就通过网关,我会遇到这些错误。 有什么想法,为什么会发生这种情况?
谢谢大家:)
I'm trying to create a small project to get to know the google cloud API gateway better.
I've created a gateway with the below config file that suppleid with the gateway docs and I made some adjustments according to my needs.
swagger: '2.0'
info:
title: test gateway YAML
description: test API Gateway
version: 1.0.0
schemes:
- https
produces:
- application/json
paths:
/stackoverflow:
get:
summary: get stackoverflow
operationId: stackoverflow
x-google-backend:
address: https://stackoverflow.com
responses:
'200':
description: A successful response
schema:
type: string
/other_web:
get:
summary: get Other
operationId: Other_web
x-google-backend:
address: https://Other_web.com
responses:
'200':
description: A successful response
schema:
type: string
when I'm visiting the https://GATEWAY_URL/stackoverflow route everything works as As expected and im getting the stackoverflow homepage.
When I'm visiting the https://GATEWAY_URL/other_web route ive got this error:
{
"code": 503,
"message": "upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: TLS error: 268436496:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE 268435610:SSL routines:OPENSSL_internal:HANDSHAKE_FAILURE_ON_CLIENT_HELLO"
}
That is odd because when im visiting https://Other_web.com directly (through chrome/postman) and not through the gateway I got the page and no error is shown. just through the Gateway, I'm getting these errors.
Any ideas why this is happening ?
thank you all :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论