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

typeError: e.serverId.server is null #269

Open
soonowman opened this issue Jun 8, 2021 · 1 comment
Open

typeError: e.serverId.server is null #269

soonowman opened this issue Jun 8, 2021 · 1 comment

Comments

@soonowman
Copy link

soonowman commented Jun 8, 2021

안녕하세요
현재 scouter 테스트를 위해 scouter server, client, paper만 설치하여 확인해보려고 하고있습니다.
환경은 VM으로 Centos 8에서 테스트 중입니다.
Scouter 사용 파일 - scouter-all-2.12.0.1.SNAPSHOT.tar.gz
Scouter Paper 사용 파일 - scouter-paper-v2.6.4.zip

paper 파일을 scouter/webapp/extweb 디렉토리에 넣었더니 안되어서 scouter/server/extweb에 넣었습니다.
하지만 paper 로그인시 오류가 나는 상황으로 아래와 같은 에러가 발생하고있습니다.

image

client에서는 admin,admin으로 하면 잘 됐는데 paper에서는 진행되지 않아 문의드립니다.

scouter/server/extweb 디렉토리
asset-manifest.json css favicon.ico help index.html js manifest.json service-worker.js static
scouter/server/conf/scouter.conf 파일

net_tcp_listen_port=6100

# UDP 수신 포트 (기본값 : 6100)
net_udp_listen_port=6100

# DB 디렉토리 (기본값 : ./database)
db_dir=./database

# 로그 디렉토리 (기본값 : ./logs)
log_dir=./logs

# scouter paper 설정
net_http_server_enabled=true
net_http_api_enabled=true
net_http_port=6180

방화벽

public (active)
  target: default
  icmp-block-inversion: no
  interfaces: ens3
  sources: 
  services: cockpit dhcpv6-client ssh
  ports: 6100/udp 6100/tcp 6180/tcp
  protocols: 
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules:

scouter/server/logs/webapp-yyyy_mm_dd.log

 09:45:50.307 [scouter.server.http.HttpServer]  INFO  org.eclipse.jetty.util.log[192] - Logging initialized @2934ms to org.eclipse.jetty.util.log.Slf4jLog
 09:45:50.481 [scouter.server.http.HttpServer]  INFO  scouterx.webapp.main.WebAppMain[270] - scouter webapp starting! Run-Mode:Embedded
 09:45:50.528 [scouter.server.http.HttpServer]  INFO  s.w.framework.client.net.TcpProxy[58] - TcpProxy created : pool-size:0, scouterx.webapp.framework.client.net.TcpProxy@6239fd61
 09:45:50.537 [scouter.server.http.HttpServer]  INFO  s.w.framework.client.net.ClientTCP[62] - Connected scouterx.webapp.framework.client.net.ClientTCP@7e96498f to 127.0.0.1:6100
 09:45:50.567 [scouter.server.http.HttpServer]  INFO  s.w.framework.client.net.TcpProxy[110] - TcpProxy closed : pool-size:0, scouterx.webapp.framework.client.net.TcpProxy@6239fd61, stack:
 09:45:50.573 [scouter.server.http.HttpServer]  INFO  s.w.framework.client.net.TcpProxy[58] - TcpProxy created : pool-size:0, scouterx.webapp.framework.client.net.TcpProxy@50affdbe
 09:45:50.574 [scouter.server.http.HttpServer]  INFO  s.w.framework.client.net.TcpProxy[58] - TcpProxy created : pool-size:1, scouterx.webapp.framework.client.net.TcpProxy@7f54ca7c
 09:45:50.614 [scouter.server.http.HttpServer]  INFO  s.w.framework.client.net.TcpProxy[58] - TcpProxy created : pool-size:2, scouterx.webapp.framework.client.net.TcpProxy@522be202
 09:45:50.615 [scouter.server.http.HttpServer]  INFO  s.w.framework.client.net.TcpProxy[58] - TcpProxy created : pool-size:3, scouterx.webapp.framework.client.net.TcpProxy@1ebd13f9
 09:45:50.615 [scouter.server.http.HttpServer]  INFO  s.w.framework.client.net.TcpProxy[58] - TcpProxy created : pool-size:4, scouterx.webapp.framework.client.net.TcpProxy@31504f9d
 09:45:50.615 [scouter.server.http.HttpServer]  INFO  s.w.framework.client.net.TcpProxy[58] - TcpProxy created : pool-size:5, scouterx.webapp.framework.client.net.TcpProxy@688e64e1
 09:45:50.619 [scouter.server.http.HttpServer]  INFO  s.w.framework.client.net.ClientTCP[62] - Connected scouterx.webapp.framework.client.net.ClientTCP@5443f8c9 to 127.0.0.1:6100
 09:45:50.638 [scouter.server.http.HttpServer]  INFO  scouterx.webapp.main.WebAppMain[223] - Successfully log in to 127.0.0.1:6100
 09:45:50.643 [scouterx.webapp.framework.client.model.AgentModelThread]  INFO  s.w.framework.client.net.ClientTCP[62] - Connected scouterx.webapp.framework.client.net.ClientTCP@6db334fa to 127.0.0.1:6100
 09:45:50.662 [scouterx.webapp.framework.client.model.AgentModelThread]  INFO  s.w.framework.client.net.ClientTCP[62] - Connected scouterx.webapp.framework.client.net.ClientTCP@2249dd07 to 127.0.0.1:6100
 09:45:50.893 [scouter.server.http.HttpServer]  INFO  org.eclipse.jetty.server.Server[372] - jetty-9.4.6.v20170531
 09:45:51.075 [scouter.server.http.HttpServer]  INFO  o.e.j.server.AbstractNCSARequestLog[230] - Opened /root/scouter/server/logs/http-request-2021_06_08.log
 09:45:51.093 [scouter.server.http.HttpServer]  INFO  org.eclipse.jetty.server.session[364] - DefaultSessionIdManager workerName=node0
 09:45:51.094 [scouter.server.http.HttpServer]  INFO  org.eclipse.jetty.server.session[369] - No SessionScavenger set, using defaults
 09:45:51.099 [scouter.server.http.HttpServer]  INFO  org.eclipse.jetty.server.session[149] - Scavenging every 660000ms
 09:45:51.503 [XLogThread-127.0.0.1:6100-0]  INFO  s.w.framework.client.net.ClientTCP[62] - Connected scouterx.webapp.framework.client.net.ClientTCP@5132df89 to 127.0.0.1:6100
 09:45:52.496 [scouterx.webapp.framework.client.server.ServerManager]  INFO  s.w.framework.client.net.ClientTCP[62] - Connected scouterx.webapp.framework.client.net.ClientTCP@2d9e456a to 127.0.0.1:6100
 09:45:52.538 [XLogThread-127.0.0.1:6100-0]  INFO  s.w.framework.client.net.ClientTCP[62] - Connected scouterx.webapp.framework.client.net.ClientTCP@26620238 to 127.0.0.1:6100
 09:45:53.230 [scouter.server.http.HttpServer]  INFO  o.h.validator.internal.util.Version[27] - HV000001: Hibernate Validator 5.1.3.Final
 09:45:54.229 [scouter.server.http.HttpServer]  INFO  o.e.j.server.handler.ContextHandler[788] - Started o.e.j.s.ServletContextHandler@4cf9581{/,null,AVAILABLE}
 09:45:54.257 [scouter.server.http.HttpServer]  INFO  o.e.jetty.server.AbstractConnector[280] - Started ServerConnector@e1f141f{HTTP/1.1,[http/1.1]}{0.0.0.0:6180}
 09:45:54.258 [scouter.server.http.HttpServer]  INFO  org.eclipse.jetty.server.Server[444] - Started @6893ms

