Title: tutorial - getting started doc - smoke test job fail with 502 Server Error: Bad Gateway · Issue #157 · microsoft/MLOpsPython · GitHub
Open Graph Title: tutorial - getting started doc - smoke test job fail with 502 Server Error: Bad Gateway · Issue #157 · microsoft/MLOpsPython
X Title: tutorial - getting started doc - smoke test job fail with 502 Server Error: Bad Gateway · Issue #157 · microsoft/MLOpsPython
Description: Subject : tutorial - getting started doc - smoke test job fail with 502 Server Error: Bad Gateway Symptom : pipeline fail with 502 Server Error: Bad Gateway Detail error message : ... 502 Server Error: Bad Gateway for url: http:// Open Graph Description: Subject : tutorial - getting started doc - smoke test job fail with 502 Server Error: Bad Gateway Symptom : pipeline fail with 502 Server Error: Bad Gateway Detail error message : ... 502 Server Er...
X Description: Subject : tutorial - getting started doc - smoke test job fail with 502 Server Error: Bad Gateway Symptom : pipeline fail with 502 Server Error: Bad Gateway Detail error message : ... 502 Server Er...
Opengraph URL: https://github.com/microsoft/MLOpsPython/issues/157
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tutorial - getting started doc - smoke test job fail with 502 Server Error: Bad Gateway","articleBody":"Subject : tutorial - getting started doc - smoke test job fail with 502 Server Error: Bad Gateway\r\n\r\nSymptom : pipeline fail with __502 Server Error: Bad Gateway__\r\n\r\nDetail error message : \r\n\r\n```\r\n...\r\n502 Server Error: Bad Gateway for url: http://\u003cACI-HOST\u003e.centralus.azurecontainer.io/score\r\nRetrying...\r\n502 Server Error: Bad Gateway for url: http://\u003cACI-HOST\u003e.centralus.azurecontainer.io/score\r\nRetrying...\r\nurl : http://\u003cACI-HOST\u003e.centralus.azurecontainer.io/score\r\ninput : {'data': [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], [10, 9, 8, 7, 6, 5, 4, 3, 2, 1]]}\r\nheaders : {'traceparent': '00-722be4574da391d0a6894d190ddc4a25-dc4ead82e44ac27a-00'}\r\nTraceback (most recent call last):\r\n File \"ml_service/util/smoke_test_scoring_service.py\", line 97, in \u003cmodule\u003e\r\n main()\r\n File \"ml_service/util/smoke_test_scoring_service.py\", line 88, in main\r\n output = call_web_service(e, args.type, args.service)\r\n File \"ml_service/util/smoke_test_scoring_service.py\", line 35, in call_web_service\r\n output = call_web_app(service.scoring_uri, headers)\r\n File \"ml_service/util/smoke_test_scoring_service.py\", line 59, in call_web_app\r\n raise e\r\n File \"ml_service/util/smoke_test_scoring_service.py\", line 55, in call_web_app\r\n response.raise_for_status()\r\n File \"/usr/local/lib/python3.7/site-packages/requests/models.py\", line 940, in raise_for_status\r\n raise HTTPError(http_error_msg, response=self)\r\nrequests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: http://\u003cACI-HOST\u003e.centralus.azurecontainer.io/score\r\n##[error]Script failed with error: Error: The process '/bin/bash' failed with exit code 1\r\n/usr/local/bin/az account clear\r\nFinishing: Smoke test\r\n```\r\n\r\nApproach : \r\n\"/ml_service/util/smoke_test_scoring_service.py\" might issue on it.\r\nBuilt test env for this smoke test score and tested.\r\nThe detail error message was \"502 Server Error: Bad Gateway error\" with below error message\r\n```\r\nValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)-\u003e(n?,m?) (size 11 is different from 10)\r\n```\r\n\r\n- model file need to input (11, 1) shape not (10, 1) shape.\r\n- used this datafile to train model : https://github.com/microsoft/MLOpsPython/blob/master/data/diabetes.csv\r\n\r\nResolution : \r\nReplaced \"/ml_service/util/smoke_test_scoring_service.py\" file input data shape \r\n```\r\ninput = {\"data\": [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],\r\n [11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]]}\r\n```\r\nReplace \"/diabetes_regression/scoring/score.py\" file input input data\r\n```\r\ninput_sample = numpy.array([\r\n [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],\r\n [11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]])\r\n```\r\nand \r\n```\r\ntest_row = '{\"data\":[[1,2,3,4,5,6,7,8,9,10,11],[11,10,9,8,7,6,5,4,3,2,1]]}'\r\n```\r\n\r\n- removed error pipeline Azure DevOps pipeline\r\n- removed deployment and model on Azure Machine Learning Workspace\r\n- recreated pipeline\r\n\r\nThe smoke test passed and pipeline works.\r\n","author":{"url":"https://github.com/CloudBreadPaPa","@type":"Person","name":"CloudBreadPaPa"},"datePublished":"2020-01-30T00:53:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/157/MLOpsPython/issues/157"}
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:451b463e-28b7-a863-7114-3051ad1c2ed8 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id E6CA:33B52B:256A80B:3434052:697CC0C8 html-safe-nonce e5ea38dc34db69402a7e8cddd3e87bf5d354a18fdca72d50dd9c4269410e6d8c visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkNBOjMzQjUyQjoyNTZBODBCOjM0MzQwNTI6Njk3Q0MwQzgiLCJ2aXNpdG9yX2lkIjoiODgwMzU3OTMwMjI5ODU2Njg1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 5f7b598a613c7d14a33547abc1e12d8f34366b46c8d1abd34969c97e8e9d6850 hovercard-subject-tag issue:557205208 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/microsoft/MLOpsPython/157/issue_layout twitter:image https://opengraph.githubassets.com/82af52972553f1c79ba28413a7c547fbde20a3d66760d98f455e7abf79eee80c/microsoft/MLOpsPython/issues/157 twitter:card summary_large_image og:image https://opengraph.githubassets.com/82af52972553f1c79ba28413a7c547fbde20a3d66760d98f455e7abf79eee80c/microsoft/MLOpsPython/issues/157 og:image:alt Subject : tutorial - getting started doc - smoke test job fail with 502 Server Error: Bad Gateway Symptom : pipeline fail with 502 Server Error: Bad Gateway Detail error message : ... 502 Server Er... og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username CloudBreadPaPa hostname github.com expected-hostname github.com None d4c783778d5800630f3410c71c48893af4e0b2c5fc0c3d1b496c01fbaf3dc168 turbo-cache-control no-preview go-import github.com/microsoft/MLOpsPython git https://github.com/microsoft/MLOpsPython.git octolytics-dimension-user_id 6154722 octolytics-dimension-user_login microsoft octolytics-dimension-repository_id 168217581 octolytics-dimension-repository_nwo microsoft/MLOpsPython octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 168217581 octolytics-dimension-repository_network_root_nwo microsoft/MLOpsPython 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 5692c2ac29cb639a6b80b3e5e21feed6755366b6 ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.