Skip to content

コンテスト中にacc nコマンドでコンテスト情報を取得できない #937

@bfs84

Description

@bfs84

Summary / 概要

コンテスト中にacc nコマンドを実行すると、認証後に"failed to get the contest information"エラーが発生し、ファイル作成とテストケースダウンロードができない。コンテスト後は正常に動作する。
※1ヶ月ほど前からこの問題が現れ始めた

Steps to reproduce / 再現方法

  1. AtCoderのコンテスト開催中にacc nコマンドを実行
  2. ユーザーIDとパスワードの入力プロンプトが表示される
  3. 正しい認証情報を入力する
  4. "failed to get the contest information"エラーが発生
  5. ファイル作成とテストケースダウンロードが失敗する

environments:
OS: macOS
マシン: MacBook Air, 1.6 GHz デュアルコアIntel Core i5
言語: JavaScript
Shell: /bin/zsh

  • version: (please write the versions of related things, e.g. $ oj --version)
    online-judge-tools 11.5.1 (+ online-judge-api-client 10.10.1)

Expected behavior / 期待される挙動

コンテスト中でも、正しい認証情報を入力すれば、コンテスト用のファイル構造が作成され、テストケースが正常にダウンロードされるべき。

Actual behavior / 実際の挙動

# 開催中のコンテスト情報をacc n abcxxxで取得
$ acc n abcxxx
# ユーザーID・パスワード入力後
failed to get the contest information
# ファイル作成・テストケースダウンロードが失敗

Other notes / その他

・コンテスト終了後に同じコマンドを実行すると正常に動作する
・この現象はコンテスト開催中のみ発生する
・認証自体は成功している(ユーザーID・パスワードは正しい)

  • Will you try to create a pull request?
    • no

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions