神秘的Stackdriver错误似乎暗示了Stackdriver本身的错误。

huangapple go评论143阅读模式
英文:

Mysterious Stackdriver error seems to suggest a bug with Stackdriver itself

问题

在大约三个星期的时间里,我在Google Cloud控制台中看到了这些错误,针对一个Golang Appengine应用程序:

{"errorReference":"ixWACIGAwIxxxxxxxxMCJu5TG-ykYAjIKGICAwIm7lMb7KWiBgMCJu5TG-ykD", "incident_id":"0.mz2xxxxxgg", "summary":"调用webhook时发生内部错误。"}


与此事件相关的信息没有其他内容,只有 `resource.type = "stackdriver_notification_channel"`

我该如何进一步调试此问题?这很棘手,因为我一直在收到关于日志中的错误的电子邮件。

这个短语在我的源代码中并不存在,在进行谷歌搜索时也没有任何结果。

在错误开始出现的日期,我没有进行会影响代码日志记录的更改。

看起来确实像是一个内部的stackdriver错误。
英文:

For around three weeks now, I see these errors in Google Cloud console, for a Golang Appengine app:


{"errorReference":"ixWACIGAwIxxxxxxxxMCJu5TG-ykYAjIKGICAwIm7lMb7KWiBgMCJu5TG-ykD", "incident_id":"0.mz2xxxxxgg", "summary":"An internal error occurred while invoking the webhook."}

There is no other information associated with the event, other than `resource.type = "stackdriver_notification_channel"`

How could I debug this issue further? It's problematic, because I keep getting emails about errors in my logs.

That phrase does not occur in my source code, and also yields zero results when doing a Google search.

On the date where the errors started appearing, I have made no changes that would affect logging in my code.

It really does seem like an internal stackdriver error.

答案1

得分: 1

看起来问题的原因是Webhook端点的URL配置不正确。

可能您的Webhook端点配置为内部URL,而Google Cloud无法解析该URL,因此您收到了失败消息。

Webhook URL需要是公开可解析的URL,而不是私有的,正如Webhook通知未收到创建和管理通知渠道中所描述的,它还需要公开访问。末尾的"/"取决于接收端的应用程序,这不是Google Cloud可以确切控制的,因此我们无法确定。

请查看下面需要执行的操作,以使URL可以公开解析:

这是Google Cloud不控制的域名,所以我们不知道具体情况。通常,至少需要在db.com domain的权威域名服务器中存在一个A记录,该记录将解析为一个IP地址。这是您的内部团队应该能够帮助您完成的事情。

英文:

Looks like the cause of the issue is an incorrectly configured URL for the webhook endpoint.

Maybe your webhook endpoint is configured to an internal URL and Google Cloud is not able to resolve that URL, thus you receive the failure message.

The webhook URL needs to be a publicly resolvable URL, not a private one, as it is described in Webhook notifications aren't received and Create and manage notification channels and it also needs to be accessible publicly. The "/" at the end depends on the application at the receiving end, it's not something Google Cloud controls, so we cannot know for sure.

Check below what needs to be done to add to the URL to be publicly resolvable:

This is a domain that Google Cloud does not control, so we do not know the specifics. Usually there needs to be at least an A entry in the authoritative domain name servers for db.com domain, that would resolve to an IP address. This is something your internal team should be able to help you with.

huangapple
  • 本文由 发表于 2023年6月26日 15:09:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/76554297.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定