DMMGamePlayerFastLauncher icon indicating copy to clipboard operation
DMMGamePlayerFastLauncher copied to clipboard

「リフレッシュトークンは無効です」と表示される

Open kotobukit opened this issue 9 months ago • 5 comments

OS

Windows 10

不具合の説明

v.6.2.3を利用しています。 学園アイドルマスターを起動時に表題の通り「リフレッシュトークンは無効です」というエラーが出ます。 頻度は3/18のリリース日から数えると1回起きており、今回は2回目です。 前回起きた際はアカウントの編集から該当のアカウントファイルを削除し、同名でインポートして 解決した記憶があります。

この手のトークン処理は門外漢なので話半分に見ていただきたいのですが、原因に心当たりが1つあり、 ・Chromeブラウザのプロファイルを分けて起動しており、プロファイルAでDMMログイン→インポート後にプロファイルBでDMMログインする場合があります。その時点でプロファイルAのリフレッシュトークンが無効になっているかもしれません。 「リフレッシュトークンは無効です」と表示されるのはプロファイルBでログイン後すぐに起こるものではなく、数日経ったあとに発生しているような気がしています。

現状ではこの事象が発生した際は「アカウントの編集」で一度アカウントファイルを削除してからアカウントのインポートを行っているので、 もし可能であれば、アカウントの編集等から再インポートするなどしてトークンの更新が行えると楽になるかなと思います。

エラーメッセージ

Traceback (most recent call last):
  File "launch.py", line 47, in thread
  File "launch.py", line 74, in launch
Exception: E210012: リフレッシュトークンは無効です。  {HTTPStatusCode:200 ResultCode:1 ResponseID:c513ea8b-b85a-4f03-9372-6fe2760f5890}

ログ

