Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VATIC and HTTPS #105

Open
aydosj opened this issue Oct 2, 2018 · 0 comments
Open

VATIC and HTTPS #105

aydosj opened this issue Oct 2, 2018 · 0 comments

Comments

@aydosj
Copy link

aydosj commented Oct 2, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant