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/10/29 15:04:02 UTC

[GitHub] [skywalking] skundu1234 opened a new issue #8039: ISSUE- Skywalking argent error after enabling TLS

skundu1234 opened a new issue #8039:
URL: https://github.com/apache/skywalking/issues/8039


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Apache SkyWalking Component
   
   OAP server (apache/skywalking)
   
   ### What happened
   
   After enabling TLS from agent and collector side ,we can see below error. Agent and collector both are using same host. Please let me know if you need any details.
   Errror in skywalking-api.log:
   
   INFO 2021-10-29 09:54:03:754 main PluginResourcesResolver : find skywalking plugin define in jar:file:/prometheus/apache-skywalking-apm-bin-es7/agent/activations/apm-toolkit-logback-1.x-activation-8.7.0.jar!/skywalking-plugin.def
   ERROR 2021-10-29 09:54:09:418 grpc-default-executor-1 EventReportServiceClient : Failed to report starting event.
   org.apache.skywalking.apm.dependencies.io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
   Channel Pipeline: [SslHandler#0, ProtocolNegotiators$ClientTlsHandler#0, WriteBufferingAndExceptionHandler#0, DefaultChannelPipeline$TailContext#0]
           at org.apache.skywalking.apm.dependencies.io.grpc.Status.asRuntimeException(Status.java:533)
   
   ![image](https://user-images.githubusercontent.com/87635275/139456653-715bf825-9592-43c8-822b-b2a60dbae9e6.png)
   
   
   Agent:
   [esmmon@hostname ca]$ pwd
   /prometheus/apache-skywalking-apm-bin-es7/agent/ca
   [esmmon@hostname ca]$ ls
   ca.crt
   
   agent.config:   I have changed these two lines and added ca.crt as well.
   # If true, SkyWalking agent uses TLS even no CA file detected.
    agent.force_tls=${SW_AGENT_FORCE_TLS:true}
   
   # Backend service addresses.
   collector.backend_service=${SW_AGENT_COLLECTOR_BACKEND_SERVICES:XX.XX.XX.XX:11800}(XX-IP of collector)
   
   ![image](https://user-images.githubusercontent.com/87635275/139457111-f8949da8-0ed9-4c03-9702-9171e69e8110.png)
   
   Application.yml:  I have changed those and did not see any error skywalking.log
   core:
     selector: ${SW_CORE:default}
   
   ![image](https://user-images.githubusercontent.com/87635275/139457739-cf0e9f16-4d79-409c-a9a0-0ee62e810d06.png)
   
   
   
   
   
   
   
   
   
   
   
   
   
   ### What you expected to happen
   
   I expected to work TLS without any issue after doing this change.
   
   ### How to reproduce
   
   I have provided all the details and let me know if you need any other details as well to provide.I will provide
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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 #8039: ISSUE- Skywalking argent error after enabling TLS

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


   


-- 
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