[DEBUG] [2025-04-02 02:02:20] ==================================================
[DEBUG] [2025-04-02 02:02:20] ===== DMMGamePlayerFastLauncher Environment =====
[DEBUG] [2025-04-02 02:02:20] ==================================================
[DEBUG] [2025-04-02 02:02:20] {'VERSION': 'v6.2.3', 'RELEASE_VERSION': 'v6.2.3', 'DEVELOP': False, 'APPDATA': WindowsPath('C:/Users/<user>/AppData/Roaming'), 'HOMEPATH': WindowsPath('C:/Users/<user>'), 'PROGURAM_FILES': WindowsPath('C:/Program Files'), 'DESKTOP': WindowsPath('C:/Users/<user>/Desktop'), 'DEFAULT_DMM_GAME_PLAYER_PROGURAM_FOLDER': WindowsPath('C:/Program Files/DMMGamePlayer'), 'DEFAULT_DMM_GAME_PLAYER_DATA_FOLDER': WindowsPath('C:/Users/<user>/AppData/Roaming/dmmgameplayer5'), 'DMM_GAME_PLAYER_HIDDEN_FOLDER': WindowsPath('C:/Users/<user>/.DMMGamePlayer'), 'SYSTEM_ROOT': WindowsPath('C:/Windows'), 'SYSTEM32': WindowsPath('C:/Windows/System32'), 'SCHTASKS': WindowsPath('C:/Windows/System32/schtasks.exe')}
[DEBUG] [2025-04-02 02:02:20] {'last_version': 'v6.2.3', 'dmm_game_player_program_folder': 'C:\\Program Files\\DMMGamePlayer', 'dmm_game_player_data_folder': 'C:\\Users\\<user>\\AppData\\Roaming\\dmmgameplayer5', 'proxy_all': '', 'dmm_proxy_all': '', 'lang': 'ja_JP', 'theme': 'blue', 'theme_font': 'theme', 'appearance_mode': 'dark', 'window_scaling': 1.0, 'debug_window': True, 'output_logfile': False, 'mask_token': True}
[DEBUG] [2025-04-02 02:02:20] {'mac_address': '06:72:05:1e:18:2a', 'hdd_serial': 'ce11ab5d3466d62b61789fedbe4d5b288ce088331ef069afb4393d66daa5147a', 'motherboard': '83fb6fc87c5c2c522126f44d2f70135dfdc042417f4a4e6bc018a0311b04c993', 'user_os': 'win'}
[DEBUG] [2025-04-02 02:02:20] {'DATA': WindowsPath('data'), 'ACCOUNT': WindowsPath('data/account'), 'ACCOUNT_SHORTCUT': WindowsPath('data/account_shortcut'), 'SHORTCUT': WindowsPath('data/shortcut'), 'LOG': WindowsPath('data/log'), 'APP_CONFIG': WindowsPath('data/config.json'), 'SCHTASKS': WindowsPath('data/schtasks'), 'DEVICE': WindowsPath('data/device.json')}
[DEBUG] [2025-04-02 02:02:20] {'PATH': WindowsPath('assets'), 'I18N': WindowsPath('assets/i18n'), 'ICONS': WindowsPath('assets/icons'), 'LICENSE': WindowsPath('assets/license/LICENSE'), 'TEMPLATE': WindowsPath('assets/template'), 'THEMES': WindowsPath('assets/themes'), 'ICON_MAIN': WindowsPath('assets/icons/DMMGamePlayerFastLauncher.ico'), 'SCHTASKS': WindowsPath('assets/template/schtasks.xml'), 'SHORTCUT': WindowsPath('assets/template/shortcut.ps1')}
[DEBUG] [2025-04-02 02:02:20] {'CONTRIBUTION': 'https://github.com/fa0311/DMMGamePlayerFastLauncher', 'RELEASE_API': 'https://api.github.com/repos/fa0311/DMMGamePlayerFastLauncher/releases/latest', 'RELEASE': 'https://github.com/fa0311/DMMGamePlayerFastLauncher/releases/latest', 'DONATE': 'https://github.com/sponsors/fa0311', 'ISSUE': 'https://github.com/fa0311/DMMGamePlayerFastLauncher/issues/new'}
[DEBUG] [2025-04-02 02:02:20] {'FILE': 'schtasks_v1_{0}_{1}', 'NAME': '\\Microsoft\\Windows\\DMMGamePlayerFastLauncher\\{0}'}
[DEBUG] [2025-04-02 02:02:20] ['C:\\Users\\<user>\\AppData\\Roaming\\DMMGamePlayerFastLauncher\\DMMGamePlayerFastLauncher.exe', 'gakumasu', '--type', 'game']
[DEBUG] [2025-04-02 02:02:20] ==================================================
[DEBUG] [2025-04-02 02:02:20] ==================================================
[DEBUG] [2025-04-02 02:02:20] ==================================================
[DEBUG] [2025-04-02 02:02:20] STREAM b'IHDR' 16 13
[DEBUG] [2025-04-02 02:02:20] STREAM b'pHYs' 41 9
[DEBUG] [2025-04-02 02:02:20] STREAM b'IDAT' 62 8192
[INFO] [2025-04-02 02:02:20] READ dmmgame.cnf {'defaultInstallDir': 'G:\\Game', 'contents': [{'productId': 'umamusume', 'gameType': 'GCL', 'detail': {'installed': True, 'version': '2.13.0', 'shortcut': '', 'path': 'I:\\game\\Cygames\\Uma\\Umamusume', 'keyBindSettingVer': ''}}, {'productId': 'imascgstage', 'gameType': 'GCL', 'detail': {'installed': True, 'version': '11.2.0', 'shortcut': '', 'path': 'I:\\game\\Cygames\\Deremas\\imascgstage', 'keyBindSettingVer': ''}}, {'productId': 'gp_xw51uj68', 'gameType': 'AMAIN', 'detail': {'installed': True, 'version': '0525', 'shortcut': '', 'path': 'I:\\game\\nine_kokoiro', 'keyBindSettingVer': ''}}, {'productId': 'gp_n0ha289g', 'gameType': 'AMAIN', 'detail': {'installed': True, 'version': '0425', 'shortcut': '', 'path': 'I:\\game\\palette_sorairo', 'keyBindSettingVer': ''}}, {'productId': 'gakumas', 'gameType': 'GCL', 'detail': {'installed': True, 'version': '1.10.1', 'shortcut': '', 'path': 'G:\\Game\\gakumas', 'keyBindSettingVer': ''}}]}
[INFO] [2025-04-02 02:02:20] json {'product_id': 'gakumas', 'game_type': 'GCL', 'game_os': 'win', 'launch_type': 'LIB', 'mac_address': '06:72:05:1e:18:2a', 'hdd_serial': 'ce11ab5d3466d62b61789fedbe4d5b288ce088331ef069afb4393d66daa5147a', 'motherboard': '83fb6fc87c5c2c522126f44d2f70135dfdc042417f4a4e6bc018a0311b04c993', 'user_os': 'win'}
[DEBUG] [2025-04-02 02:02:20] Starting new HTTPS connection (1): apidgp-gameplayer.games.dmm.com:443
[DEBUG] [2025-04-02 02:02:21] https://apidgp-gameplayer.games.dmm.com:443 "POST /v5/r2/launch/cl HTTP/1.1" 200 182
[INFO] [2025-04-02 02:02:21] application/json {"result_code":203,"data":null,"error":"E210012: リフレッシュトークンは無効です。  {HTTPStatusCode:200 ResultCode:1 ResponseID:1cf6c1ee-60a8-479a-8308-bca78aca27f7}"}

