alibaba / alibaba/arthas

jdk21启动,telnet连接不上

Open
#2,886 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
37.5k
Forks
7.6k
Avg merge
1d 22h
Merged PRs (30d)
4

Description

- [x] 我已经在 [issues](https://github.com/alibaba/arthas/issues) 里搜索,没有重复的issue。

### 环境信息

* `arthas-boot.jar` 或者 `as.sh` 的版本: xxx
* Arthas 版本: 4.0.0
* 操作系统版本: centos7
* 目标进程的JVM版本: jdk21

### 重现问题的步骤
# ./as.sh
Arthas script version: 4.0.0
[INFO] JAVA_HOME: /opt/jdk
Found existing java process, please choose one and input the serial number of the process, eg : 1. Then hit ENTER.
* [1]: 1 com.*.data.Application
1
Arthas home: /latest/arthas
Calculating attach execution time...
Attaching to 1 using version /latest/arthas...

real 0m0.319s
user 0m0.279s
sys 0m0.046s
Attach success.
telnet connecting to arthas server... current timestamp is 1724728300
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

[11:11:40root@app/latest/arthas] C:1
# java -version
java version "21.0.4" 2024-07-16 LTS
Java(TM) SE Runtime Environment (build 21.0.4+8-LTS-274)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.4+8-LTS-274, mixed mode, sharing)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report with ./as.sh on CentOS 7 and JDK 21, using the recorded attach and telnet output as the baseline. Trace the path after “Attach success” through the Arthas server startup and telnet connection attempt; done means the server starts and the telnet connection succeeds.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.