Any pointers on how to debug this error "Metadata ...
# ask-metaflow
f
Any pointers on how to debug this error "Metadata request (/flows/UseImageFlow) failed (code 504): {"message": "Endpoint request timed out"}"
v
does it happen every time or only sometimes?
f
this just started happening. And now it is happening every time
v
it sounds like something is off with the metadata service deployment. Can you share more how you deployed Metaflow? Is it the default deployment on AWS with our standard CloudFormation templates or something else?
f
yup. the deployment was with the standard cloudformation template...all of a sudden it started working again. Just curious if there is a way to debug this issue
b
@freezing-fall-81026 @straight-shampoo-11124 I'm running into the same error for all jobs today. how did you resolve it? what could be causing the issue?
v
find out the metadata service url like this:
Copy code
metaflow configure show | grep METAFLOW_SERVICE_URL
and then try connecting to the metadata service on the command line like this:
Copy code
curl [METADATA_SERVICE_URL]
it'll show if you are able to connect to the service at all
you should see something like
Copy code
<html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx</center>
</body>
</html>
if the connection works ok
if not, then it's some other AWS/networking issue