V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
chaleaochexist
V2EX  ›  程序员

请教一个 kong 有关的问题.

  •  
  •   chaleaochexist · Oct 24, 2022 · 1689 views
    This topic created in 1285 days ago, the information mentioned may be changed or developed.
    1. kong 启动几天之后, 会随机出现某一个 http 请求 pending. 永远 pending.
    2. 我们自定义了一些 plugin, 如果把这些插件关掉无法重现这个问题.
    3. 看起来和插件的代码无关, 因为不是某个插件会导致这个问题. 而且从 log 上看, 插件已经收到了请求,并且返回了正确的逻辑.
    4. 插件是用 go 写的.
    5. 因为 pending 的 http 请求是随机的. 所以也不是 upstream 的问题.

    感觉像是 kong 和 plugin 之间的通信问题.

    go-pdf 0.6.1 kong 是最新版本.

    试着问问.

    4 replies    2024-03-29 13:57:32 +08:00
    JerAxxxx
        1
    JerAxxxx  
       Oct 25, 2022
    go 写插件相较于 lua 有什么优势吗,我记得 go 的插件在 Windows 上好像不能 build 。。
    chaleaochexist
        2
    chaleaochexist  
    OP
       Oct 25, 2022
    @JerAxxxx 么有. 想用 go 写.
    lua 不会写.
    DingJZ
        3
    DingJZ  
       Mar 26, 2024
    请问后来解决了吗
    chaleaochexist
        4
    chaleaochexist  
    OP
       Mar 29, 2024
    @DingJZ 没有. 后来 我不负责这部分了.
    最后原因是否解决我不确定.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   775 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 21:36 · PVG 05:36 · LAX 14:36 · JFK 17:36
    ♥ Do have faith in what you're doing.