CouchDB CORS tests fail on jenkins and travis

jenkins:

Loading /home/jenkins/.jenkins/jobs/FieldDB/workspace/tests/SpecRunner.html
Loading Webservices info
Done waiting for user to login
Problem setting classname on a suiteDiv: unknown
There was an error making the CORS request to https://corpusdev.lingsync.org/_session the app will not function normally. Please report this.
There was a problem contacting the server to login.
Error appending div for 29
There was an error making the CORS request to https://corpusdev.lingsync.org/test-cors the app will not function normally. Please report this.
There was a problem contacting the server to upload.
Error appending div for 29
There was an error making the CORS request to https://corpusdev.lingsync.org/test-cors the app will not function normally. Please report this.
There was a problem contacting the server to upload.
Error appending div for 29
Problem setting classname on a suiteDiv: 29
Error appending div for 30
Error appending div for 30
Error appending div for 30
Problem setting classname on a suiteDiv: 30
Build step 'Execute shell' marked build as failure
Recording test results
Finished: FAILURE

Travis:

$ phantomjs tests/libs/jasmine-reporters/test/phantomjs-testrunner.js tests/SpecRunner.html
Loading tests/SpecRunner.html
Loading Webservices info
Done waiting for user to login
Problem setting classname on a suiteDiv: unknown
Error appending div for 26
Problem setting classname on a suiteDiv: 26
Error appending div for 27
Problem setting classname on a suiteDiv: 27
Error appending div for 28
Error appending div for 28
Problem setting classname on a suiteDiv: 28
There was an error making the CORS request to https://corpusdev.lingsync.org/_session the app will not function normally. Please report this.
There was a problem contacting the server to login.
Error appending div for 29
There was an error making the CORS request to https://corpusdev.lingsync.org/test-cors the app will not function normally. Please report this.
There was a problem contacting the server to upload.
Error appending div for 29
There was an error making the CORS request to https://corpusdev.lingsync.org/test-cors the app will not function normally. Please report this.
There was a problem contacting the server to upload.
Error appending div for 29
Problem setting classname on a suiteDiv: 29
Error appending div for 30
Error appending div for 30
Error appending div for 30
Problem setting classname on a suiteDiv: 30
The command "phantomjs tests/libs/jasmine-reporters/test/phantomjs-testrunner.js tests/SpecRunner.html" exited with 1.
Done. Your build exited with 1.