kotobukit avatar Apr 01 '25 17:04 kotobukit

I have the same problem,thanks for your solution!

xero127 avatar Apr 07 '25 10:04 xero127

この現象ですが、DMM Game Playerからログアウトされてる状況で発生しますね。DMM Game Playerを起動してログインし直す作業が必要のようです

Zaki-XL avatar Apr 08 '25 16:04 Zaki-XL

DMM Game Player でトークンが切れた際にどのような挙動をするのか調査する必要があり、時間がかかりそうです もしくは、ログインし直すためのウィンドウを表示できたらと思います

fa0311 avatar Apr 12 '25 07:04 fa0311

根本的な解決にはなっていませんが、v6.3 からブラウザからインポートをしたアカウントで起動する際にトークンが切れてた場合に自動で再ログインを行うようになりました

他のインポート方法ではサポートされないためブラウザログインを利用することをおすすめします

fa0311 avatar Apr 20 '25 09:04 fa0311

v6.3.2にて「自動でログインセッションを更新する」にチェックを入れているにもかかわらず以前と同様に「リフレッシュトークンは無効です」のエラーが出るようになってしまいました。 以下にエラーメッセージとデバッグログの方を載せさせていただきます。

Traceback (most recent call last):
  File "launch.py", line 47, in thread
  File "launch.py", line 90, in launch
