Skip to content

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

@ygjia

Description

@ygjia
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions