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

问题描述

今天早上,我收到了有关自定义域上托管的每个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.

当我进入每个仓库的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页面:无法验证域所有权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 04:29