HTTP method POST is not supported by this URL
- Dominant language
- TypeScript
- Stars
- 5.1k
- Forks
- 563
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 59
Description
### Description
Details
Resource Error: GraphQL Error (Code: 405): {"response":{"status":405,"headers":{},"body":"{\n\"origin\":\"static\",\n\"message\":\"HTTP method POST is not supported by this URL\",\n\"url\":\"http://7104365897004.serviceurl.in/database/api/gql\",\n\"status\":\"405\"\n}"},"request":{"query":"\n query serverConfig {\n serverConfig {\n ...ServerConfig\n }\n}\n \n fragment ServerConfig on ServerConfig {\n name\n version\n workspaceId\n rootURI\n containerId\n defaultAuthRole\n defaultUserTeam\n productConfiguration\n supportsCustomConnections\n sessionExpireTime\n anonymousAccessEnabled\n bindSessionToIp\n adminCredentialsSaveEnabled\n publicCredentialsSaveEnabled\n resourceManagerEnabled\n secretManagerEnabled\n configurationMode\n developmentMode\n redirectOnFederatedAuth\n distributed\n enabledFeatures\n disabledBetaFeatures\n enabledAuthProviders\n supportedLanguages {\n isoCode\n displayName\n nativeName\n }\n disabledDrivers\n forceHttps\n supportedHosts\n}\n "}}
at Re.markError (https://7104365897004.serviceurl.in/database/assets/core-Bc9MEaWt.js:1:62193)
at V6 (https://7104365897004.serviceurl.in/database/assets/vendor-DhUKh1IT.js:3:6617)
at Re.markError (https://7104365897004.serviceurl.in/database/assets/vendor-DhUKh1IT.js:3:6436)
at Object.error (https://7104365897004.serviceurl.in/database/assets/core-Bc9MEaWt.js:1:66050)
at https://7104365897004.serviceurl.in/database/assets/core-Bc9MEaWt.js:1:5113
at Je.task (https://7104365897004.serviceurl.in/database/assets/core-Bc9MEaWt.js:1:3563)
i am using ingress and my configuration looks like
extraEnvVars:
- name: CLOUDBEAVER_ROOT_URI
value: "/database/"
- name: CLOUDBEAVER_SERVICE_URI
value: "/database/api/"
### Steps to reproduce
_No response_
### Expected/Desired Behavior
It should work after this configuration as well.
### CloudBeaver Version
Cloudbeaver community 26.1.2
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by checking how the ingress routes /database/api/gql and how CLOUDBEAVER_ROOT_URI and CLOUDBEAVER_SERVICE_URI are applied to the GraphQL request. Reproduce the serverConfig request through the configured /database/ path; done means the POST reaches the GraphQL endpoint without a 405 response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, kubernetes
- Domain
- api, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100