8000 bug: 网关无法正常校验https证书 · Issue #160 · eolinker/apinto · GitHub
[go: up one dir, main page]

Skip to content

bug: 网关无法正常校验https证书 #160

Open

Description

@nnbbyy

Current Behavior

api 和上游都配置正常
请求网关api
返回
tls: failed to verify certificate: x509: cannot validate certificate for 0.0.0.0 because it doesn't contain any IP SANs

0.0.0.0是我服务器的ip

curl --location 'https://api.trongrid.io/wallet/createtransaction'
--header 'Content-Type: application/json'
--data '{
"to_address": "41D3136787E667D1E055D2CD5DB4B5F6C880563049",
"owner_address": "417946F66D0FC67924DA0AC9936183AB3B07C81126",
"amount": 10000000
}'

服务器使用该命令测试 目标节点请求返回是正常的

Expected Behavior

No response

Error Logs

tls: failed to verify certificate: x509: cannot validate certificate for 0.0.0.0 because it doesn't contain any IP SANs

Steps to Reproduce

通过容器运行的控制面板 ,手动安装的0.17.2版本网关服务,上游目标节点的URL:https://api.trongrid.io/wallet/createtransaction

Environment

  • APINTO version (run apinto version):0.17.2
  • Operating system (run uname -a): CentOS 7.9.2009 x86_64(Py3.7.9)

Activity

  1. Dot-Liu commented on Jun 18, 2024

    @Dot-Liu
    Collaborator

    麻烦提供一下上游的配置信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0