jamesyonan / brenda

Blender render farm software for Amazon Web Services
Other
246 stars 67 forks source link

Getting Bad HTTP Status Code error from some Instances #4

Open toddmcintosh opened 10 years ago

toddmcintosh commented 10 years ago

I'm getting this error from some of the instances but not all of them:

    func = lambda : node.run_tasks(opts, args, conf)
  File "/usr/local/lib/python2.7/dist-packages/brenda/node.py", line 333, in run_tasks
    proj_dir = get_project(conf, blender_project)
  File "/usr/local/lib/python2.7/dist-packages/brenda/node.py", line 424, in get_project
    get_s3_project(conf, url, proj_dir)
  File "/usr/local/lib/python2.7/dist-packages/brenda/node.py", line 382, in get_s3_project
    file_len, etag = aws.s3_get(conf, s3url, fn, etag=etag)
  File "/usr/local/lib/python2.7/dist-packages/brenda/aws.py", line 92, in s3_get
    return paracurl.download(dest, url, **paracurl_kw)
paracurl.Exception: (-5, 'PC_ERR_HTTP : bad HTTP status code')

Probably my settings, but I'm having trouble figuring it out.

Any ideas?

toddmcintosh commented 10 years ago

I was able to re-run a similar job without this error. Seems as though I was trying to use subfolders in my buckets. The tutorial does specifically prescribe against this, but since the S3 console let me add subfolders, I thought it would be okay. Turns out you need to use a separate bucket for source and output areas, and no subfolders. Lesson learned!

It would be nice in the future to somehow support sub folders, especially if you want to further automate the render job launching process, but it's not biggie right now.

djoxy commented 10 years ago

I am getting the same problem now (-5, 'PC_ERR_HTTP : bad HTTP status code') on all machines and I haven't messed with a sub-folders. Can anyone show me direction what could I check to find where have I mistaken. Thanks.

djoxy commented 10 years ago

I solved the problem by a installing on a client: apt-get install python-pip gcc python-dev libcurl4-openssl-dev git

so some of those was making trouble probably.

bglawe commented 9 years ago

I had this same error. Turns out I had my project file name misspelled in .brenda.conf...

msmitty12 commented 4 years ago

I saw this error as well, and it was because I accidentally pushed the .blend file to s3 instead of the .tar.gz