alibaba / alibaba/TProfiler

远程操作报错:HTTP method names must be tokens

Open
#63 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

配置了jvm,并且启动程序以后,使用远程操作命令:
`java -cp tprofiler.jar com.taobao.profile.client.TProfilerClient 172.16.11.130 8080 start`
ip地址使用127.0.0.1没有问题,能生成日志文件,但是使用其他ip地址,就报错:
`java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens`

另外,执行status的远程操作,返回400错误
`HTTP/1.1 400`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the remote start command with 127.0.0.1 and with the other IP address, then inspect the remote operation's HTTP handling and the status request path. Done means remote start no longer reports the invalid method-name error and the status operation no longer returns HTTP 400.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.