mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2153] 火狐时不时的出现400 bad request 错误,谷歌不会。 #1716
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1716
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ihappywall on GitHub (Dec 15, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2153
我也是出现了400 bad request问题。
就是在火狐浏览器上用 post multiple/form-data方式上传10几k的图片,有时候可以,有时候就返回400错误。并且发现火狐浏览器重新刷新一下,特别容易出现post multiple/form-data 上传文件的400错误。
在谷歌浏览器就没有这个问题。
首先可以确定不是web后端程序问题,在出现400错误时,后端的访问日志看不到访问记录。应该也不是前端的问题。
然后看frps.log 和 frpc.log 都看不到什么相关的错误日志。
看了一下go程序:
在 /pkg/plugin/client/http_proxy.go文件
这里有返回了400错误,却不打印任何日志。会不会是这个地方的错误,net.Dial的错误。
@github-actions[bot] commented on GitHub (Jan 30, 2021):
Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.
@luyanfeng commented on GitHub (Sep 3, 2024):
我也是, 我只是以http方式代理了下springboot服务 :