-
Notifications
You must be signed in to change notification settings - Fork 20
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
uvicorn error when trying to load a tif #22
Comments
This comment has been minimized.
This comment has been minimized.
sorry @dzanaga I miss understood the issue. I'm not sure why uvicorn is acting weird. I've updated my uvicorn to match yours and I'm also getting this INFO: Started server process [44374]
INFO:uvicorn.error:Started server process [44374]
INFO: Waiting for application startup.
INFO:uvicorn.error:Waiting for application startup.
INFO: Application startup complete.
INFO:uvicorn.error:Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8080 (Press CTRL+C to quit)
INFO:uvicorn.error:Uvicorn running on http://127.0.0.1:8080 (Press CTRL+C to quit) but I'm able to see the docs over I'm pretty sure there is no error here, just uvicorn logging some stuff using |
checking uvicorn: https://github.com/encode/uvicorn/blob/90dbb6e09bbca488edbc9c50fef63cd3067b7cdc/uvicorn/workers.py#L21 they are using ref: encode/uvicorn#562 |
ok got it thanks! indeed if I go to |
I had this issue somehow when the server is supposed to close down it just hides and that's why you can still access the API even though it should be closed. This helped me find the process it was on and close it down properly. https://superuser.com/a/1566872/1683769 |
I'm also getting this uvicorn error, only for me I can't get to the doc page either. To test connectivity between browser machine and the rio viz host I ran python built in webserver on the same port and it responds fine, as long as I use http and not https. Python server will complain 8080 is in use if I try both at the same time (verifying that uvicorn is still running and hasn't just died and gone away). The host is a fresh Ubuntu 20.4 with rasterio and rio-viz installed via pip.
|
I tried to start a server to visualize a COG file:
When I load the page I see:
I used
rio-cogeo
to generate the COGs, strange that it's fixing the overviews...Anyways, this is the environement I am using:
Am I doing something wrong?
I also tried with other files, but it didn't work either...
The text was updated successfully, but these errors were encountered: