-
Notifications
You must be signed in to change notification settings - Fork 22
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
Receiving You may use wrong User-Agent
when submitting to Codeforces
#117
Comments
@hotaroon Thank you for reporting! (This is well-written bugreport 😄) Conclusion: Let me wait and see how it goes. While waiting, the same issue will reported at cf-tool, or Codeforces may change the logic. ObservationI could reproduce the issue, but the precise condition is still unknown.
There are many difference between HTTP requests from online-judge-tools and from GUI browsers (e.g. referer, CSRF token, etc.), so probably one of them is the cause. LogsUser-Agent
|
I merged a commit #120 to fix this issue. I think this is fixed, but it's difficult to prove that this types of problems are truly fixed. |
同じ問題が私にも今起こりました。ojは最新です。 提出用formタグを見てみるとcsrf_tokenが設定されているようで、 これは関係ないでしょうか? |
The issue remains after the update. 😭😭 |
Okay. I'll investigate this issue again 🙇 |
I cannot reproduce this error now. All of consecutive eight submissions succeeded. It seems to be fixed, at least on my environment. @peroon 分かりにくいんですが |
@kmyk This is my detailed log.
OS is WSL.
|
hotaroonさんが書いているので書いていませんでしたが、 |
My log is also the same as hotaroon. |
I upgraded and checked.
|
Thank you for checking! |
Description
When I try to submit to Codeforces, it receives wrong User-Agent error message and this submission failed.
Error log
I have already signed into Codeforces using CUI-based login.
Environment
Ubuntu under Windows Subsystem for Linux
Windows
WSL
Python and oj
Other notes
The text was updated successfully, but these errors were encountered: