sssekai icon indicating copy to clipboard operation
sssekai copied to clipboard

404s for KR and TW AssetBundleInfoNew URLs.

Open YumYummity opened this issue 7 months ago • 4 comments

Haven't checked the new ones yet, but it's erroring with a 404 since the new 4.1.1 update for TW and KR.

GET https://lf16-mkovscdn-sg.bytedgame.com/obj/sf-game-alisg/gdl_app_5245/AssetBundle/4.1.0/Release/online/android71/AssetBundleInfoNew.json 404
response=b'{"Success":-1,"error":{"code":4008,"request_id":"a41c5016434cb2d66816434c-ad7c714","message":"not found","ec":"0005-00000036","recommend_doc":"https://cloud.bytedance.net/docs/tos/docs/64db3bc855f10602a14c81dc/671f54f792fb7b0328303157"}}'
Unexpected server-side error. Refer to https://github.com/mos9527/sssekai/wiki#debugging-abcache for more information.
Traceback (most recent call last):
  File "C:\Users\YumYummity\Desktop\bot\twitch\pjsk\data\game_api\methods.py", line 624, in get_bundle_metadata
    self.cache._update_abcache_index()
  File "C:\Development\Python\Python3.10.6\lib\site-packages\sssekai\abcache\__init__.py", line 562, in _update_abcache_index
    resp = self.request_packed("GET", self.SEKAI_AB_INFO_ENDPOINT)
  File "C:\Development\Python\Python3.10.6\lib\site-packages\sssekai\abcache\__init__.py", line 492, in request_packed
    resp.raise_for_status()
  File "C:\Development\Python\Python3.10.6\lib\site-packages\requests\models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://lf16-mkovscdn-sg.bytedgame.com/obj/sf-game-alisg/gdl_app_5245/AssetBundle/4.1.0/Release/online/android71/AssetBundleInfoNew.json

GET https://lf16-mkkr.bytedgame.com/obj/sf-game-alisg/gdl_app_292248/AssetBundle/4.1.0/Release/kr_online/android63/AssetBundleInfoNew.json 404
response=b'{"Success":-1,"error":{"code":4008,"request_id":"c5e20416434d083a6816434d-af54b2f","message":"not found","ec":"0005-00000036","recommend_doc":"https://cloud.bytedance.net/docs/tos/docs/64db3bc855f10602a14c81dc/671f54f792fb7b0328303157"}}'
Unexpected server-side error. Refer to https://github.com/mos9527/sssekai/wiki#debugging-abcache for more information.
Traceback (most recent call last):
  File "C:\Users\YumYummity\Desktop\bot\twitch\pjsk\data\game_api\methods.py", line 624, in get_bundle_metadata
    self.cache._update_abcache_index()
  File "C:\Development\Python\Python3.10.6\lib\site-packages\sssekai\abcache\__init__.py", line 562, in _update_abcache_index
    resp = self.request_packed("GET", self.SEKAI_AB_INFO_ENDPOINT)
  File "C:\Development\Python\Python3.10.6\lib\site-packages\sssekai\abcache\__init__.py", line 492, in request_packed
    resp.raise_for_status()
  File "C:\Development\Python\Python3.10.6\lib\site-packages\requests\models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://lf16-mkkr.bytedgame.com/obj/sf-game-alisg/gdl_app_292248/AssetBundle/4.1.0/Release/kr_online/android63/AssetBundleInfoNew.json

YumYummity avatar May 03 '25 16:05 YumYummity

https://github.com/mos9527/sssekai/commit/2df55addc1c56968d317bff293698358730bc9f6 should really fix this. What we are doing now is pretty close to the TW game's decomp.

Do note though that auth is required for Master Data now. (which should've always been the case - the numeric suffix is not a constant and can be only retrived through user auth data).

mos9527 avatar May 04 '25 05:05 mos9527

Thanks for the update!

This was a lot more than I expected lol

YumYummity avatar May 04 '25 15:05 YumYummity

@mos9527 the AB_ENDPOINT appears to be missing a / at the end for ROW:

While downloading music/jacket/jacket_s_433 : 404 Client Error: Not Found for url: https://lf3-mkcncdn-tos.dailygn.com/obj/sf-game-lf/gdl_app_5236/AssetBundle/3.4.0/Release/cn_online1android65/music/jacket/jacket_s_433. Retrying

YumYummity avatar May 06 '25 21:05 YumYummity

@mos9527 the AB_ENDPOINT appears to be missing a / at the end for ROW:

While downloading music/jacket/jacket_s_433 : 404 Client Error: Not Found for url: https://lf3-mkcncdn-tos.dailygn.com/obj/sf-game-lf/gdl_app_5236/AssetBundle/3.4.0/Release/cn_online1android65/music/jacket/jacket_s_433. Retrying

Mb. Should be fixed in https://github.com/mos9527/sssekai/commit/182aa8587f6cbcd37bfbb117e95dd8850db950ab

mos9527 avatar May 07 '25 00:05 mos9527