mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4163] 🐛 frp 0.57.0 代理 Jenkins 2.453 时,/blue/rest/search 接口错误 #3281
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#3281
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 @xuxiaowei-com-cn on GitHub (Apr 17, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4163
Bug Description
frpc Version
0.57.0
frps Version
0.57.0
System Architecture
linux/amd64
Configurations
Logs
No response
Steps to reproduce
...
Affected area
@xuxiaowei-com-cn commented on GitHub (Apr 17, 2024):
请求方法:GET
请求地址:
载荷:
@fatedier commented on GitHub (Apr 17, 2024):
关于应用层的各种问题,尽量自己多调试分析吧,找找原因吧,如果能大致上确认问题后再反馈,否则其他人几乎做不了什么。
@xuxiaowei-com-cn commented on GitHub (Apr 18, 2024):
访问 URL
/blue/rest/search/?q=type:pipeline;organization:jenkins;pipeline:;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26时,查看 Jenkins 日志时,出现如下错误,推测可能是 frp 代理时的参数?q=type:pipeline;organization:jenkins;pipeline:;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26没有正常传递@xuxiaowei-com-cn commented on GitHub (Apr 18, 2024):
@fatedier
下面是我调试的过程:
?q=type:pipeline;organization:jenkins;pipeline:;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26,可以接收到参数?q=type:pipeline;organization:jenkins;pipeline:;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26?q=type:pipeline;organization:jenkins;pipeline:;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26,只能接收到参数filter=no-folders&start=0&limit=26q=type:pipeline;organization:jenkins;pipeline:;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject@fatedier commented on GitHub (Apr 18, 2024):
query 参数需要遵循规范进行 encode。
你可以在尝试解决问题的时候能够更深入一些,多扩展查询一些资料,加上自己的一些思考,这样也许对自己解决问题的能力也会有很大提升,也可以相应节约其他人的时间。
@xuxiaowei-com-cn commented on GitHub (Apr 18, 2024):
@fatedier frp 代理 Jenkins 这个软件,所有参数内容都是 Jenkins 自己组装的,并不是我非要传递这样类型的参数
@xuxiaowei-com-cn commented on GitHub (Apr 18, 2024):
@fatedier 当然,我使用 frp 代理 https://github.com/xuxiaowei-com-cn/gateway-shield ,通过 https://github.com/xuxiaowei-com-cn/gateway-shield 可以做到修改请求参数,然后发送请求给 Jenkins,以满足要求。
但是并不是所有人使用 frp 的时候,都有能力修改请求参数。
@fatedier commented on GitHub (Apr 18, 2024):
那请给 jenkins 提 issue,或是自行尝试结合其他方案。
@xuxiaowei-com-cn commented on GitHub (Apr 19, 2024):
搞定了,不使用 http,使用 tcp 即可
