Unable to load schema for pipeline editor

Problem to solve

When i open the Pipeline editor i see an error which says:

Unable to load schema from 'http://git.mydomain.com/assets/webpack/ci.9eae55e5.json': NetworkError when attempting to fetch resource.YAML(768)

But i can access this page with a private browser window fine and see the ci.9eae55e5.json dispayed.

curl -I https://git.mydomain.com/assets/webpack/ci.9eae55e5.json

returns:

HTTP/2 200 
accept-ranges: bytes
cache-control: public
content-type: application/json
date: Fri, 27 Sep 2024 07:05:38 GMT
expires: Sat, 27 Sep 2025 07:05:38 GMT
last-modified: Wed, 25 Sep 2024 01:10:01 GMT
server: nginx
vary: Accept-Encoding
x-content-type-options: nosniff
x-content-type-options: nosniff
content-length: 89707

Steps to reproduce

This happens to all my gitlab-ci.yml files in any Project. I created a new one and had let git create the yml sample file which has the same error.

Configuration

I use aself hostet git using a docker image. The git itself is behind a traefik reverse proxy an using the docker image “gitlab/gitlab-ce:latest” I atached the sampel yml and the ci.9eae55e5.json as well as my docker compose for the git.

Versions

Please select whether options apply, and add the version information.

  • [ x ] Self-managed
  • [ x ] Self-hosted Runners

Versions

  • GitLab Shell 14.39.0
  • GitLab Workhorse v17.4.1
  • GitLab API v4
  • GitLab KAS 17.4.1
  • Ruby 3.1.5p253
  • Rails 7.0.8.4
  • PostgreSQL (main) 14.11
  • PostgreSQL (ci) 14.11
  • Redis 7.0.15

docker-compose

