## WeBWorK Main Forum

### Proctored exam error

by Alex Jordan -
Number of replies: 3
Hello,

I am trying to learn how to use Gateway exams. I believe everything is working fine for unproctored exams.

However with proctored exams, we are getting error messages after the proctor's password is entered. The error message is pasted below. This same error message appears whether a student or professor tries to access the quiz, and whether or not the password field has been left blank in the set details (which controls whether students enter a password given to them verbally by the proctor, or whether the proctor is expected to give login information on each student's screen).

In the error message below, user alex.jordan refers to the user that was trying to access the quiz.

I looked around the forums and in other resources, but I can't find any documentation of this kind of error. Can anyone with some more expertise help us figure this out?

## WeBWorK error

An error occured while processing your request. For help, please send mail to this site's webmaster (bhirr@uoregon.edu), including all of the following information as well as what what you were doing when the error occured.

Wed Mar 20 14:28:39 2013

### Error messages

addKey: user alex.jordan not found at /opt/webwork/webwork2/lib/WeBWorK/Authen.pm line 722

### Call stack

The information below can help locate the source of the problem.

• in Carp::croak called at line 780 of /opt/webwork/webwork2/lib/WeBWorK/DB.pm
• in WeBWorK::DB::addKey called at line 722 of /opt/webwork/webwork2/lib/WeBWorK/Authen.pm
• in WeBWorK::Authen::create_session called at line 157 of /opt/webwork/webwork2/lib/WeBWorK/Authen/Proctor.pm
• in WeBWorK::Authen::Proctor::create_session called at line 520 of /opt/webwork/webwork2/lib/WeBWorK/Authen.pm
• in WeBWorK::Authen::verify_normal_user called at line 308 of /opt/webwork/webwork2/lib/WeBWorK/Authen.pm
• in WeBWorK::Authen::do_verify called at line 217 of /opt/webwork/webwork2/lib/WeBWorK/Authen.pm
• in WeBWorK::Authen::verify called at line 343 of /opt/webwork/webwork2/lib/WeBWorK.pm

### Request information

Method POST
URI /webwork2/PCC004-12013/proctored_quiz_mode/QuizExperiment/
 Shib-AuthnContext-Class uobannerid email uoempltitle1 Content-Type application/x-www-form-urlencoded uoempldept1 Shib-Authentication-Instant Shib-AuthnContext-Decl Shib-Session-ID duckid givenname Accept-Encoding gzip,deflate sn displayname Host webwork.uoregon.edu Shib-Authentication-Method Shib-Session-Index Shib-Application-ID Connection keep-alive uoempldept2 Content-Length 187 Shib-Cookie-Name REMOTE_USER uoofficephone Shib-Identity-Provider Keep-Alive 115 Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 User-Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28 Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 uoempltitle2 uoofficelocation Referer https://webwork.uoregon.edu/webwork2/PCC004-12013/proctored_quiz_mode/QuizExperiment/?effectiveUser=alex.jordan&user=alex.jordan&theme=&key=X4LNk5bpKBDa7YLdNNtisAJmqdUxCN3c Shib-Assertion-Count Cookie WeBWorKCourseAuthen.PCCLAB-12345=alex.jordan%09Vza8xeuzks4NT2TDNwcGyT9hZ8zPQNav%091363803370; WeBWorKCourseAuthen.PCC065-10123=alex.jordan%09DpMnCC8q19MbZeyKu23fWpZEbWlxebVc%091363804810; WeBWorKCourseAuthen.PCC004-12013=alex.jordan%09X4LNk5bpKBDa7YLdNNtisAJmqdUxCN3c%091363814916; __utma=224906949.552902288.1329508794.1329508794.1361989794.2; mjx.menu=renderer%3ANativeMML%26%3BwarnedMML%3Atrue%26%3Bzoom%3AHover; SESSbc51b1fba59d203856b7ccf66be8fdda=4d2opapl6c8lr7no92r9dcq7u7; __utmz=224906949.1361989794.2.1.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=university%20of%20oregon Accept-Language en-us,en;q=0.5 uopersonaffiliation

### Re: Proctored exam error

by Gavin LaRose -
Hi Alex,

What version of WeBWorK are you using? I know there have been bugs in the GatewayQuiz and proctor authentication in more recent versions, and am wondering if this is representative of those. For lack of time to figure out where they all are, I am still running "2.5.0+" (I believe from the old SVN repository) on our production servers. I need to get the new version on my development server and to find some time to see where the errors are.

That said, I think Jason Aubrey (and possibly others) may be successfully running GatewayQuiz assignments on a newer version of WeBWorK, though I don't know if that includes proctored assignments. If I'm right, then there's a later version of WeBWorK that is working correctly for these assignments, and may be expertise that exceeds mine in this area.

Gavin