vazexqi/CodingSpectator — Issue #335: Submitting data through a proxy
Author: reprogrammer
Created: 2011-11-03 15:21:38+00:00
State: open
Labels: Data Uploading

One of our participants got the following exception when he or she tried to upload his or her data:

edu.illinois.codingspectator.monitor.ui.submission.Submitter$InitializationException: org.tmatesoft.svn.core.SVNException: svn: CONNECT request failed on 'http://158.169.9.13:8012'
svn: CONNECT of 'subversion.cs.illinois.edu:443': 407 Proxy Authentication Required (https://subversion.cs.illinois.edu)
at edu.illinois.codingspectator.monitor.ui.submission.Submitter.authenticateAndInitialize(Submitter.java:72)
at edu.illinois.codingspectator.monitor.ui.submission.Submitter.promptUntilValidCredentialsOrCanceled(Submitter.java:145)
at edu.illinois.codingspectator.monitor.ui.Uploader.promptUntilValidCredentialsOrCanceled(Uploader.java:40)
at edu.illinois.codingspectator.monitor.ui.Activator.earlyStartup(Activator.java:96)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2465)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.tmatesoft.svn.core.SVNException: svn: CONNECT request failed on 'http://158.169.9.13:8012'
svn: CONNECT of 'subversion.cs.illinois.edu:443': 407 Proxy Authentication Required (https://subversion.cs.illinois.edu)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.connect(HTTPConnection.java:179)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:326)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:274)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:262)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:516)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:999)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryRoot(DAVRepository.java:130)
at org.tmatesoft.svn.core.wc.SVNCommitClient.doImport(SVNCommitClient.java:643)
at edu.illinois.codingspectator.monitor.core.submission.RemoteSVNManager.doImport(RemoteSVNManager.java:50)
at edu.illinois.codingspectator.monitor.core.submission.SVNManager.doImport(SVNManager.java:29)
at edu.illinois.codingspectator.monitor.ui.submission.Submitter.authenticateAndInitialize(Submitter.java:66)
... 8 more

I asked the participant if he or she could access to the Subversion repository in his or her web browser. The participant told me that he or she could. To configure proxies in Eclipse, one can go to "Preferences > General > Network Connections". Perhaps CodingSpectator needs to use the defined proxies of Eclipse to submit its data.