mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #141] frps invalid character '\x16' #85
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#85
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 @hanxi on GitHub (Oct 20, 2016).
Original GitHub issue: https://github.com/fatedier/frp/issues/141
经常出现这个错误。
@cnluzhang commented on GitHub (Oct 20, 2016):
我遇到的问题是 invalid character 'G' looking for beginning of value : GET / HTTP/1.1
@fatedier commented on GitHub (Oct 20, 2016):
能贴一下相关的配置信息吗?
@fatedier commented on GitHub (Oct 20, 2016):
@cnluzhang 你的有可能是端口被扫到了,对 frps 的服务端口发送了一个 http 的请求,内容不符合交互协议格式,所以解析出错。
@hanxi commented on GitHub (Oct 25, 2016):
frps.ini (10.12.1.224)
frpc.ini (10.12.1.224)
frpc.ini (10.5.2.235)
虽然有上面说的报错,但是能使用。有一个问题就是
10.12.1.224:9001收到的包有可能是被打乱,数据末尾附带着部分10.12.1.224往10.5.2.235:8001发的数据。例如:
10.12.1.224每秒发送 {"data":"nihao"} 到10.5.2.235:800110.5.2.235每秒发送 {"test":-1} 到10.12.1.224:9001此时
10.12.1.224:9001收到的数据有概率是 {"test":-1}hao"}之前我是用ngrok搭建的,没有存在这个问题。所以就来这里提issue了,我不会 Go, 就没去看实现了,有可能是因为用到了同一个Buffer。
@mmsoon commented on GitHub (Dec 16, 2016):
遇到类似的问题,http包转发不完整,某一个js文件请求时经常在固定的位置断开,后面的部分就没有了。
@fatedier commented on GitHub (Dec 16, 2016):
@SongJoey 能否提供可以稳定复现的测试代码和资源文件?
@mmsoon commented on GitHub (Dec 16, 2016):
没办法稳定复现。经常出现在我改动这个文件之后,会有一段时间,不管怎么重复请求都不行,但过一会儿又好了。
我再试试,如果发现规律的话我再报过来。
@fatedier commented on GitHub (Dec 16, 2016):
@SongJoey 好的,感谢反馈,如果能够定位到问题的话,我会尽快修复,不然我也无法判断是什么原因引起的。
@fatedier commented on GitHub (Dec 28, 2016):
invalid character 本地偶然复现了这个问题,暂时没有定位到原因。
@fatedier commented on GitHub (May 21, 2017):
v0.10.0 版本更改了这部分的逻辑。