-
Notifications
You must be signed in to change notification settings - Fork 4
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
lens_correction example running error #248
Comments
Looks like you don’t have a mongo server running in a way render can connect to. I like to use docker compose to run render and mongo. Here is an example in render python |
If render is running properly on your local host and you can access data via the web browser than you might have a dns issue. Local host from with the asap docker container means the docker local host, not your computer. You can either give the actual ip of your computer, or change the docker network mode to host mode to avoid this issue. Typically we run render on a different server than we run the modules and then we supply the host name of that server. Or during testing we run all 3 images in the same docket compose stack and provide the name of the render pod service as an environment variable so it connects via the docker network dns name. |
Thanks for the timely response and i will try to run it again! |
i successfully run a network service by: "docker run -p 8080:8080 -e "MONGO_HOST=localhost" --rm render-ws:latest" command. But, when i try to run an example in lens correction part by:"python apply_lens_correction.py" or "python -m asap.lens_correction.apply_lens_correction --input_json <input_parameter_json_file> --output_json <output_json_file>", it failed. The error like this:
how can i solve the problem and could you give an easily running example?
The text was updated successfully, but these errors were encountered: