Please answer these questions before submitting your issue.
Question
I am trying to run with this cmd
java -Duser.timezone=Asia/Shanghai -Xms512M -Xmx512M -javaagent:/agent/skywalking-agent.jar -Dskywalking.agent.service_name=xxx-xxxx-xxxx -Dskywalking.collector.backend_service=sky_backend_service:11800
-jar yqftwd-modules-file.jar --spring.profiles.active=test
got the error
ERROR 2021-08-23 14:39:19:931 SkywalkingAgent-12-GRPCChannelManager-0 GRPCChannelManager : Create channel to sky_backend_service:11800 fail.
java.lang.IllegalArgumentException: Invalid host or port: sky_backend_service 11800
at org.apache.skywalking.apm.dependencies.io.grpc.internal.GrpcUtil.authorityFromHostAndPort(GrpcUtil.java:515)
at org.apache.skywalking.apm.dependencies.io.grpc.netty.NettyChannelBuilder.<init>(NettyChannelBuilder.java:142)
at org.apache.skywalking.apm.dependencies.io.grpc.netty.NettyChannelBuilder.forAddress(NettyChannelBuilder.java:128)
at org.apache.skywalking.apm.agent.core.remote.GRPCChannel.<init>(GRPCChannel.java:38)
at org.apache.skywalking.apm.agent.core.remote.GRPCChannel.<init>(GRPCChannel.java:29)
at org.apache.skywalking.apm.agent.core.remote.GRPCChannel$Builder.build(GRPCChannel.java:101)
at org.apache.skywalking.apm.agent.core.remote.GRPCChannelManager.run(GRPCChannelManager.java:138)
at org.apache.skywalking.apm.util.RunnableWithExceptionProtection.run(RunnableWithExceptionProtection.java:33)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.URISyntaxException: Illegal character in hostname at index 5: //sky_backend_service:11800
at java.net.URI$Parser.fail(URI.java:2847)
at java.net.URI$Parser.parseHostname(URI.java:3386)
at java.net.URI$Parser.parseServer(URI.java:3235)
at java.net.URI$Parser.parseAuthority(URI.java:3154)
at java.net.URI$Parser.parseHierarchical(URI.java:3096)
at java.net.URI$Parser.parse(URI.java:3062)
at java.net.URI.<init>(URI.java:673)
at org.apache.skywalking.apm.dependencies.io.grpc.internal.GrpcUtil.authorityFromHostAndPort(GrpcUtil.java:513)
... 14 more
What shall I do?
Please answer these questions before submitting your issue.
Question
I am trying to run with this cmd
got the error
What shall I do?