You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/08/23 07:23:15 UTC

[GitHub] [skywalking] daipeng2019 opened a new issue #7533: An error is reported when the parameter skywalking.collector.backend_service is set to the domain name

daipeng2019 opened a new issue #7533:
URL: https://github.com/apache/skywalking/issues/7533


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [x] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### 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=yqftwd-modules-file -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?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #7533: An error is reported when the parameter skywalking.collector.backend_service is set to the domain name

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #7533:
URL: https://github.com/apache/skywalking/issues/7533


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org