tableau / TabPy

Execute Python code on the fly and display results in Tableau visualizations:
https://tableau.github.io/TabPy/
MIT License
1.56k stars 598 forks source link

deploy models from tabpy on Heroku #513

Closed Quoctran1985 closed 2 years ago

Quoctran1985 commented 3 years ago

Environment information:

Describe the issue I try to use this command "tabpy-deploy-models" on heroku but I got this error:

"requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9004): Max retries exceeded with url: /endpoints (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fde39e7ddf0>: Failed to establish a new connection: [Errno 61] Connection refused'))

I wonder how could we deploy the model here. To Reproduce Steps to reproduce the behavior: what commands to run, what files to modify, where to look for an error.

  1. Login to Heroku
  2. Open the Heroku command
  3. Type "tabpy-deploy-models" Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

nmannheimer commented 2 years ago

Hello @Quoctran1985, currently TabPy does not support the remote deployment of models which means this is not possible with Heroku. This is something we are actively exploring improving and we may have a solution in the future.

dleskosky commented 2 years ago

A feature request has been filed for this on a separate occasion, so this issue will be closed.