8000 bug: 附带额外参数应用上线后,文件上传请求报错 opied 0 bytes from body stream instead of 7094 bytes · Issue #233 · eolinker/apinto · GitHub
[go: up one dir, main page]

Skip to content

bug: 附带额外参数应用上线后,文件上传请求报错 opied 0 bytes from body stream instead of 7094 bytes #233

Closed

Description

@next-evolve-x

Current Behavior

附带额外参数应用上线后,文件上传请求报错 opied 0 bytes from body stream instead of 7094 bytes

Expected Behavior

正常请求

Error Logs

[2025-12-25 10:05:46] [DEBU] [worker-3480]CheckMatcher::Match(0)path=/file/upload
[2025-12-25 10:05:46] [DEBU] [worker-3480]match has:8499
[2025-12-25 10:05:46] [DEBU] [worker-3480]start monitor...
[2025-12-25 10:05:46] [DEBU] [worker-3480]auth beginning
[2025-12-25 10:05:46] [DEBU] [worker-3480]start auth...
[2025-12-25 10:05:46] [DEBU] [worker-3480]application name is anonymous
[2025-12-25 10:05:46] [DEBU] [worker-3480]After: HeapAlloc=10.01 MB
[2025-12-25 10:05:46] [ERRO] [worker-3480]http upstream send error: copied 0 bytes from body stream instead of 7094 bytes
[2025-12-25 10:05:46] [ERRO] [worker-3480]copied 0 bytes from body stream instead of 7094 bytes
[2025-12-25 10:05:46] [DEBU] [worker-3480]label name: api label value: 0f2ff112-3370-d2b4-82c9-de59c01c0295
[2025-12-25 10:05:46] [DEBU] [worker-3480]label name: app label value: anonymous
[2025-12-25 10:05:46] [DEBU] [worker-3480]label name: handler label value: proxy
[2025-12-25 10:05:46] [DEBU] [worker-3480]label name: upstream label value: dddd
[2025-12-25 10:05:46] [DEBU] [worker-3480]label name: provider label value: -
[2025-12-25 10:05:46] [DEBU] [worker-3480]label name: api_kind label value: -

Steps to Reproduce

  1. 建立一个具有额外参数的应用,并上线
  2. 建立一个文件上传接口,并上线(绑定的上游也上线)
  3. 上游必须启动,否则会连接拒绝,不能复现
  4. 请求上传文件接口

Environment

(base) ➜ apinto ./apinto version
Apinto version: 0.22.18
Golang version: go version go1.24.7 linux/amd64
Git commit hash: e5a5ffd
Built on: 2025-12-19T10:09:19Z
Built by: goreleaser
Built by eosc version: v0.21.3
(base) ➜ apinto uname -a
Darwin 00069.local 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6030 arm64

Activity

  1. next-evolve-x commented on Dec 25, 2025

    @next-evolve-x
    Author

    普通请求貌似没有问题,
    应该跟下面这两个commit有关系,希望能够尽早修复

    Image
  2. self-assigned this
    on Jan 14, 2026
  3. Dot-Liu commented on Jan 14, 2026

    @Dot-Liu
    Collaborator

    本周将会修复该问题,并上线

  4. Dot-Liu commented on Jan 16, 2026

    @Dot-Liu
    Collaborator

    该问题已处理,您可更新到v0.22.19

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

Metadata

Metadata

Assignees

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