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/06/25 14:41:10 UTC
[GitHub] [skywalking] liuyanzhen34 opened a new issue #7174: Can I use WeChat Hook sent messages via http proxy?
liuyanzhen34 opened a new issue #7174:
URL: https://github.com/apache/skywalking/issues/7174
Dear Sheng WU,and other teachers:
I have set up a k8s cluster in local network that can be not connected to the Internet, and I use Helm to install skywalking in my k8s cluster, and I choose the WeChat Hook in alarm-settings.yml as the way to sent alarm messages to the wechat enpterprise edtion, as you know that my k8s cluster can not connect to the Internet,So if you don't use http proxy, you won't be able to send alerts to enterprise wechat, but I can't find any configuration parameters for http proxy in the configuration file, so how am I supposed to send out an alert on the k8s Lan through another proxy server that's connected to the outside network.
I tried to add an env http-proxy in my deplyment skywalking-oap ,and change the network to hostNetwork, but it still fails.
The following is skywalking-oap deployment's yaml :
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "3"
field.cattle.io/publicEndpoints: '[{"addresses":["10.142.243.11"],"port":31198,"protocol":"TCP","serviceName":"skywalking:skywalking-oap","allNodes":true},{"addresses":["10.142.243.11"],"port":32315,"protocol":"TCP","serviceName":"skywalking:skywalking-oap","allNodes":true},{"nodeName":"c-fxr4b:machine-4ll7z","addresses":["10.142.243.28"],"port":11800,"protocol":"TCP","podName":"skywalking:skywalking-oap-b8c5ddb98-k9bws","allNodes":false},{"nodeName":"c-fxr4b:machine-4ll7z","addresses":["10.142.243.28"],"port":12800,"protocol":"TCP","podName":"skywalking:skywalking-oap-b8c5ddb98-k9bws","allNodes":false}]'
meta.helm.sh/release-name: skywalking
meta.helm.sh/release-namespace: skywalking
creationTimestamp: "2021-06-25T03:33:36Z"
generation: 5
labels:
app: skywalking
app.kubernetes.io/managed-by: Helm
chart: skywalking-4.0.0
component: oap
heritage: Helm
release: skywalking
name: skywalking-oap
namespace: skywalking
resourceVersion: "208588611"
selfLink: /apis/extensions/v1beta1/namespaces/skywalking/deployments/skywalking-oap
uid: db44d935-f195-46ca-bc27-801bd5c50cf3
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: skywalking
component: oap
release: skywalking
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: skywalking
component: oap
release: skywalking
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
app: skywalking
component: oap
release: skywalking
topologyKey: kubernetes.io/hostname
weight: 1
containers:
- env:
- name: JAVA_OPTS
value: -Dmode=no-init -Xmx2g -Xms2g
- name: SW_CLUSTER
value: kubernetes
- name: SW_CLUSTER_K8S_NAMESPACE
value: skywalking
- name: SW_CLUSTER_K8S_LABEL
value: app=skywalking,release=skywalking,component=oap
- name: SKYWALKING_COLLECTOR_UID
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.uid
- name: SW_STORAGE
value: elasticsearch7
- name: SW_STORAGE_ES_CLUSTER_NODES
value: 11.112.213.11:9200
- name: SW_ES_USER
value: xxx
- name: SW_ES_PASSWORD
value: xxx
- name: TZ
value: Asia/Shanghai
- name: http_proxy
value: http://10.211.111.11:3128
- name: https_proxy
value: http://10.211.111.11:3128
image: registry.paas.dev/xyyd/skywalking-oap-server:8.5.0-es7
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
initialDelaySeconds: 150
periodSeconds: 20
successThreshold: 1
tcpSocket:
port: 12800
timeoutSeconds: 1
name: oap
ports:
- containerPort: 11800
hostPort: 11800
name: grpc
protocol: TCP
- containerPort: 12800
hostPort: 12800
name: rest
protocol: TCP
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 150
periodSeconds: 20
successThreshold: 1
tcpSocket:
port: 12800
timeoutSeconds: 1
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /skywalking/config/alarm-settings.yml
name: skywalking-oap-override
subPath: YWxhcm0tc2V0dGluZ3MueW1s
dnsPolicy: ClusterFirst
hostNetwork: true
initContainers:
- command:
- sh
- -c
- for i in $(seq 1 60); do nc -z -w3 10.142.243.12 9200 && exit 0 || sleep
5; done; exit 1
image: registry.paas.dev/xyyd/busybox:1.30
imagePullPolicy: IfNotPresent
name: wait-for-elasticsearch
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: skywalking-oap
serviceAccountName: skywalking-oap
terminationGracePeriodSeconds: 30
volumes:
- configMap:
defaultMode: 420
name: skywalking-oap-cm-override
name: skywalking-oap-override
status:
availableReplicas: 1
conditions:
- lastTransitionTime: "2021-06-25T03:36:30Z"
lastUpdateTime: "2021-06-25T03:36:30Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2021-06-25T03:33:36Z"
lastUpdateTime: "2021-06-25T03:50:40Z"
message: ReplicaSet "skywalking-oap-b8c5ddb98" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
observedGeneration: 5
readyReplicas: 1
replicas: 1
--
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 commented on issue #7174: Can I use WeChat Hook sent messages via http proxy?
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #7174:
URL: https://github.com/apache/skywalking/issues/7174#issuecomment-868551575
You could use proxy server to do so, or OS hosts settings. There is no point for SkyWalking to do 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.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] liuyanzhen34 edited a comment on issue #7174: Can I use WeChat Hook sent messages via http proxy?
Posted by GitBox <gi...@apache.org>.
liuyanzhen34 edited a comment on issue #7174:
URL: https://github.com/apache/skywalking/issues/7174#issuecomment-868552216
The following is alarm-settings.yml configuration:
[root@k8s-master1 oap]# more alarm-settings.yml
```yaml
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Sample alarm rules.
rules:
# Rule unique name, must be ended with `_rule`.
service_resp_time_rule:
metrics-name: service_resp_time
op: ">"
threshold: 1
period: 10
count: 3
silence-period: 5
message: Response time of service {name} is more than 1000ms in 3 minutes of last 10 minutes.
service_sla_rule:
# Metrics value need to be long, double or int
metrics-name: service_sla
op: "<"
threshold: 8000
# The length of time to evaluate the metrics
period: 10
# How many times after the metrics match the condition, will trigger alarm
count: 2
# How many times of checks, the alarm keeps silence after alarm triggered, default as same as period.
silence-period: 3
message: Successful rate of service {name} is lower than 80% in 2 minutes of last 10 minutes
service_resp_time_percentile_rule:
# Metrics value need to be long, double or int
metrics-name: service_percentile
op: ">"
threshold: 1000,1000,1000,1000,1000
period: 10
count: 3
silence-period: 5
message: Percentile response time of service {name} alarm in 3 minutes of last 10 minutes, due to more than one condition of p50
> 1000, p75 > 1000, p90 > 1000, p95 > 1000, p99 > 1000
service_instance_resp_time_rule:
metrics-name: service_instance_resp_time
op: ">"
threshold: 1000
period: 10
count: 2
silence-period: 5
message: Response time of service instance {name} is more than 1000ms in 2 minutes of last 10 minutes
database_access_resp_time_rule:
metrics-name: database_access_resp_time
threshold: 1000
op: ">"
period: 10
count: 2
message: Response time of database access {name} is more than 1000ms in 2 minutes of last 10 minutes
endpoint_relation_resp_time_rule:
metrics-name: endpoint_relation_resp_time
threshold: 1000
op: ">"
period: 10
count: 2
message: Response time of endpoint relation {name} is more than 1000ms in 2 minutes of last 10 minutes
# Active endpoint related metrics alarm will cost more memory than service and service instance metrics alarm.
# Because the number of endpoint is much more than service and instance.
#
# endpoint_avg_rule:
# metrics-name: endpoint_avg
# op: ">"
# threshold: 1000
# period: 10
# count: 2
# silence-period: 5
# message: Response time of endpoint {name} is more than 1000ms in 2 minutes of last 10 minutes
#webhooks:
# - http://127.0.0.1/notify/
# - http://127.0.0.1/go-wechat/
wechatHooks:
textTemplate: |-
{
"msgtype": "text",
"text": {
"content": "Apache SkyWalking Alarm: \n %s."
}
}
webhooks:
- https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=494aef2e3-335e-4g28-bac4-e5191c1f35fr
```
--
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] RobinsChens commented on issue #7174: Can I use WeChat Hook sent messages via http proxy?
Posted by GitBox <gi...@apache.org>.
RobinsChens commented on issue #7174:
URL: https://github.com/apache/skywalking/issues/7174#issuecomment-960515970
> Can't understand your words due to chaos formats. You are asking for helps, at least make people eaiser to read, otherwise, nothing to say.
就是skywalking的oap部署在内网了,怎么使用proxy访问微信,钉钉这些外网服务
--
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 commented on issue #7174: Can I use WeChat Hook sent messages via http proxy?
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #7174:
URL: https://github.com/apache/skywalking/issues/7174#issuecomment-868562013
Can't understand your words due to chaos formats. You are asking for helps, at least make people eaiser to read, otherwise, nothing to say.
--
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] RobinsChens removed a comment on issue #7174: Can I use WeChat Hook sent messages via http proxy?
Posted by GitBox <gi...@apache.org>.
RobinsChens removed a comment on issue #7174:
URL: https://github.com/apache/skywalking/issues/7174#issuecomment-960515970
> Can't understand your words due to chaos formats. You are asking for helps, at least make people eaiser to read, otherwise, nothing to say.
就是skywalking的oap部署在内网了,怎么使用proxy访问微信,钉钉这些外网服务
--
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] liuyanzhen34 commented on issue #7174: Can I use WeChat Hook sent messages via http proxy?
Posted by GitBox <gi...@apache.org>.
liuyanzhen34 commented on issue #7174:
URL: https://github.com/apache/skywalking/issues/7174#issuecomment-868552216
The following is alarm-settings.yml configuration:
[root@k8s-master1 oap]# more alarm-settings.yml
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Sample alarm rules.
rules:
# Rule unique name, must be ended with `_rule`.
service_resp_time_rule:
metrics-name: service_resp_time
op: ">"
threshold: 1
period: 10
count: 3
silence-period: 5
message: Response time of service {name} is more than 1000ms in 3 minutes of last 10 minutes.
service_sla_rule:
# Metrics value need to be long, double or int
metrics-name: service_sla
op: "<"
threshold: 8000
# The length of time to evaluate the metrics
period: 10
# How many times after the metrics match the condition, will trigger alarm
count: 2
# How many times of checks, the alarm keeps silence after alarm triggered, default as same as period.
silence-period: 3
message: Successful rate of service {name} is lower than 80% in 2 minutes of last 10 minutes
service_resp_time_percentile_rule:
# Metrics value need to be long, double or int
metrics-name: service_percentile
op: ">"
threshold: 1000,1000,1000,1000,1000
period: 10
count: 3
silence-period: 5
message: Percentile response time of service {name} alarm in 3 minutes of last 10 minutes, due to more than one condition of p50
> 1000, p75 > 1000, p90 > 1000, p95 > 1000, p99 > 1000
service_instance_resp_time_rule:
metrics-name: service_instance_resp_time
op: ">"
threshold: 1000
period: 10
count: 2
silence-period: 5
message: Response time of service instance {name} is more than 1000ms in 2 minutes of last 10 minutes
database_access_resp_time_rule:
metrics-name: database_access_resp_time
threshold: 1000
op: ">"
period: 10
count: 2
message: Response time of database access {name} is more than 1000ms in 2 minutes of last 10 minutes
endpoint_relation_resp_time_rule:
metrics-name: endpoint_relation_resp_time
threshold: 1000
op: ">"
period: 10
count: 2
message: Response time of endpoint relation {name} is more than 1000ms in 2 minutes of last 10 minutes
# Active endpoint related metrics alarm will cost more memory than service and service instance metrics alarm.
# Because the number of endpoint is much more than service and instance.
#
# endpoint_avg_rule:
# metrics-name: endpoint_avg
# op: ">"
# threshold: 1000
# period: 10
# count: 2
# silence-period: 5
# message: Response time of endpoint {name} is more than 1000ms in 2 minutes of last 10 minutes
#webhooks:
# - http://127.0.0.1/notify/
# - http://127.0.0.1/go-wechat/
wechatHooks:
textTemplate: |-
{
"msgtype": "text",
"text": {
"content": "Apache SkyWalking Alarm: \n %s."
}
}
webhooks:
- https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=494aef2e3-335e-4g28-bac4-e5191c1f35fr
--
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] liuyanzhen34 commented on issue #7174: Can I use WeChat Hook sent messages via http proxy?
Posted by GitBox <gi...@apache.org>.
liuyanzhen34 commented on issue #7174:
URL: https://github.com/apache/skywalking/issues/7174#issuecomment-868567631
> You could use proxy server to do so, or OS hosts settings. There is no point for SkyWalking to do so.
Teacher, can you tell me how to use the proxy in detail, skywalking I was deployed in the form of K8s pod.
--
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] liuyanzhen34 removed a comment on issue #7174: Can I use WeChat Hook sent messages via http proxy?
Posted by GitBox <gi...@apache.org>.
liuyanzhen34 removed a comment on issue #7174:
URL: https://github.com/apache/skywalking/issues/7174#issuecomment-868555693
[root@k8s-master1 oap]# kubectl get pod -n skywalking
NAME READY STATUS RESTARTS AGE
skywalking-demo-8479567884-fk25m 1/1 Running 0 12h
skywalking-es-init-fgprg 0/1 Completed 0 11h
skywalking-oap-b8c5ddb98-k9bws 1/1 Running 0 10h
skywalking-ui-57b4cc6975-mnrx5 1/1 Running 0 11h
[root@k8s-master1 oap]#
[root@k8s-master1 oap]#
[root@k8s-master1 oap]# kubectl logs -f skywalking-oap-b8c5ddb98-k9bws -n skywalking
2021-06-25 12:01:11,702 - org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient -817287 [I/O dispatcher 1] INFO [] - Bulk execution id [14] completed in 33 milliseconds, size: 4
2021-06-25 12:01:17,260 - org.apache.skywalking.oap.server.core.alarm.provider.wechat.WechatHookCallback -822845 [pool-2-thread-1] ERROR [] - send wechat alarm to https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=494aef2e3-335e-4g28-bac4-e5191c1f35fr
failure.
java.net.UnknownHostException: qyapi.weixin.qq.com: System error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?]
at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929) ~[?:?]
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1519) ~[?:?]
at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:848) ~[?:?]
at java.net.InetAddress.getAllByName0(InetAddress.java:1509) ~[?:?]
at java.net.InetAddress.getAllByName(InetAddress.java:1368) ~[?:?]
at java.net.InetAddress.getAllByName(InetAddress.java:1302) ~[?:?]
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.skywalking.oap.server.core.alarm.provider.wechat.WechatHookCallback.sendAlarmMessage(WechatHookCallback.java:93) [server-alarm-plugin-8.5.0.jar:8.5.0]
at org.apache.skywalking.oap.server.core.alarm.provider.wechat.WechatHookCallback.lambda$null$0(WechatHookCallback.java:72) [server-alarm-plugin-8.5.0.jar:8.5.0]
at java.util.ArrayList.forEach(ArrayList.java:1541) [?:?]
at org.apache.skywalking.oap.server.core.alarm.provider.wechat.WechatHookCallback.lambda$doAlarm$1(WechatHookCallback.java:68) [server-alarm-plugin-8.5.0.jar:8.5.0]
at java.util.ArrayList.forEach(ArrayList.java:1541) [?:?]
at org.apache.skywalking.oap.server.core.alarm.provider.wechat.WechatHookCallback.doAlarm(WechatHookCallback.java:67) [server-alarm-plugin-8.5.0.jar:8.5.0]
at org.apache.skywalking.oap.server.core.alarm.provider.AlarmCore.lambda$null$3(AlarmCore.java:84) [server-alarm-plugin-8.5.0.jar:8.5.0]
at java.util.ArrayList.forEach(ArrayList.java:1541) [?:?]
--
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 #7174: Can I use WeChat Hook sent messages via http proxy?
Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #7174:
URL: https://github.com/apache/skywalking/issues/7174
--
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] liuyanzhen34 commented on issue #7174: Can I use WeChat Hook sent messages via http proxy?
Posted by GitBox <gi...@apache.org>.
liuyanzhen34 commented on issue #7174:
URL: https://github.com/apache/skywalking/issues/7174#issuecomment-868555693
[root@k8s-master1 oap]# kubectl get pod -n skywalking
NAME READY STATUS RESTARTS AGE
skywalking-demo-8479567884-fk25m 1/1 Running 0 12h
skywalking-es-init-fgprg 0/1 Completed 0 11h
skywalking-oap-b8c5ddb98-k9bws 1/1 Running 0 10h
skywalking-ui-57b4cc6975-mnrx5 1/1 Running 0 11h
[root@k8s-master1 oap]#
[root@k8s-master1 oap]#
[root@k8s-master1 oap]# kubectl logs -f skywalking-oap-b8c5ddb98-k9bws -n skywalking
2021-06-25 12:01:11,702 - org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient -817287 [I/O dispatcher 1] INFO [] - Bulk execution id [14] completed in 33 milliseconds, size: 4
2021-06-25 12:01:17,260 - org.apache.skywalking.oap.server.core.alarm.provider.wechat.WechatHookCallback -822845 [pool-2-thread-1] ERROR [] - send wechat alarm to https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=494aef2e3-335e-4g28-bac4-e5191c1f35fr
failure.
java.net.UnknownHostException: qyapi.weixin.qq.com: System error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?]
at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929) ~[?:?]
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1519) ~[?:?]
at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:848) ~[?:?]
at java.net.InetAddress.getAllByName0(InetAddress.java:1509) ~[?:?]
at java.net.InetAddress.getAllByName(InetAddress.java:1368) ~[?:?]
at java.net.InetAddress.getAllByName(InetAddress.java:1302) ~[?:?]
at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[httpclient-4.5.10.jar:4.5.10]
at org.apache.skywalking.oap.server.core.alarm.provider.wechat.WechatHookCallback.sendAlarmMessage(WechatHookCallback.java:93) [server-alarm-plugin-8.5.0.jar:8.5.0]
at org.apache.skywalking.oap.server.core.alarm.provider.wechat.WechatHookCallback.lambda$null$0(WechatHookCallback.java:72) [server-alarm-plugin-8.5.0.jar:8.5.0]
at java.util.ArrayList.forEach(ArrayList.java:1541) [?:?]
at org.apache.skywalking.oap.server.core.alarm.provider.wechat.WechatHookCallback.lambda$doAlarm$1(WechatHookCallback.java:68) [server-alarm-plugin-8.5.0.jar:8.5.0]
at java.util.ArrayList.forEach(ArrayList.java:1541) [?:?]
at org.apache.skywalking.oap.server.core.alarm.provider.wechat.WechatHookCallback.doAlarm(WechatHookCallback.java:67) [server-alarm-plugin-8.5.0.jar:8.5.0]
at org.apache.skywalking.oap.server.core.alarm.provider.AlarmCore.lambda$null$3(AlarmCore.java:84) [server-alarm-plugin-8.5.0.jar:8.5.0]
at java.util.ArrayList.forEach(ArrayList.java:1541) [?:?]
--
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