masterhugo
masterhugo
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
I’m using the dns of Neptune cluster and with the basic configuration of vpc and iam enabled request, but yeah, it’s only the query after I launch that next o maybe when I try to find the has_next() do something different, cause first I verify that and then I use next() to get the query results. And I catch the exception and stop sending requests to avoid more timeout on lambda after the Andrea’s comment
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
🥹
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
No description
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
My problem persist but because its the timeout connection still wait like 15 seconds even when i set ClientTimeout with loew values, like 1 or 2
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
Hmm I’m gonna try, but the problem appears after I call the query instead of the creation of the connection, I suppose that there is where the connection is going to start
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
i made public the repo 🙈
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
here is my code
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
I removed all backoff i have, but the problem persist
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
I stopped the cluster in the console just to validate this case, in production the behavior is the same but it only happens when I run multiple upserts and the database freezes with this due to high demand, so I replicated the same behavior with stopping the database, that's why I made it stop the cluster.
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
In this case is a Neptune Serverless with one instance
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
Stopped state
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
That’s right, and it’s only after I tried to call the gremlin queries with the database disabled
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
No description
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
No description
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
this is my connection code
driver_remote_connection.DriverRemoteConnection(
pool_size=1,
call_from_event_loop=True,
url=base_url,
message_serializer=serializer.GraphSONSerializersV3d0(),
headers=aws_auth_request,
read_timeout=1,
timeout=1,
)
driver_remote_connection.DriverRemoteConnection(
pool_size=1,
call_from_event_loop=True,
url=base_url,
message_serializer=serializer.GraphSONSerializersV3d0(),
headers=aws_auth_request,
read_timeout=1,
timeout=1,
)
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
I hope it will change it, I sent timeout value to the driverremoteconnection as a param but it didn’t work 🥹
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
And I tried to send different attributes like timeout from aiohttp but did the same behavior
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
I tried that read_timeout but it doesn’t work, still continue waiting to max time lambda
39 replies
ATApache TinkerPop
Created by masterhugo on 2/10/2025 in #questions
Gremlin python trying to connect Neptune WS when is down
Gremlin python 3.7.1 AWS Neptune 1.3.1.0
39 replies