V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
kaiger
V2EX  ›  V2EX

求助,关于 V 站 API 使用。

  •  
  •   kaiger · 2022-09-21 12:03:55 +08:00 · 1328 次点击
    这是一个创建于 554 天前的主题,其中的信息可能已经有所发展或是发生改变。

    命令

    curlie https://www.v2ex.com/api/v2/notifications -H "Authorization: Bearer c22013bd-xxxx-xxxx-xxxx-fe7b0b6a0e33" -v
    

    输出

    *   Trying 104.20.10.218:443...
    * Connected to www.v2ex.com (104.20.10.218) port 443 (#0)
    * ALPN, offering h2
    * ALPN, offering http/1.1
    * TLSv1.0 (OUT), TLS header, Certificate Status (22):
    
    * TLSv1.3 (OUT), TLS handshake, Client hello (1):
    * OpenSSL SSL_connect: Connection reset by peer in connection to www.v2ex.com:443 
    * Closing connection 0
    * TLSv1.0 (OUT), TLS header, Unknown (21):
    * TLSv1.3 (OUT), TLS alert, decode error (562):
    curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to www.v2ex.com:443 
    

    大佬们有什么解决办法吗。

    2 条回复    2022-09-21 12:29:07 +08:00
    zpfhbyx
        1
    zpfhbyx  
       2022-09-21 12:26:43 +08:00   ❤️ 1
    要不你试试梯子?
    kaiger
        2
    kaiger  
    OP
       2022-09-21 12:29:07 +08:00
    @zpfhbyx #1

    多谢,确实是梯子的问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1150 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 18:32 · PVG 02:32 · LAX 11:32 · JFK 14:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.