Exception: E210012: リフレッシュトークンは無効です。  {HTTPStatusCode:200 ResultCode:1 ResponseID:661be16c-7911-40ac-b8d3-761450556905}
[DEBUG] [2025-05-05 22:53:04] ==================================================
[DEBUG] [2025-05-05 22:53:04] ===== DMMGamePlayerFastLauncher Environment =====
[DEBUG] [2025-05-05 22:53:04] ==================================================
[DEBUG] [2025-05-05 22:53:04] {'VERSION': 'v6.3.2', 'RELEASE_VERSION': 'v6.3.2', 'DEVELOP': False, 'APPDATA': WindowsPath('C:/Users/<user>/AppData/Roaming'), 'HOMEPATH': WindowsPath('C:/Users/<user>'), 'PROGURAM_FILES': WindowsPath('C:/Program Files'), 'DESKTOP': WindowsPath('C:/Users/<user>/Desktop'), 'DEFAULT_DMM_GAME_PLAYER_PROGURAM_FOLDER': WindowsPath('C:/Program Files/DMMGamePlayer'), 'DEFAULT_DMM_GAME_PLAYER_DATA_FOLDER': WindowsPath('C:/Users/<user>/AppData/Roaming/dmmgameplayer5'), 'DMM_GAME_PLAYER_HIDDEN_FOLDER': WindowsPath('C:/Users/<user>/.DMMGamePlayer'), 'SYSTEM_ROOT': WindowsPath('C:/Windows'), 'SYSTEM32': WindowsPath('C:/Windows/System32'), 'SCHTASKS': WindowsPath('C:/Windows/System32/schtasks.exe')}
[DEBUG] [2025-05-05 22:53:04] {'last_version': 'v6.3.2', 'dmm_game_player_program_folder': 'C:\\Program Files\\DMMGamePlayer', 'dmm_game_player_data_folder': 'C:\\Users\\<user>\\AppData\\Roaming\\dmmgameplayer5', 'proxy_all': '', 'dmm_proxy_all': '', 'lang': 'ja_JP', 'theme': 'blue', 'theme_font': 'theme', 'appearance_mode': 'dark', 'window_scaling': 1.0, 'debug_window': True, 'output_logfile': False, 'mask_token': True}
[DEBUG] [2025-05-05 22:53:04] {'mac_address': '06:72:05:1e:18:2a', 'hdd_serial': 'ce11ab5d3466d62b61789fedbe4d5b288ce088331ef069afb4393d66daa5147a', 'motherboard': '83fb6fc87c5c2c522126f44d2f70135dfdc042417f4a4e6bc018a0311b04c993', 'user_os': 'win'}
[DEBUG] [2025-05-05 22:53:04] {'DATA': WindowsPath('data'), 'ACCOUNT': WindowsPath('data/account'), 'ACCOUNT_SHORTCUT': WindowsPath('data/account_shortcut'), 'SHORTCUT': WindowsPath('data/shortcut'), 'BROWSER_PROFILE': WindowsPath('data/browser_profile'), 'BROWSER_CONFIG': WindowsPath('data/browser_config'), 'LOG': WindowsPath('data/log'), 'APP_CONFIG': WindowsPath('data/config.json'), 'SCHTASKS': WindowsPath('data/schtasks'), 'DEVICE': WindowsPath('data/device.json')}
[DEBUG] [2025-05-05 22:53:04] {'PATH': WindowsPath('assets'), 'I18N': WindowsPath('assets/i18n'), 'ICONS': WindowsPath('assets/icons'), 'LICENSE': WindowsPath('assets/license/LICENSE'), 'TEMPLATE': WindowsPath('assets/template'), 'THEMES': WindowsPath('assets/themes'), 'ICON_MAIN': WindowsPath('assets/icons/DMMGamePlayerFastLauncher.ico'), 'SCHTASKS': WindowsPath('assets/template/schtasks.xml'), 'SHORTCUT': WindowsPath('assets/template/shortcut.ps1')}
[DEBUG] [2025-05-05 22:53:04] {'CONTRIBUTION': 'https://github.com/fa0311/DMMGamePlayerFastLauncher', 'RELEASE_API': 'https://api.github.com/repos/fa0311/DMMGamePlayerFastLauncher/releases/latest', 'RELEASE': 'https://github.com/fa0311/DMMGamePlayerFastLauncher/releases/latest', 'DONATE': 'https://github.com/sponsors/fa0311', 'ISSUE': 'https://github.com/fa0311/DMMGamePlayerFastLauncher/issues/new'}
[DEBUG] [2025-05-05 22:53:04] {'FILE': 'schtasks_v1_{0}_{1}', 'NAME': '\\Microsoft\\Windows\\DMMGamePlayerFastLauncher\\{0}'}
[DEBUG] [2025-05-05 22:53:04] ['C:\\Users\\<user>\\AppData\\Roaming\\DMMGamePlayerFastLauncher\\DMMGamePlayerFastLauncher.exe', 'gakumasu', '--type', 'game']
[DEBUG] [2025-05-05 22:53:04] ==================================================
[DEBUG] [2025-05-05 22:53:04] ==================================================
[DEBUG] [2025-05-05 22:53:04] ==================================================
[DEBUG] [2025-05-05 22:53:04] STREAM b'IHDR' 16 13
[DEBUG] [2025-05-05 22:53:04] STREAM b'pHYs' 41 9
[DEBUG] [2025-05-05 22:53:04] STREAM b'IDAT' 62 8192
[INFO] [2025-05-05 22:53:04] json None
[DEBUG] [2025-05-05 22:53:04] Starting new HTTPS connection (1): apidgp-gameplayer.games.dmm.com:443
[DEBUG] [2025-05-05 22:53:04] https://apidgp-gameplayer.games.dmm.com:443 "POST /v5/userinfo HTTP/1.1" 200 760
[INFO] [2025-05-05 22:53:04] application/json {"result_code":100,"data":{"point":1332,"point_valid":true,"chip":0,"chip_valid":true,"profile":{"dmm_games_id":"11042141","nickname":"majiangel","avatar_image":"https://webdgp-gameplayer.games.dmm.com/static/image/userProfileDefaultImage.svg"},"is_profile_registered":true,"top_display":null,"open_id":"9XmUpqTK8vxbZpXw","is_device_authentication_all":false,"is_allow_background_process":true,"is_allow_banner_popup":false,"is_allow_minimize_on_launch":false,"is_store_start_to_adult":false,"service_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NDkwNDUxODUsImlhdCI6MTc0NjQ1MzE4NSwiaXNzIjoiRE1NR0FNRVBMQVlFUiIsInVzZXJfaWQiOiI5WG1VcHFUSzh2eGJacFh3In0.Ctjnm2Ep6tJ4TNs80JKocG0lytJj257eFd7X0xJr_sw","email":"[email protected]"},"error":null}
[INFO] [2025-05-05 22:53:04] READ dmmgame.cnf {'defaultInstallDir': 'G:\\Game', 'contents': [{'productId': 'umamusume', 'gameType': 'GCL', 'detail': {'installed': True, 'version': '2.13.0', 'shortcut': '', 'path': 'I:\\game\\Cygames\\Uma\\Umamusume', 'keyBindSettingVer': ''}}, {'productId': 'imascgstage', 'gameType': 'GCL', 'detail': {'installed': True, 'version': '11.2.0', 'shortcut': '', 'path': 'I:\\game\\Cygames\\Deremas\\imascgstage', 'keyBindSettingVer': ''}}, {'productId': 'gp_xw51uj68', 'gameType': 'AMAIN', 'detail': {'installed': True, 'version': '0525', 'shortcut': '', 'path': 'I:\\game\\nine_kokoiro', 'keyBindSettingVer': ''}}, {'productId': 'gp_n0ha289g', 'gameType': 'AMAIN', 'detail': {'installed': True, 'version': '0425', 'shortcut': '', 'path': 'I:\\game\\palette_sorairo', 'keyBindSettingVer': ''}}, {'productId': 'gakumas', 'gameType': 'GCL', 'detail': {'installed': True, 'version': '1.11.1', 'shortcut': '', 'path': 'G:\\Game\\gakumas', 'keyBindSettingVer': ''}}]}
[INFO] [2025-05-05 22:53:04] json {'product_id': 'gakumas', 'game_type': 'GCL', 'game_os': 'win', 'launch_type': 'LIB', 'mac_address': '06:72:05:1e:18:2a', 'hdd_serial': 'ce11ab5d3466d62b61789fedbe4d5b288ce088331ef069afb4393d66daa5147a', 'motherboard': '83fb6fc87c5c2c522126f44d2f70135dfdc042417f4a4e6bc018a0311b04c993', 'user_os': 'win'}
[DEBUG] [2025-05-05 22:53:04] Starting new HTTPS connection (1): apidgp-gameplayer.games.dmm.com:443
[DEBUG] [2025-05-05 22:53:05] https://apidgp-gameplayer.games.dmm.com:443 "POST /v5/r2/launch/cl HTTP/1.1" 200 182
[INFO] [2025-05-05 22:53:05] application/json {"result_code":203,"data":null,"error":"E210012: リフレッシュトークンは無効です。  {HTTPStatusCode:200 ResultCode:1 ResponseID:83f8a1d6-806b-4515-b9af-cb271ba5a45e}"}

kotobukit avatar May 05 '25 13:05 kotobukit