本文介绍了Gitlab Pages:无法验证域所有权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天早上,我收到了托管在自定义域上的每个 Gitlab 页面的电子邮件,说域验证失败.

This morning I got emails for each of my Gitlab Pages that are hosted on custom domains, saying that the domain verification failed.

这很好,因为我认为我一开始就没有验证过它们——在 Gitlab 上很好地实现了这一点.

That's fine, because I don't think I ever verified them in the first place - good on Gitlab for getting this going.

当我在每个 repo 上的 Settings>Pages>Domain_Details 上进行操作时,我看到了创建以下记录的说明:

When I head on over the the Settings>Pages>Domain_Details on each repo, I see the instructions to create the following record:

_gitlab-pages-verification-code.blog.ollyfg.com TXT gitlab-pages-verification-code={32_digit_long_code}

在创建此记录并单击验证所有权"按钮时,我收到验证域所有权失败"消息.

On creating this record, and clicking the "Verify Ownership" button, I get the message "Failed to verify domain ownership".

我已确保记录 已设置,并且正在调用

I have ensured that the record is set, and calling

dig -t txt +short _gitlab-pages-verification-code.blog.ollyfg.com

返回:

"gitlab-pages-verification-code={same_32_digit_long_code}"

这是 Gitlab 中的错误吗?我做错了吗?

Is this a bug in Gitlab? Am I doing something wrong?

谢谢!

推荐答案

等一下,它对我有用.最初,遇到与您提到的相同的问题.

Wait for sometime, it worked for me. Initially, having the same problem as you mentioned.

此外,您可能会发现此页面很有用:https://gitlab.com/help/user/project/pages/getting_started_pa​​rt_three.md#dns-txt-record

Also, you may find this page useful: https://gitlab.com/help/user/project/pages/getting_started_part_three.md#dns-txt-record

这可能是值得的,尝试:blog.ollyfg.com而不是:_gitlab-pages-verification-code.blog.ollyfg.com

It might be worthwhile, trying with:blog.ollyfg.cominstead of: _gitlab-pages-verification-code.blog.ollyfg.com

这篇关于Gitlab Pages:无法验证域所有权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 04:29