Can you post the output you get when running the Python script ?
I don’t get any errors when I run your script, other than the timeout of course.