Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unkown URI #317

Open
deKlerk opened this issue Mar 23, 2021 · 4 comments
Open

Unkown URI #317

deKlerk opened this issue Mar 23, 2021 · 4 comments
Labels
Hops Hops Grasshopper Component

Comments

@deKlerk
Copy link

deKlerk commented Mar 23, 2021

When creating a Flask app with Hops middleware and running it (either locally or online), I cannot access the endpoints that belong to Flask only, getting an "Unknown URI" error message on the webpage (no error code).

I am testing this online and remotely, after deploying it to Heroku:
https://hops-online.herokuapp.com/

There should be two endpoints:
/help
/pointat

@mcneel-build
Copy link

Linked with COMPUTE-216

@sbaer
Copy link
Member

sbaer commented Mar 24, 2021

You're too fast :) I was just experimenting with getting a Heroku instance up and you beat me to it.

Is it only the /help endpoint that is not working?

@deKlerk
Copy link
Author

deKlerk commented Mar 24, 2021

I was eager to create one since I saw your post about Hops-Server on discourse!

This happens with any Flask endpoint, not only with the /help
I first noticed it when I attempted to create a landing page for the app.
That also happened when I attempted to use another module inside a Hops component, but that requires further testing...

Great work with Hops ;)

@pearswj pearswj added the Hops Hops Grasshopper Component label Mar 24, 2021
@Noahyt
Copy link

Noahyt commented Dec 10, 2021

Has there been any work on this issue (or temporary solutions, from those of you who had the issue)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hops Hops Grasshopper Component
Projects
None yet
Development

No branches or pull requests

5 participants