GraphQL query returns 403 error when the instance is behind proxy
The GitLab service is installed on a LAN server.
Our company needs to use a proxy to access the network. I don't know whether this is related to this.
Checklist
-
I'm using the latest version of the extension - Extension version: v3.28.0
-
I'm using the latest VS Code version - VS Code version: 1.59.0
-
I'm using a supported version of GitLab - GitLab version: 14.1.2
Steps to reproduce
I set up the extension according to the "README".
The Settings related to VS Code are as follows:
- "http.proxy": "http://proxy.xxx.com:8080/",
- "http.proxySupport": "off",
- "gitlab.instanceUrl": "http://git.xxx.com/",
Relevant logs
GraphQL Error (Code: 403): {"response":{"error":"","status":403},"request":{"query":"\n \n fragment projectDetails on Project {\n id\n name\n description\n httpUrlToRepo\n sshUrlToRepo\n fullPath\n webUrl\n wikiEnabled\n group {\n id\n }\n }\n\n query GetProject($projectPath: ID!) {\n project(fullPath: $projectPath) {\n ...projectDetails\n }\n }\n","variables":{"projectPath":"soc/platform/platform_project"}}} Error: GraphQL Error (Code: 403): {"response":{"error":"","status":403},"request":{"query":"\n \n fragment projectDetails on Project {\n id\n name\n description\n httpUrlToRepo\n sshUrlToRepo\n fullPath\n webUrl\n wikiEnabled\n group {\n id\n }\n }\n\n query GetProject($projectPath: ID!) {\n project(fullPath: $projectPath) {\n ...projectDetails\n }\n }\n","variables":{"projectPath":"soc/platform/platform_project"}}} at GraphQLClient. (/home/tda4/.vscode-server/extensions/gitlab.gitlab-workflow-3.28.0/node_modules/graphql-request/dist/index.js:170:35) at step (/home/tda4/.vscode-server/extensions/gitlab.gitlab-workflow-3.28.0/node_modules/graphql-request/dist/index.js:63:23) at Object.next (/home/tda4/.vscode-server/extensions/gitlab.gitlab-workflow-3.28.0/node_modules/graphql-request/dist/index.js:44:53) at fulfilled (/home/tda4/.vscode-server/extensions/gitlab.gitlab-workflow-3.28.0/node_modules/graphql-request/dist/index.js:35:58) at processTicksAndRejections (internal/process/task_queues.js:93:5)
bug devopscreate groupcode review ~"Category:Editor Extension" ~"VS Code"