Title: Dialog submission always timeout · Issue #7 · slack-samples/python-message-dialogs · GitHub
Open Graph Title: Dialog submission always timeout · Issue #7 · slack-samples/python-message-dialogs
X Title: Dialog submission always timeout · Issue #7 · slack-samples/python-message-dialogs
Description: I use flask as web api server and define the function for request url from slack interactive component. Inside the interactive function I call another function to make device config change via ssh. After submit dialog, the dialog wont cl...
Open Graph Description: I use flask as web api server and define the function for request url from slack interactive component. Inside the interactive function I call another function to make device config change via ssh....
X Description: I use flask as web api server and define the function for request url from slack interactive component. Inside the interactive function I call another function to make device config change via ssh....
Opengraph URL: https://github.com/slack-samples/python-message-dialogs/issues/7
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Dialog submission always timeout","articleBody":"I use flask as web api server and define the function for request url from slack interactive component. Inside the interactive function I call another function to make device config change via ssh. \r\nAfter submit dialog, the dialog wont close and always print 'We had some trouble connecting. Try again?\" on top of the dialog. The rest functions will run but dialog can only be closed from 'Cancel' button. \r\nIs there a way to avoid this timeout issue? Or continue run other functions after submit the dialog? Here is the code for interactive function. Can you help? \r\n\r\n===\r\n@app.route('/user_input', methods=['POST']) #read user entered information\r\ndef user_input():\r\n global qos_input\r\n qos_input=json.loads(request.form[\"payload\"])\r\n verify()\r\n config()\r\n return make_response(\"\",200)\r\n","author":{"url":"https://github.com/cisco-cx-lab","@type":"Person","name":"cisco-cx-lab"},"datePublished":"2019-12-24T21:50:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/7/python-message-dialogs/issues/7"}
| 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:acddfc2d-f1db-930d-5d54-0b6210686a41 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E600:5644D:1A64C9:254E06:698DE967 |
| html-safe-nonce | 34583e3274b0b6bf7e78448426c4eb264edb8d14bf4963ef188523fa5edf90ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjAwOjU2NDREOjFBNjRDOToyNTRFMDY6Njk4REU5NjciLCJ2aXNpdG9yX2lkIjoiNTY2MjU5NDg1NzQ1NDkyMjA4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eff68ddf471fcbd7e05cf656903d43146b541185e2e26f8b2558ddcdf086749d |
| hovercard-subject-tag | issue:542213216 |
| 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/slack-samples/python-message-dialogs/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1412fc8f7dffc448058fee73b1f4abdb9d8cb53c40e699288599a0b0c0260fc/slack-samples/python-message-dialogs/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1412fc8f7dffc448058fee73b1f4abdb9d8cb53c40e699288599a0b0c0260fc/slack-samples/python-message-dialogs/issues/7 |
| og:image:alt | I use flask as web api server and define the function for request url from slack interactive component. Inside the interactive function I call another function to make device config change via ssh.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cisco-cx-lab |
| hostname | github.com |
| expected-hostname | github.com |
| None | 929d0ce8b653d60df0698366d7e9012f9423ea1bace40816e16e5b007242aae4 |
| turbo-cache-control | no-preview |
| go-import | github.com/slack-samples/python-message-dialogs git https://github.com/slack-samples/python-message-dialogs.git |
| octolytics-dimension-user_id | 98608411 |
| octolytics-dimension-user_login | slack-samples |
| octolytics-dimension-repository_id | 105175251 |
| octolytics-dimension-repository_nwo | slack-samples/python-message-dialogs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 105175251 |
| octolytics-dimension-repository_network_root_nwo | slack-samples/python-message-dialogs |
| 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 | 143e58641f5eb460a02eda3a18cc1ef28e8c5188 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width