Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When Tunnel Server uses a custom port, the jump from the detail-pages to the agent console page fails. #2572

Closed
1 task done
ygjia opened this issue Jun 28, 2023 · 0 comments
Milestone

Comments

@ygjia
Copy link
Contributor

ygjia commented Jun 28, 2023

  • I have searched the issues of this repository and believe that this is not a duplicate.

Environment

  • Arthas version: 3.6.9
  • Operating System version: macOS / CentOS
  • Java version of target JVM: 8
  • Java version of JVM used to attach: 8

Steps to reproduce this issue

  1. Start Arthas Tunnel Server, turn on the detail-pages feature, specify a custom Tunnel Server Web Socket port, 17777 for example
java -jar -Darthas.enable-detail-pages=true -Darthas.server.port=17777 arthas-tunnel-server-3.6.9-fatjar.jar
  1. Start math-game.jar, use arthas attach to math game, and register to Tunnel Server
java -jar arthas-boot.jar --tunnel-server 'ws://127.0.0.1:17777/ws' --app-name testMathGame
  1. When clicking from the detail-pages page to the Arthas Console page, it will use the default 7777 port instead of the custom 17777 port, resulting in a failed redirection.
image image

Expected Result

Correct redirection

Actual Result

The port of Arthas Tunnel Server is not passed in at Agent.vue, pass it in to solve the problem

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants