Giter Site home page Giter Site logo

virtual-judge's People

Contributors

chaoshxxu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

virtual-judge's Issues

Something occurs when I crawl from Codeforces and submit to POJ.

2016-06-21 15:35:02 INFO RetryExec:95 - I/O exception (java.net.SocketException) caught when processing request to {}->http://codeforces.com:80: connect timed out
2016-06-21 15:35:02 INFO RetryExec:111 - Retrying request to {}->http://codeforces.com:80
2016-06-21 15:35:02 INFO RetryExec:95 - I/O exception (java.net.SocketException) caught when processing request to {}->http://codeforces.com:80: connect timed out
2016-06-21 15:35:02 INFO RetryExec:111 - Retrying request to {}->http://codeforces.com:80
2016-06-21 15:35:07 INFO SubmitCodeManager:40 - Create submit: #2961014 | POJ - 1112 | 2142B
2016-06-21 15:35:07 INFO RetentiveLoginer:27 - Login: POJ | Takeoffyang | SUBMIT_CODE_1112
2016-06-21 15:35:07 INFO RetryExec:95 - I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://poj.org:80: The target server failed to respond
2016-06-21 15:35:07 INFO RetryExec:111 - Retrying request to {}->http://poj.org:80
2016-06-21 15:35:08 INFO FileTool:104 - Write file: /home/admin/vj/tomcat/500-302
2016-06-21 15:35:32 INFO RetryExec:95 - I/O exception (java.net.SocketException) caught when processing request to {}->http://codeforces.com:80: connect timed out
2016-06-21 15:35:32 INFO RetryExec:95 - I/O exception (java.net.SocketException) caught when processing request to {}->http://codeforces.com:80: connect timed out
2016-06-21 15:35:32 INFO RetryExec:111 - Retrying request to {}->http://codeforces.com:80
2016-06-21 15:35:32 INFO RetryExec:111 - Retrying request to {}->http://codeforces.com:80
2016-06-21 15:36:00 INFO SessionCleaner:68 - Clean sessions: TOTAL:2 LOGIN:1 TRANSIENT:0 LEAVE:0 ABUSE:0
2016-06-21 15:36:02 INFO RetryExec:95 - I/O exception (java.net.SocketException) caught when processing request to {}->http://codeforces.com:80: connect timed out
2016-06-21 15:36:02 INFO RetryExec:111 - Retrying request to {}->http://codeforces.com:80

How to add problems to the virtual OJ?

Finally the virtual oj works under Win7.
The new virtual oj has not the ui to crawl the problems from other real oj such as uva,poj and sgu etc.
The problems presently used are former vhoj, but they are only parts.
How to add problems to the virtual OJ?

Can not submit poj problems

I started a new virtual judge, and can craw problems of poj and others like zoj.And I have also modified remote_accounts.json,but when I submit the problem, zoj answered like AC,WA.But poj was always submited failed.How to sovle this?And I looked up the logs in tomcat, exception is like this:

java.lang.RuntimeException: java.lang.RuntimeException: org.apache.http.NoHttpResponseException: poj.org:80 failed to respond
at judge.httpclient.DedicatedHttpClient.execute(DedicatedHttpClient.java:42)
at judge.httpclient.DedicatedHttpClient.execute(DedicatedHttpClient.java:51)
at judge.httpclient.DedicatedHttpClient.post(DedicatedHttpClient.java:120)
at judge.remote.provider.poj.POJLoginer.loginEnforce(POJLoginer.java:32)
at judge.remote.loginer.RetentiveLoginer.login(RetentiveLoginer.java:33)
at judge.remote.submitter.CanonicalSubmitter$SubmitTask.call(CanonicalSubmitter.java:122)
at judge.remote.submitter.CanonicalSubmitter$SubmitTask.call(CanonicalSubmitter.java:96)
at judge.remote.account.RemoteAccountRepository$1.call(RemoteAccountRepository.java:183)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.RuntimeException: org.apache.http.NoHttpResponseException: poj.org:80 failed to respond
at judge.httpclient.MultipleProxyHttpClient.execute(MultipleProxyHttpClient.java:69)
at judge.httpclient.DedicatedHttpClient.execute(DedicatedHttpClient.java:30)
... 12 more
Caused by: org.apache.http.NoHttpResponseException: poj.org:80 failed to respond
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:256)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:199)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:87)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:109)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:73)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
at judge.httpclient.MultipleProxyHttpClient.execute(MultipleProxyHttpClient.java:61)

Note: I can craw problems from poj.
So I don't know how to solve it.

How to modify the config.properties and http_client.json?

Thanks!
Using VPN to download the schema,http_client.json and remote_accounts.json successfully!
But I have some other questions:

Question 1:
How to modify the config.properties?below is my modification:

remote OJ(absolute path)

remoteAccountsConfig.location= /Users/isun/Dropbox/vjudge/config/remote_accounts.json

remoteAccountsConfig.location= D:\java\Tomcat 8.0\webapps\vjudge\WEB-INF\classes\remote_accounts.json

HTTP client(absolute path)

httpClientConfig.location= /Users/isun/Dropbox/vjudge/config/http_client.json

httpClientConfig.location= D:\java\Tomcat 8.0\webapps\vjudge\WEB-INF\classes\http_client.json

Are they correct?

Questions 2:
How to modify the http_client.json?Below are parts of mime:

"proxies" :
[
["direct"],
["http", "acm.fzu.edu.cn", 25],
["http", "5.6.7.8", 25, "user", "pwd"],
["socks", "2.3.4.5", 26]
]

the number 25 means for what?
the "user" is for which?
May you give an example?

Thanks a lot!

Private Contest 无法加载某些页面

如题,进入 Private Contest 时无法打开 Problem, Status, Rank 界面,Overview 界面能够正常打开

打开 F12 开发者工具时能够看到 a.privatePeerContestIds is not iterable 的错误

并非我一台电脑的特例,全机房的同学都打不开

请问有什么解决方法吗?

Can't download?

schema, http_client.json, remote_accounts.json can't be downlaoded. why?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.