cvondrick / vatic

Efficiently Scaling Up Video Annotation with Crowdsourced Marketplaces. IJCV 2012
http://mit.edu/vondrick/vatic/
MIT License
597 stars 255 forks source link

VATIC and HTTPS #105

Open aydosj opened 5 years ago

aydosj commented 5 years ago

I successfully set up VATIC offline on my own machine with http://localhost. I went through the broken procedure which failed at every step of the way. Addressed all the issue one by one and got it working.

Now I am trying to set it up on a server so more people can use. Still in offline mode as we are not posting it to mturk. Now I am posting it to a domain https://mydomain/vatic. the only things I made different was I replaced http://localhost with https://mydomain/vatic on the 000-default.conf file and config.py. On the 000-default.conf I also changed the virtual server port to 443.

When I try turkic status --verify, I get:

Testing access to Amazon Mechanical Turk... ERROR! Signature or access key missing Testing access to database server... OK Testing access to web server... ERROR! <urlopen error [Errno 110] Connection timed out>

The first one is ok as I am offline, but the last one takes a minute of more before it returns the error. i f interrrupt with CTRL-C, it seems the trace shows it was waiting on the cli.py on the line:

urllib2.urlopen( "{0}/turkic/verify.html".format(config.localhost))

When I browse to https://mydomain/vatic, I get the "Welcome to vatic" message. If I load a job and publicshit, I get an URL like https://mydomain/vatic/?id=1&hitId=offline, but I get that dreaded grey page with the "Server Error" message. The strange thing is that the apache log shows no error messages at all. Anyone has any clew what is happening?