Hi,
I have the following sync service which is creating an error on a meta dataservice. Can I ask for help interpreting this? What is the meta dataservice? Is there a link to this logic?
sync.yml
Hello @ffejrekaburb,
Welcome to the Google Cloud Community!
The Google Compute Engine metadata service provides information about the GCP instance where your application is running. This includes details like project ID, instance ID, service accounts, and network configuration. It looks like your sync.py code is trying to access the default service account using this metadata service.
Error message shows that your application can't retrieve information from the metadata service. Error code 503 means "Service Unavailable." This could be due to:
- Temporary unavailability of the metadata service due to maintenance or other issues.
- Network connectivity problems between your application and the metadata service.
- Lack of authorization for your application to access the metadata service (though this is less likely).
For more help on troubleshooting metadata server access issues, check out the Troubleshooting Metadata Server access issues documentation.
Thank you, this helped a lot!
I'm suspecting point 3 is the concern.
For context, this is a google app engine project named sync. How do I enable authorization? My understanding is it defaults to authorized for main.py. I had to branch off with gunicorn [1] to support this service.
-- sync.yaml --
Hi @ffejrekaburb could you overcome the challenge of Metadata error? I have been struggling with the same.
No, I'm still looking for support. The root for me is another python2 to python3 change.