consent.cookiebot.com delays loading of docs.gitlab.com

Summary

Pages from https://docs.gitlab.com/ don't start rendering until https://consent.cookiebot.com/uc.js responds or times-out.

Steps to reproduce

  1. Block consent.cookiebot.com (I use pihole; alternatively you should be able to add it to /etc/hosts)
  2. Clear browser cache or use a private window with cache disabled
  3. Access https://docs.gitlab.com/

Example Project

https://docs.gitlab.com/12.10/ee/user/application_security/security_dashboard/#supported-reports

What is the current bug behavior?

The page doesn't load until https://consent.cookiebot.com/uc.js times-out.

What is the expected correct behavior?

The page continues to load, regardless of the availability of https://consent.cookiebot.com/uc.js.

Relevant logs and/or screenshots

image

image

GET /uc.js HTTP/1.1
Host: consent.cookiebot.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://docs.gitlab.com/12.10/ee/user/application_security/security_dashboard/
DNT: 1
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache

Relevant page include:

<script data-bl=j-no-m-no data-blockingmode=auto data-cbid=36a06ac5-ddb4-4f91-8337-067ad19ad8d5 data-georegions='{&#39;region&#39;:&#39;US-06&#39;,&#39;cbid&#39;:&#39;c2c1d015-6fa2-487d-aaf3-3a961d8a1984&#39;}' id=Cookiebot src='https://consent.cookiebot.com/uc.js'></script>

Output of checks

This bug happens on GitLab.com

Possible fixes