-
Notifications
You must be signed in to change notification settings - Fork 212
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
[BUG] ConnectionReset on AWS lambda - registry #647
Comments
Interesting!
graphistry.register(api=3, protocol='https', server='hub.graphistry.com', ...
|
Yes, I've performed a curl from my machine, from a regular lambda, from a docker container.
Yes.
Actually didn't try that, but not sure why a retry would be needed.
Previous iteration of this code had the server and/or protocol specified, always the same result. I've pretty much tried every combination of parameters of the register function.
I get a connection successfull. |
So the python httpx version works from the serverless, while request-based (pygraphistry default) doesn't? It's hard to imagine what is different there, that sounds like a client env thing. For example, I think request obeys SOCKS proxy overrides, while httpx might not. It does point to a client issue vs server issue, but I'm still confused if a pygraphistry bug or your python env / server setup, like the SOCKS issue
|
Describe the bug
When running graphistry on a lambda (in this case using a Docker container) I have a ConnectionResetError on the registry step.
If I run the code locally, the issue does not occur.
To Reproduce
Code, including data, than can be run without editing:
Expected behavior
I should be able to successfully register.
Actual behavior
I get the ConnectionResetError (see screenshot attached).
Screenshots
![Image](https://private-user-images.githubusercontent.com/107563217/406897477-2e308433-19a0-4b90-b21a-1f1e6b3e1494.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MDQ4NDAsIm5iZiI6MTczOTYwNDU0MCwicGF0aCI6Ii8xMDc1NjMyMTcvNDA2ODk3NDc3LTJlMzA4NDMzLTE5YTAtNGI5MC1iMjFhLTFmMWU2YjNlMTQ5NC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQwNzI5MDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMTdjNzRhMTcxZjA4MDk5MWM0NzlhODA3NzQwMGMzYzk5ZWFiYmJiZTQyNTUwOWM4NGYyMDc4NjQ1YmIwNTVmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.GZDsGc8VJToGYATtUPhkSSUuZ7g2q0qJVv2CcOWRWwc)
Browser environment (please complete the following information):
Graphistry GPU server environment
PyGraphistry API client environment
Additional context
There is connection to hub.graphistry.com since I've performed two validations:
The text was updated successfully, but these errors were encountered: