Firebase hosting custom domain error

和自甴很熟 提交于 2019-12-07 02:05:57

问题


I have recently acquired a .tk domain and was willing to link it to Firebase hosting as a custom domain.

After reading documentation and following the tutorial, I successfully deployed my first app to Firebase hosting. It is accessible via the default firebaseapp.com url.

However, after trying to set up a custom domain, I have had problems trying to verify my ownership of the domain. I added two TXT DNS records as instructed and have waited for a day for Firebase to verify, but I get the following error:

There was a problem connecting your custom domain. Please contact support.

Thanks in advance.


回答1:


This was a known problem and has been RESOLVED by the Firebase team.

Michael Bleigh: We're working on a capacity issue with the domain provisioning system.

Tracked on the group discussion "Can't get custom domain to verify"




回答2:


I observed this error when migrating a domain between two Firebase projects quickly.

I resolved it by following these steps:

  1. Remove all Firebase related DNS records from your DNS provider
  2. Unlink your custom domain from your current project's hosting console
  3. Start the linking process again. The TXT records may have changed, so double check them before applying them to your DNS configuration
  4. Wait 5-10 minutes and re-verify your custom domain with your Firebase project.
  5. Verify that the TXT records are propagated -- You can check using dig TXT example.com on command line, or a web tool like this one. The TXT records should look similar to this:

    ;QUESTION
    example.com. IN TXT
    ;ANSWER
    example.com. 299 IN TXT "firebase=examplefirebase"
    example.com. 299 IN TXT "globalsign-domain-verification=21qwertyjklRSFsjalkfe432dswlaGgi2Bafsad"
    


来源:https://stackoverflow.com/questions/37353907/firebase-hosting-custom-domain-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!