services:
  redis:
    restart: always
    image: redis:6.2.6
    command:
    - --loglevel warning
    volumes:
    - redis-data:/data

  db:
    restart: always
    container_name: db-gitlab
    image: sameersbn/postgresql:14
    volumes:
    - postgresql-data:/var/lib/postgresql
    environment:
    - DB_USER=gitlab
    - DB_PASS=${GIT_DB_PASS}     # <----- Change this
    - DB_NAME=gitlabhq_production
    - DB_EXTENSION=pg_trgm,btree_gist

  gitlab:
    restart: always
    image: gitlab/gitlab-ce:latest
    hostname: git.mydomain.com
    depends_on:
    - redis
    - db
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.gitlab.rule=Host(`git.mydomain.com`)"    # <----- Change this
      - "traefik.http.services.gitlab.loadbalancer.server.port=80"
      - "traefik.http.routers.gitlab.tls=true"
      - "traefik.http.routers.gitlab.tls.certresolver=letsencrypt"
      - "traefik.http.routers.gitlab.entrypoints=websecure"
      - "traefik.gitlab.redirect.permanent='true'"
      - "traefik.tcp.routers.gitlab-ssh.rule=HostSNI(`*`)"
      - "traefik.tcp.routers.gitlab-ssh.entrypoints=ssh"
      - "traefik.tcp.routers.gitlab-ssh.service=gitlab-ssh-svc"
      - "traefik.tcp.services.gitlab-ssh-svc.loadbalancer.server.port=22"
    volumes:
    - gitlab-data:/var/opt/gitlab
    - /karla/gitlab/etc:/etc/gitlab
    environment:
    - DEBUG=false
    - GITLAB_LOG_LEVEL=warn
    - DB_ADAPTER=postgresql
    - DB_HOST=db-gitlab
    - DB_PORT=5432
    - DB_USER=gitlab
    - DB_PASS=${GIT_DB_PASS}     # <----- Change this
    - DB_NAME=gitlabhq_production

    - REDIS_HOST=redis
    - REDIS_PORT=6379

    - TZ=Europe/Berlin      # <----- Change this
    - GITLAB_TIMEZONE=Berlin   # <----- Change this

    - GITLAB_HTTPS=true
    - SSL_SELF_SIGNED=false

    - GITLAB_HOST=git.mydomain.com  # <----- Change this
    - GITLAB_PORT=10080
    - GITLAB_SSH_PORT=22
    - GITLAB_RELATIVE_URL_ROOT=
    - GITLAB_SECRETS_DB_KEY_BASE=${GITLAB_SECRETS_DB_KEY_BASE}   # <----- Change this
    - GITLAB_SECRETS_SECRET_KEY_BASE=${GITLAB_SECRETS_SECRET_KEY_BASE}   # <----- Change this
    - GITLAB_SECRETS_OTP_KEY_BASE=${GITLAB_SECRETS_OTP_KEY_BASE}   # <----- Change this

    - GITLAB_ROOT_PASSWORD=${GITLAB_ROOT_PASSWORD}   # <----- Change this
    - GITLAB_ROOT_EMAIL=reply@example.com     # <----- Change this

    - GITLAB_NOTIFY_ON_BROKEN_BUILDS=true
    - GITLAB_NOTIFY_PUSHER=false

    - GITLAB_EMAIL=notifications@example.com
    - GITLAB_EMAIL_REPLY_TO=noreply@example.com
    - GITLAB_INCOMING_EMAIL_ADDRESS=reply@example.com

    - GITLAB_BACKUP_SCHEDULE=daily
    - GITLAB_BACKUP_TIME=01:00

    - SMTP_ENABLED=false
    - SMTP_DOMAIN=www.example.com
    - SMTP_HOST=smtp.gmail.com
    - SMTP_PORT=587
    - SMTP_USER=mailer@example.com
    - SMTP_PASS=password
    - SMTP_STARTTLS=true
    - SMTP_AUTHENTICATION=login

    - IMAP_ENABLED=false
    - IMAP_HOST=imap.gmail.com
    - IMAP_PORT=993
    - IMAP_USER=mailer@example.com
    - IMAP_PASS=password
    - IMAP_SSL=true
    - IMAP_STARTTLS=false

    - OAUTH_ENABLED=false
    - OAUTH_AUTO_SIGN_IN_WITH_PROVIDER=
    - OAUTH_ALLOW_SSO=
    - OAUTH_BLOCK_AUTO_CREATED_USERS=true
    - OAUTH_AUTO_LINK_LDAP_USER=false
    - OAUTH_AUTO_LINK_SAML_USER=false
    - OAUTH_EXTERNAL_PROVIDERS=

    - OAUTH_CAS3_LABEL=cas3
    - OAUTH_CAS3_SERVER=
    - OAUTH_CAS3_DISABLE_SSL_VERIFICATION=false
    - OAUTH_CAS3_LOGIN_URL=/cas/login
    - OAUTH_CAS3_VALIDATE_URL=/cas/p3/serviceValidate
    - OAUTH_CAS3_LOGOUT_URL=/cas/logout

    - OAUTH_GOOGLE_API_KEY=
    - OAUTH_GOOGLE_APP_SECRET=
    - OAUTH_GOOGLE_RESTRICT_DOMAIN=

    - OAUTH_FACEBOOK_API_KEY=
    - OAUTH_FACEBOOK_APP_SECRET=

    - OAUTH_TWITTER_API_KEY=
    - OAUTH_TWITTER_APP_SECRET=

    - OAUTH_GITHUB_API_KEY=
    - OAUTH_GITHUB_APP_SECRET=
    - OAUTH_GITHUB_URL=
    - OAUTH_GITHUB_VERIFY_SSL=

    - OAUTH_GITLAB_API_KEY=
    - OAUTH_GITLAB_APP_SECRET=

    - OAUTH_BITBUCKET_API_KEY=
    - OAUTH_BITBUCKET_APP_SECRET=
    - OAUTH_BITBUCKET_URL=

    - OAUTH_SAML_ASSERTION_CONSUMER_SERVICE_URL=
    - OAUTH_SAML_IDP_CERT_FINGERPRINT=
    - OAUTH_SAML_IDP_SSO_TARGET_URL=
    - OAUTH_SAML_ISSUER=
    - OAUTH_SAML_LABEL="Our SAML Provider"
    - OAUTH_SAML_NAME_IDENTIFIER_FORMAT=urn:oasis:names:tc:SAML:2.0:nameid-format:transient
    - OAUTH_SAML_GROUPS_ATTRIBUTE=
    - OAUTH_SAML_EXTERNAL_GROUPS=
    - OAUTH_SAML_ATTRIBUTE_STATEMENTS_EMAIL=
    - OAUTH_SAML_ATTRIBUTE_STATEMENTS_NAME=
    - OAUTH_SAML_ATTRIBUTE_STATEMENTS_USERNAME=
    - OAUTH_SAML_ATTRIBUTE_STATEMENTS_FIRST_NAME=
    - OAUTH_SAML_ATTRIBUTE_STATEMENTS_LAST_NAME=

    - OAUTH_CROWD_SERVER_URL=
    - OAUTH_CROWD_APP_NAME=
    - OAUTH_CROWD_APP_PASSWORD=

    - OAUTH_AUTH0_CLIENT_ID=
    - OAUTH_AUTH0_CLIENT_SECRET=
    - OAUTH_AUTH0_DOMAIN=
    - OAUTH_AUTH0_SCOPE=

    - OAUTH_AZURE_API_KEY=
    - OAUTH_AZURE_API_SECRET=
    - OAUTH_AZURE_TENANT_ID=

  gitlab-runner:
    image: gitlab/gitlab-runner:latest
    container_name: gitlab-runner
    restart: always
    volumes:
    - /karla/gitlab/runner-data/etc:/etc/gitlab-runner   # Correct mapping for runner config
    - /var/run/docker.sock:/var/run/docker.sock          # Correct mapping for Docker socket


networks:
  default:
    external: true
    name: web_apps_net

volumes:
  redis-data:
    driver_opts:
        type: "zfs"
        device: "karla/gitlab/redis-data"
  postgresql-data:
    driver_opts:
      type: "zfs"
      device: "karla/gitlab/postgresql-data"
  gitlab-data:
    driver_opts:
      type: "zfs"
      device: "karla/gitlab/gitlab-data"

.gitlab-ci.yml

ci.9ae55e5.json

havent found a good way to share the file yet. (too large / file.io blocked)