Title: Misleading message when there's no connection to the server, · Issue #17 · apache/cloudstack-csbench · GitHub
Open Graph Title: Misleading message when there's no connection to the server, · Issue #17 · apache/cloudstack-csbench
X Title: Misleading message when there's no connection to the server, · Issue #17 · apache/cloudstack-csbench
Description: An additional check is required whether the server is accessible. Currently, it just blindly tries each of the API requests: 2024/02/06 09:59:30 Failed to create domain due to: Get "http://10.0.35.120:8080/client/api/?apiKey=LIN6rqXuaJwM...
Open Graph Description: An additional check is required whether the server is accessible. Currently, it just blindly tries each of the API requests: 2024/02/06 09:59:30 Failed to create domain due to: Get "http://10.0.35....
X Description: An additional check is required whether the server is accessible. Currently, it just blindly tries each of the API requests: 2024/02/06 09:59:30 Failed to create domain due to: Get "http://10....
Opengraph URL: https://github.com/apache/cloudstack-csbench/issues/17
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Misleading message when there's no connection to the server, ","articleBody":"An additional check is required whether the server is accessible. Currently, it just blindly tries each of the API requests:\r\n\r\n```\r\n2024/02/06 09:59:30 Failed to create domain due to: Get \"http://10.0.35.120:8080/client/api/?apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q\u0026command=createDomain\u0026name=Domain-PIcJCkazXi\u0026parentdomainid=7e12782c-c3fb-11ee-bcc6-1e002000040b\u0026response=json\u0026signature=o0uRUi7kQ4nOABlxYWO%2F8o1CtB0%3D\": dial tcp 10.0.35.120:8080: connect: connection refused\r\n2024/02/06 09:59:30 Failed to create domain due to: Get \"http://10.0.35.120:8080/client/api/?apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q\u0026command=createDomain\u0026name=Domain-yJniRGHGlc\u0026parentdomainid=7e12782c-c3fb-11ee-bcc6-1e002000040b\u0026response=json\u0026signature=cKe2Ql3yDSTioi478FFnFLm0BHY%3D\": dial tcp 10.0.35.120:8080: connect: connection refused\r\n```\r\n\r\n and even though these are failing, it reports this:\r\n\r\n```\r\ntime=\"2024-02-06T09:59:30+02:00\" level=info msg=\"Created 1000 domains in 2.21 seconds\"\r\n```\r\n\r\nNote: The final table is showing the proper result:\r\n\r\n```\r\n+---------------------+-------+-------+-------+-------+--------+-----------------+-----------------+-----------------+\r\n| TYPE | COUNT | MIN | MAX | AVG | MEDIAN | 90TH PERCENTILE | 95TH PERCENTILE | 99TH PERCENTILE |\r\n+---------------------+-------+-------+-------+-------+--------+-----------------+-----------------+-----------------+\r\n| domain - All | 1000 | 0.002 | 0.022 | 0.004 | 0.003 | 0.007 | 0.009 | 0.015 |\r\n| domain - Successful | 0 | NaN | NaN | NaN | NaN | NaN | NaN | NaN |\r\n| domain - Failed | 1000 | 0.002 | 0.022 | 0.004 | 0.003 | 0.007 | 0.009 | 0.015 |\r\n+---------------------+-------+-------+-------+-------+--------+-----------------+-----------------+-----------------+\r\n```","author":{"url":"https://github.com/vladimirpetrov","@type":"Person","name":"vladimirpetrov"},"datePublished":"2024-02-06T08:13:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/17/cloudstack-csbench/issues/17"}
| 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:b1d3c173-d235-3bd1-f78a-dc1b081f711e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B870:34DA5A:13BE1E1:1B03D54:6A4EFE51 |
| html-safe-nonce | 98c30e92d7830519bc109e10d1546a24bc74a9c44869d88b7c0c2c46af79e68e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODcwOjM0REE1QToxM0JFMUUxOjFCMDNENTQ6NkE0RUZFNTEiLCJ2aXNpdG9yX2lkIjoiMzc4OTAyNjA5NDU0OTQ5OTQ3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0938d43e643de13fe2d575cef5f358c7bc0527851662d501f6bdaf893862e285 |
| hovercard-subject-tag | issue:2120199682 |
| 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/apache/cloudstack-csbench/17/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f50862686d02076a862cd192aecc3c574b49bd6d01056b1235a8c8941fbdeeba/apache/cloudstack-csbench/issues/17 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f50862686d02076a862cd192aecc3c574b49bd6d01056b1235a8c8941fbdeeba/apache/cloudstack-csbench/issues/17 |
| og:image:alt | An additional check is required whether the server is accessible. Currently, it just blindly tries each of the API requests: 2024/02/06 09:59:30 Failed to create domain due to: Get "http://10.0.35.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vladimirpetrov |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack-csbench git https://github.com/apache/cloudstack-csbench.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 716009848 |
| octolytics-dimension-repository_nwo | apache/cloudstack-csbench |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 716009848 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack-csbench |
| 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 | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width