"Error while loading the project data. Please try again." when opening Web IDE
### Summary When opening Web IDE (Url: https://gitlab.xxx.fr/-/ide/project/xxx.xxx/depweb-monitor/edit/master/-/) I have this error : ``` Error while loading the project data. Please try again. ``` ### What is the current *bug* behavior? The Web IDE does not load. ### Relevant logs and/or screenshots Javascript errors : ``` GET https://gitlab.xxx.fr/api/v4/projects/xxx.xxx%2Fdepweb-monitor 404 (Not Found) Uncaught (in promise) Error: Project not loaded xxx.xxx/depweb-monitor at project.js:31 ``` <details> <summary>Expand for all javascript logs</summary> ``` document-register-element.node.js:1296 [Deprecation] document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details. qe @ document-register-element.node.js:1296 $e.define @ document-register-element.node.js:1221 (anonymous) @ document-register-element.node.js:1401 n @ document-register-element.node.js:1397 1414 @ gl_emoji.js:4 c @ bootstrap:83 (anonymous) @ main.js:1 42 @ main.js:276 c @ bootstrap:83 (anonymous) @ sandpack.es5.js:2420 c @ bootstrap:83 t @ bootstrap:45 r @ bootstrap:32 (anonymous) @ pages.ide.082fb799.chunk.js:1 xhr.js:178 GET https://gitlab.xxx.fr/api/v4/projects/xxx.xxx%2Fdepweb-monitor 404 (Not Found) (anonymous) @ xhr.js:178 e.exports @ xhr.js:12 e.exports @ dispatchRequest.js:57 Promise.then (async) s.request @ Axios.js:51 s.(anonymous function) @ Axios.js:61 (anonymous) @ bind.js:9 project @ api.js:103 getProjectData @ index.js:41 (anonymous) @ project.js:14 Xt @ project.js:10 (anonymous) @ vuex.esm.js:704 d.dispatch @ vuex.esm.js:426 dispatch @ vuex.esm.js:332 (anonymous) @ ide_router.js:71 d @ vue-router.esm.js:1943 i @ vue-router.esm.js:1717 Ke @ vue-router.esm.js:1725 ot.confirmTransition @ vue-router.esm.js:1972 ot.transitionTo @ vue-router.esm.js:1874 mt.init @ vue-router.esm.js:2494 beforeCreate @ vue-router.esm.js:540 St @ vue.esm.js:2921 e._init @ vue.esm.js:4626 fn @ vue.esm.js:4729 id @ index.js:27 (anonymous) @ index.js:76 project.js:31 Uncaught (in promise) Error: Project not loaded xxx.xxx/depweb-monitor at project.js:31 (anonymous) @ project.js:31 Promise.catch (async) (anonymous) @ ide_router.js:95 d @ vue-router.esm.js:1943 i @ vue-router.esm.js:1717 Ke @ vue-router.esm.js:1725 ot.confirmTransition @ vue-router.esm.js:1972 ot.transitionTo @ vue-router.esm.js:1874 mt.init @ vue-router.esm.js:2494 beforeCreate @ vue-router.esm.js:540 St @ vue.esm.js:2921 e._init @ vue.esm.js:4626 fn @ vue.esm.js:4729 id @ index.js:27 (anonymous) @ index.js:76 ``` </details> ### Output of checks #### Results of Nginx configuration <details> <summary>Expand for output related to the GitLab application check</summary> ```nginx upstream gitlab { server unix:/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket fail_timeout=0; } upstream gitlab-workhorse { server unix:/var/opt/gitlab/gitlab-workhorse/socket; } server { listen 80; server_name gitlab.xxx.fr; server_tokens off; root /opt/gitlab/embedded/service/gitlab-rails/public; client_max_body_size 20m; access_log /var/log/nginx/gitlab_access.log; error_log /var/log/nginx/gitlab_error.log; location / { try_files $uri $uri/index.html $uri.html @gitlab @gitlab-workhorse; } location /uploads/ { gzip off; proxy_read_timeout 300; proxy_connect_timeout 300; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Frame-Options SAMEORIGIN; proxy_pass http://gitlab; } location @gitlab { gzip off; proxy_read_timeout 300; proxy_connect_timeout 300; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Frame-Options SAMEORIGIN; proxy_pass http://gitlab; } location ~ ^/[\w\.-]+/[\w\.-]+/gitlab-lfs/objects { error_page 418 = @gitlab-workhorse; return 418; } location ~ ^/[\w\.-]+/[\w\.-]+/(info/refs|git-upload-pack|git-receive-pack)$ { error_page 418 = @gitlab-workhorse; return 418; } location ~ ^/[\w\.-]+/[\w\.-]+/repository/archive { error_page 418 = @gitlab-workhorse; return 418; } location ~ ^/api/v3/projects/.*/repository/archive { error_page 418 = @gitlab-workhorse; return 418; } location ~ ^/[\w\.-]+/[\w\.-]+/builds/download { error_page 418 = @gitlab-workhorse; return 418; } location ~ /ci/api/v1/builds/[0-9]+/artifacts { error_page 418 = @gitlab-workhorse; return 418; } location @gitlab-workhorse { client_max_body_size 0; gzip off; proxy_read_timeout 300; proxy_connect_timeout 300; proxy_redirect off; proxy_buffering off; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_pass http://gitlab-workhorse; } location ~ ^/(assets)/ { root /opt/gitlab/embedded/service/gitlab-rails/public; gzip_static on; # to serve pre-gzipped version expires max; add_header Cache-Control public; } error_page 502 /502.html; } ``` </details> #### Results of GitLab environment info <details> <summary>Expand for output related to the GitLab application check</summary> <pre> System information System: Debian 9.6 Current User: git Using RVM: no Ruby Version: 2.5.3p105 Gem Version: 2.7.6 Bundler Version:1.16.6 Rake Version: 12.3.1 Redis Version: 3.2.12 Git Version: 2.18.1 Sidekiq Version:5.2.3 Go Version: unknown GitLab information Version: 11.6.2 Revision: 4d0c547 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: http://gitlab.xxx.fr HTTP Clone URL: http://gitlab.xxx.fr/some-group/some-project.git SSH Clone URL: git@10.1.2.67:some-group/some-project.git Using LDAP: yes Using Omniauth: yes Omniauth Providers: GitLab Shell Version: 8.4.3 Repository storage paths: - default: /home/gitlab-git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git </pre> </details>
issue