You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "chengyuan1029 (via GitHub)" <gi...@apache.org> on 2023/02/24 15:23:03 UTC

[GitHub] [incubator-streampark] chengyuan1029 opened a new issue, #2364: [Bug] Production intranet feishu alarm failed

chengyuan1029 opened a new issue, #2364:
URL: https://github.com/apache/incubator-streampark/issues/2364

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### Java Version
   
   1.18
   
   ### Scala Version
   
   2.12.x
   
   ### StreamPark Version
   
   dev
   
   ### Flink Version
   
   1.16.0
   
   ### deploy mode
   
   None
   
   ### What happened
   
   The production environment cannot access the internet, and the feishu alarm sending failed. Currently, the agent cannot be set for forwarding. The error is reported as follows:
   ![img_v2_f6550056-5701-4ee7-a08e-21d8cd19d21g](https://user-images.githubusercontent.com/26703112/221210746-dd9925e9-7da5-4a6d-be11-7faf28231c7f.png)
   
   ### Error Exception
   
   ```log
   2023-02-24 23:22:04.781 StreamPark [XNIO-1 task-1] ERROR o.a.s.c.c.s.a.i.LarkAlertNotifyServiceImpl:114 - Failed to request Lark robot alarm,
   url:https://open.feishu.cn/open-apis/bot/v2/hook/dc7a68f8xxxxxxxxxxxxxxx
   org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://open.feishu.cn/open-apis/bot/v2/hook/dc7a68f8xxxxxxxxxxxxxxx": open.feishu.cn; nested exception is java.net.UnknownHostException: open.feishu.cn
           at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:785)
           at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:711)
           at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:437)
           at org.apache.streampark.console.core.service.alert.impl.LarkAlertNotifyServiceImpl.sendMessage(LarkAlertNotifyServiceImpl.java:112)
           at org.apache.streampark.console.core.service.alert.impl.LarkAlertNotifyServiceImpl.doAlert(LarkAlertNotifyServiceImpl.java:94)
           at org.apache.streampark.console.core.service.alert.impl.AlertServiceImpl.lambda$alert$0(AlertServiceImpl.java:90)
           at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
           at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
           at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
           at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
   ```
   
   
   ### Screenshots
   
   ![272f4870-985e-4fdc-a719-c7845a82d8e7](https://user-images.githubusercontent.com/26703112/221216885-67b71c0c-b7b8-49cc-b205-1f643379e8eb.jpeg)
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!(您是否要贡献这个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: issues-unsubscribe@streampark.apache.org.apache.org

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


[GitHub] [incubator-streampark] wolfboys closed issue #2364: [Bug] Production intranet feishu alarm failed

Posted by "wolfboys (via GitHub)" <gi...@apache.org>.
wolfboys closed issue #2364: [Bug] Production intranet feishu alarm failed
URL: https://github.com/apache/incubator-streampark/issues/2364


-- 
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: issues-unsubscribe@streampark.apache.org

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