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/02/23 06:47:47 UTC

[GitHub] [skywalking] whaon opened a new issue #6424: the webhook has error:Timeout waiting for connection from pool

whaon opened a new issue #6424:
URL: https://github.com/apache/skywalking/issues/6424


   see pic:
   ![image](https://user-images.githubusercontent.com/2542483/108810330-e0897f00-75e5-11eb-8fb1-b703903e9e98.png)
   
   @EvanLjp 
   


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

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



[GitHub] [skywalking] wu-sheng commented on issue #6424: the webhook has error:Timeout waiting for connection from pool

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6424:
URL: https://github.com/apache/skywalking/issues/6424#issuecomment-783952509


   Why are you keeping pinging the member of the project? I have asked about that. This is not polite unless you have off-list discussion.


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

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



[GitHub] [skywalking] wu-sheng commented on issue #6424: the webhook has error:Timeout waiting for connection from pool

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6424:
URL: https://github.com/apache/skywalking/issues/6424#issuecomment-784023849


   > the reason may be high concurrence
   > guess there are some issues in httpclient config
   
   There is no concurrency in the design level of alarm core. That is why I feel there is connection leak somehow.


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

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



[GitHub] [skywalking] whaon commented on issue #6424: the webhook has error:Timeout waiting for connection from pool

Posted by GitBox <gi...@apache.org>.
whaon commented on issue #6424:
URL: https://github.com/apache/skywalking/issues/6424#issuecomment-784634091


   I checked the hooks and find all web hooks have the same problem
   such as: feishu, slack, wechat, dingtalk


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

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



[GitHub] [skywalking] wu-sheng closed issue #6424: the webhook has error:Timeout waiting for connection from pool

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


   


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

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



[GitHub] [skywalking] haoyann commented on issue #6424: the webhook has error:Timeout waiting for connection from pool

Posted by GitBox <gi...@apache.org>.
haoyann commented on issue #6424:
URL: https://github.com/apache/skywalking/issues/6424#issuecomment-784271793


   I would like to contribute to this issue.


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

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



[GitHub] [skywalking] whaon commented on issue #6424: the webhook has error:Timeout waiting for connection from pool

Posted by GitBox <gi...@apache.org>.
whaon commented on issue #6424:
URL: https://github.com/apache/skywalking/issues/6424#issuecomment-784019600


   the reason may be high concurrence
   guess there are some issues in httpclient config


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

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



[GitHub] [skywalking] wu-sheng commented on issue #6424: the webhook has error:Timeout waiting for connection from pool

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6424:
URL: https://github.com/apache/skywalking/issues/6424#issuecomment-784635624


   Yes, they seem so.


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

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



[GitHub] [skywalking] wu-sheng commented on issue #6424: the webhook has error:Timeout waiting for connection from pool

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6424:
URL: https://github.com/apache/skywalking/issues/6424#issuecomment-784262022


   Any of you are willing to send a pull request?


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

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



[GitHub] [skywalking] wu-sheng commented on issue #6424: the webhook has error:Timeout waiting for connection from pool

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6424:
URL: https://github.com/apache/skywalking/issues/6424#issuecomment-783955675


   This error seems some kinds of connection link? I never used this part too. Recommend to read and debug `DingtalkHookCallback`.


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

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



[GitHub] [skywalking] haoyann commented on issue #6424: the webhook has error:Timeout waiting for connection from pool

Posted by GitBox <gi...@apache.org>.
haoyann commented on issue #6424:
URL: https://github.com/apache/skywalking/issues/6424#issuecomment-784259051


   `httpResponse` should be closed.
   ```
       private void sendAlarmMessage(CloseableHttpClient httpClient, String url, String requestBody) {
           try {
               HttpPost post = new HttpPost(url);
               post.setConfig(requestConfig);
               post.setHeader(HttpHeaders.ACCEPT, HttpHeaderValues.APPLICATION_JSON.toString());
               post.setHeader(HttpHeaders.CONTENT_TYPE, HttpHeaderValues.APPLICATION_JSON.toString());
               StringEntity entity = new StringEntity(requestBody, ContentType.APPLICATION_JSON);
               post.setEntity(entity);
               CloseableHttpResponse httpResponse = httpClient.execute(post);
               StatusLine statusLine = httpResponse.getStatusLine();
               if (statusLine != null && statusLine.getStatusCode() != HttpStatus.SC_OK) {
                   log.error("send dingtalk alarm to {} failure. Response code: {}, Response content: {}", url, statusLine.getStatusCode(),
                           EntityUtils.toString(httpResponse.getEntity()));
               }
           } catch (Throwable e) {
               log.error("send dingtalk alarm to {} failure.", url, e);
           }
       }
   ```
   https://hc.apache.org/httpcomponents-client-4.5.x/quickstart.html


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

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



[GitHub] [skywalking] whaon commented on issue #6424: the webhook has error:Timeout waiting for connection from pool

Posted by GitBox <gi...@apache.org>.
whaon commented on issue #6424:
URL: https://github.com/apache/skywalking/issues/6424#issuecomment-783986265


   > Why are you keeping pinging the member of the project? I have asked about that. This is not polite unless you have off-list discussion.
   
   sorry about that, i I don't mean to
   i use 8.2.0 before,but i found 8.4.0 these days and it's really good, so i just want to use it as soon as possible,but found some issues now and want to solve it
   thanks for your job and replay.
   i will pay more attention to my words and behaviours


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

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



[GitHub] [skywalking] EvanLjp commented on issue #6424: the webhook has error:Timeout waiting for connection from pool

Posted by GitBox <gi...@apache.org>.
EvanLjp commented on issue #6424:
URL: https://github.com/apache/skywalking/issues/6424#issuecomment-783954487


   Related functions are contributed by different members. Sorry, I am not familiar with this problem.


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

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