mohankumarpaluru / oracle-freetier-instance-creation

A script to create free instance
MIT License
176 stars 34 forks source link

Handling issue with oci.exceptions.ServiceError #10

Closed mcmahobt closed 7 months ago

mcmahobt commented 7 months ago

I'm not sure if I've completed the setup correctly.

While I've followed the instructions to the best of my ability and run setup_init.sh - and get the 'Script is running successfully' message. Below shows the response that the script is running successfully.

image

When I run a ps aux, however, I don't see the script executing.

image

I tried stepping through the main.py to see where I may be erroring out, and am getting caught on an oci.exceptions.ServiceError notice - see below.

image

Any thoughts on troubleshooting?

mohankumarpaluru commented 7 months ago

try changing your API key and re-run the script , if you still encounter the same error try printing the data in error handling function

mcmahobt commented 7 months ago

Thanks for the tip! Regenerated a new keypair and loaded them up; can now see the python script running:

image

Here's hoping I get a resources in this lifetime!

mcmahobt commented 7 months ago

Author got back to me quickly and his proposed resolution seemed to resolve the issue.