scouter/server/logs/http-request-yyyy_mm_dd.log

127.0.0.1 - - [08/Jun/2021:09:45:19 +0900] "GET /extweb/css/react-grid-layout-styles.css HTTP/1.1" 200 407 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
127.0.0.1 - - [08/Jun/2021:09:45:20 +0900] "GET /extweb/service-worker.js HTTP/1.1" 200 2692 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.230.100 - - [08/Jun/2021:09:45:21 +0900] "GET /scouter/v1/info/server HTTP/1.1" 200 232 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
127.0.0.1 - - [08/Jun/2021:09:45:21 +0900] "GET /extweb/favicon.ico HTTP/1.1" 200 65536 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.230.100 - - [08/Jun/2021:09:45:21 +0900] "GET /scouter/v1/info/server HTTP/1.1" 200 232 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.230.100 - - [08/Jun/2021:09:45:21 +0900] "GET /scouter/v1/kv/__scouter_paper_layout HTTP/1.1" 200 86 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.230.100 - - [08/Jun/2021:09:45:21 +0900] "GET /scouter/v1/info/counter-model HTTP/1.1" 200 1427 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
127.0.0.1 - - [08/Jun/2021:09:45:22 +0900] "GET /extweb/service-worker.js HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
0:0:0:0:0:0:0:1 - - [08/Jun/2021:09:45:55 +0900] "GET /extweb/css/react-grid-layout-styles.css HTTP/1.1" 200 407 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
0:0:0:0:0:0:0:1 - - [08/Jun/2021:09:45:55 +0900] "GET /extweb/css/react-resizable-styles.css HTTP/1.1" 200 712 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
0:0:0:0:0:0:0:1 - - [08/Jun/2021:09:45:55 +0900] "GET /extweb/static/js/main.61ad0d3c.js HTTP/1.1" 304 0 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
0:0:0:0:0:0:0:1 - - [08/Jun/2021:09:45:55 +0900] "GET /extweb/js/raven.min.js HTTP/1.1" 304 0 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
0:0:0:0:0:0:0:1 - - [08/Jun/2021:09:45:55 +0900] "GET /extweb/service-worker.js HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
0:0:0:0:0:0:0:1 - - [08/Jun/2021:09:45:57 +0900] "GET /extweb/favicon.ico HTTP/1.1" 200 32768 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.230.100 - - [08/Jun/2021:09:45:57 +0900] "GET /scouter/v1/kv/__scouter_paper_layout HTTP/1.1" 200 85 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.230.100 - - [08/Jun/2021:09:45:57 +0900] "GET /scouter/v1/info/server HTTP/1.1" 200 231 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.230.100 - - [08/Jun/2021:09:45:57 +0900] "GET /scouter/v1/info/server HTTP/1.1" 200 231 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.230.100 - - [08/Jun/2021:09:45:57 +0900] "GET /scouter/v1/info/counter-model HTTP/1.1" 200 1425 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
0:0:0:0:0:0:0:1 - - [08/Jun/2021:09:45:58 +0900] "GET /extweb/service-worker.js HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.230.100 - - [08/Jun/2021:09:46:03 +0900] "OPTIONS /scouter/v1/user/loginGetToken HTTP/1.1" 200 0 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
192.168.230.100 - - [08/Jun/2021:09:46:03 +0900] "POST /scouter/v1/user/loginGetToken HTTP/1.1" 200 166 "http://localhost:6180/extweb/index.html" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
@kranian
Copy link
Member

kranian commented Dec 28, 2021

답변이 늦었습니다. 해당 내용을 확인 해보도록 하겠습니다.

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