Title: 401 UNAUTHORIZED · Issue #413 · php-opencloud/openstack · GitHub
Open Graph Title: 401 UNAUTHORIZED · Issue #413 · php-opencloud/openstack
X Title: 401 UNAUTHORIZED · Issue #413 · php-opencloud/openstack
Description: I've been struggling all day, I can't figure out why it doesn't work: ` $authUrl = 'https://cs.advanced.host/v3/'; $region = 'EU'; $username = 'XXXXXX'; $password = 'XXXXXXXX'; $project = 'XXXXX'; $openstack = new OpenStack([ 'authUrl' =...
Open Graph Description: I've been struggling all day, I can't figure out why it doesn't work: ` $authUrl = 'https://cs.advanced.host/v3/'; $region = 'EU'; $username = 'XXXXXX'; $password = 'XXXXXXXX'; $project = 'XXXXX'; ...
X Description: I've been struggling all day, I can't figure out why it doesn't work: ` $authUrl = 'https://cs.advanced.host/v3/'; $region = 'EU'; $username = 'XXXXXX'; $passwor...
Opengraph URL: https://github.com/php-opencloud/openstack/issues/413
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"401 UNAUTHORIZED","articleBody":"I've been struggling all day, I can't figure out why it doesn't work:\r\n\r\n` $authUrl = 'https://cs.advanced.host/v3/';\r\n $region = 'EU';\r\n $username = 'XXXXXX';\r\n $password = 'XXXXXXXX';\r\n $project = 'XXXXX';\r\n\r\n $openstack = new OpenStack([\r\n 'authUrl' =\u003e $authUrl,\r\n 'region' =\u003e $region,\r\n 'user' =\u003e [\r\n 'name' =\u003e $username,\r\n 'password' =\u003e $password,\r\n 'domain' =\u003e ['name' =\u003e 'default', 'id' =\u003e 'default'],\r\n ],\r\n\r\n 'scope' =\u003e ['project' =\u003e ['id' =\u003e $project]],\r\n\r\n ]);\r\n\r\n $service = $openstack-\u003eobjectStoreV1();`\r\n\r\nreturn: \r\n\r\nThe remote server returned a \"401 UNAUTHORIZED\" error for the following transaction:\r\n\r\nRequest\r\n~~~~~~~\r\nPOST /v3/auth/tokens HTTP/1.1\r\nUser-Agent: GuzzleHttp/7\r\nContent-Type: application/json\r\nHost: cs.advanced.host\r\n\r\nResponse\r\n~~~~~~~~\r\nHTTP/1.1 401 UNAUTHORIZED\r\nServer: nginx/1.24.0\r\nDate: Mon, 01 Jul 2024 09:41:49 GMT\r\nContent-Type: application/json\r\nContent-Length: 109\r\nConnection: keep-alive\r\nWWW-Authenticate: Keystone uri=\"https://cs.advanced.host/v3\"\r\nVary: X-Auth-Token\r\nx-openstack-request-id: req-64cbc751-0cf0-4351-a48e-18d625303995\r\nAccess-Control-Allow-Methods: HEAD,GET,POST,PUT,PATCH,DELETE,OPTIONS\r\nAccess-Control-Allow-Headers: Content-Type,X-Requested-With,X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token\r\n\r\n{\"error\":{\"code\":401,\"message\":\"The request you have made requires authentication.\",\"title\":\"Unauthorized\"}}\r\n\r\nwhat to do?","author":{"url":"https://github.com/AlyabyevSergey","@type":"Person","name":"AlyabyevSergey"},"datePublished":"2024-07-01T09:47:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/413/openstack/issues/413"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:22331f56-f94b-3e8c-e01d-4aa9084fc9a1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B700:2D9DEF:2243DD3:2B947E0:6975E913 |
| html-safe-nonce | f93fa162f7d9688bd53aae285a18c720df78f9dd00f714888d7fceb627142147 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzAwOjJEOURFRjoyMjQzREQzOjJCOTQ3RTA6Njk3NUU5MTMiLCJ2aXNpdG9yX2lkIjoiNDgyNjUzODc1Njk5Njk4MzA1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2907c447f54972a1cbe31b6792e4b90a49964b2029d9bb7756e54cf77b7e0572 |
| hovercard-subject-tag | issue:2383367246 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/php-opencloud/openstack/413/issue_layout |
| twitter:image | https://opengraph.githubassets.com/42ded0421841b92f706f73e7d6b75243e34951ff6a0be0e9b349223eb95e26f2/php-opencloud/openstack/issues/413 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42ded0421841b92f706f73e7d6b75243e34951ff6a0be0e9b349223eb95e26f2/php-opencloud/openstack/issues/413 |
| og:image:alt | I've been struggling all day, I can't figure out why it doesn't work: ` $authUrl = 'https://cs.advanced.host/v3/'; $region = 'EU'; $username = 'XXXXXX'; $password = 'XXXXXXXX'; $project = 'XXXXX'; ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlyabyevSergey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2bce766e7450b03e00b2fc5badd417927ce33a860e78cda3e4ecb9bbd1374cc6 |
| turbo-cache-control | no-preview |
| go-import | github.com/php-opencloud/openstack git https://github.com/php-opencloud/openstack.git |
| octolytics-dimension-user_id | 8049082 |
| octolytics-dimension-user_login | php-opencloud |
| octolytics-dimension-repository_id | 32149778 |
| octolytics-dimension-repository_nwo | php-opencloud/openstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 32149778 |
| octolytics-dimension-repository_network_root_nwo | php-opencloud/openstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fcca2b8ef702b5f7f91427a6e920fa44446fe312 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width