skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

refresh error

Open wu-sheng opened this issue 7 years ago • 5 comments

Hello, I 'm using skywalking v6.1 Refresh the trace page and report an error As shown below:

image

ref https://github.com/apache/skywalking-rocketbot-ui/issues/91

wu-sheng avatar May 05 '19 09:05 wu-sheng

Spring Boot Actuator add /trace as endpoints out of the box. I solved it by disable /trace endpoints. modify webapp.yml like this:

server:
  port: 8080

collector:
  path: /graphql
  ribbon:
    ReadTimeout: 10000
    # Point to all backend's restHost:restPort, split by ,
    listOfServers: 127.0.0.1:12800

security:
  user:
    # username
    admin:
      # password
      password: admin

endpoints:
  trace:
   # disable  trace  endpoints
    enabled: false

zxbu avatar May 06 '19 02:05 zxbu

Ref doc https://docs.spring.io/spring-boot/docs/1.5.1.RELEASE/reference/htmlsingle/#production-ready-endpoints

@hanahmily Do you prefer to ask UI change path or disable the endpoints/trace?

wu-sheng avatar May 06 '19 03:05 wu-sheng

@wu-sheng The third option: change the endpoints base path

zxbu avatar May 06 '19 03:05 zxbu

change the endpoints base path in Spring? I think that is a better way. Could you submit a pull request to fix this?

wu-sheng avatar May 06 '19 03:05 wu-sheng

I also encountered this problem in the latest version

version: 8.7.0 docker-compose.yml

services:
  oap:
    image: apache/skywalking-oap-server:8.7.0-es7
    container_name: oap
    restart: always
    ports:
      - 11800:11800
      - 12800:12800
    environment:
      - SW_STORAGE=elasticsearch7
      - SW_STORAGE_ES_CLUSTER_NODES=172.17.20.45:9200
      - SW_NAMESPACE=skywalking
      - SW_CORE_RECORD_DATA_TTL=3
      - SW_CORE_METRICS_DATA_TTL=3
      - TZ=Asia/Shanghai
  skywaling-ui:
    image: apache/skywalking-ui:8.7.0
    container_name: ui
    depends_on:
      - oap
    links:
      - oap
    ports:
      - 8888:8080
    environment:
      - SW_OAP_ADDRESS=http://oap:12800
      - TZ=Asia/Shanghai

Is there a solution?

chj9 avatar Sep 17 '21 07:09 chj9