Skip to content
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

Stored empty data objects #54

Open
jonakoudijs opened this issue Feb 21, 2025 · 4 comments
Open

Stored empty data objects #54

jonakoudijs opened this issue Feb 21, 2025 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@jonakoudijs
Copy link
Member

Reported by Zadeerade on Discord.


When request app info for app id 2008980 the API returns an empty data object:

$ curl https://api.steamcmd.net/v1/info/2008980

{"data": {"2008980": {}}, "status": "success"

But when this user tried the beta API it does return the proper information:

$ curl https://api.beta.steamcmd.net/v1/info/2008980

{"data": {"2008980": {"_change_number": 27211112, "_missing_token": false, "_sha": "232402fc4687e755888f27d961123241cee665fc", "_size": 5867, "appid": "2008980", "common": {"associations": {"0": {"name": "WIZNWAR", "type": "developer"}, "1": {"name": "FLARB LLC", "type": "developer"}, "2": {"name": "FLARB LLC", "type": "publisher"}, "3": {"name": "WIZNWAR PINBALL", "type": "franchise"}}, "category": {"category_15": "1", "category_2": "1", "category_22": "1", "category_23": "1", "category_25": "1", "category_28": "1", "category_33": "1", "category_62": "1"}, "clienticon": "713ddca9a43bfd591e704c2594fd61d4a38cda03", "clienttga": "19dff438efe2094c8ad2b5b1015bc50a452ae310", "community_hub_visible": "1", "community_visible_stats": "1", "controller_support": "full", "gameid": "2008980", "genres": {"0": "1", "1": "23"}, "header_image": {"english": "header.jpg"}, "icon": "b0c6b9cd1a958b4e41fcd9b0a1b4b8828a748e8a", "library_assets": {"library_capsule": "en", "library_header": "en", "library_hero": "en", "library_logo": "en", "logo_position": {"height_pct": "100", "pinned_position": "CenterCenter", "width_pct": "57.75301943724537"}}, "library_assets_full": {"library_capsule": {"image": {"english": "library_600x900.jpg"}, "image2x": {"english": "library_600x900_2x.jpg"}}, "library_header": {"image": {"english": "ca6dd2a5d93dff9b1288d79361b330ca264eaac1/library_header.jpg"}, "image2x": {"english": "ca6dd2a5d93dff9b1288d79361b330ca264eaac1/library_header_2x.jpg"}}, "library_hero": {"image": {"english": "library_hero.jpg"}, "image2x": {"english": "library_hero_2x.jpg"}}, "library_logo": {"image": {"english": "logo.png"}, "image2x": {"english": "logo_2x.png"}, "logo_position": {"height_pct": "100", "pinned_position": "CenterCenter", "width_pct": "57.75301943724537"}}}, "name": "XENOTILT", "osarch": "64", "osextended": "", "oslist": "windows", "primary_genre": "1", "releasestate": "released", "review_percentage": "96", "review_score": "9", "small_capsule": {"english": "capsule_231x87.jpg"}, "steam_deck_compatibility": {"category": "3", "configuration": {"gamescope_frame_limiter_not_supported": "0", "non_deck_display_glyphs": "0", "primary_player_is_controller_slot_0": "0", "recommended_runtime": "proton-8.0-4", "requires_h264": "1", "requires_internet_for_setup": "0", "requires_internet_for_singleplayer": "0", "requires_manual_keyboard_invoke": "0", "requires_non_controller_launcher_nav": "0", "small_text": "0", "supported_input": "gamepad"}, "test_timestamp": "1694822400", "tested_build_id": "12170965", "tests": {"0": {"display": "4", "token": "#SteamDeckVerified_TestResult_DefaultControllerConfigFullyFunctional"}, "1": {"display": "4", "token": "#SteamDeckVerified_TestResult_ControllerGlyphsMatchDeckDevice"}, "2": {"display": "4", "token": "#SteamDeckVerified_TestResult_InterfaceTextIsLegible"}, "3": {"display": "4", "token": "#SteamDeckVerified_TestResult_DefaultConfigurationIsPerformant"}}}, "steam_release_date": "1731449350", "store_asset_mtime": "1731545628", "store_tags": {"0": "4885", "1": "1646", "10": "1667", "11": "7481", "12": "19", "13": "599", "14": "4305", "15": "3964", "16": "4604", "17": "3952", "18": "3942", "19": "4182", "2": "4255", "3": "3968", "4": "4026", "5": "1733", "6": "1773", "7": "3871", "8": "4791", "9": "4115"}, "supported_languages": {"brazilian": {"supported": "true"}, "english": {"full_audio": "true", "supported": "true"}, "french": {"supported": "true"}, "german": {"supported": "true"}, "italian": {"supported": "true"}, "japanese": {"supported": "true"}, "koreana": {"supported": "true"}, "latam": {"supported": "true"}, "schinese": {"supported": "true"}}, "type": "Game"}, "config": {"installdir": "XENOTILT", "launch": {"0": {"config": {"osarch": "64", "oslist": "windows"}, "executable": "XENOTILT.exe"}}, "steamcontrollerconfigdetails": {"3125400650": {"controller_type": "controller_neptune", "enabled_branches": "default", "use_action_block": "false"}}, "steamcontrollertemplateindex": "1", "steamdecktouchscreen": "1"}, "depots": {"2008981": {"manifests": {"bugsmashers": {"download": "594076288", "gid": "905317900797406753", "size": "1849568949"}, "public": {"download": "594076288", "gid": "905317900797406753", "size": "1849568949"}}}, "baselanguages": "english", "branches": {"bugsmashers": {"buildid": "17109386", "description": "Beta Preview", "timeupdated": "1737658590"}, "public": {"buildid": "17109386", "timeupdated": "1737659212"}}, "privatebranches": "1"}, "extended": {"developer": "WIZNWAR", "homepage": "https://www.xenotilt.com/", "publisher": "FLARB LLC"}, "ufs": {"maxnumfiles": "5", "quota": "1000000", "savefiles": {"0": {"path": "FLARB LLC/XENOTILT", "pattern": "*.txt", "platforms": {"1": "Windows"}, "root": "WinAppDataLocalLow"}, "1": {"path": "FLARB LLC/XENOTILT", "pattern": "*.txt", "platforms": {"1": "MacOS"}, "root": "MacAppSupport"}, "2": {"path": "FLARB LLC/XENOTILT", "pattern": "*.txt", "platforms": {"1": "Linux"}, "root": "LinuxHome"}}}}}, "status": "success"}

Normally when the API functions correctly but the Steam backend simply returned an empty response the API stores and returns this empty data set. Apparently this is incorrect behaviour seeing the fact that the Steam backend returning an empty set does not mean it is actually empty/not available.

@jonakoudijs jonakoudijs added the bug Something isn't working label Feb 21, 2025
@jonakoudijs jonakoudijs self-assigned this Feb 21, 2025
@jonakoudijs
Copy link
Member Author

Deleting the cached data and pulling the information again does not seem to fix the issue. Requesting the information via the steamcmd cli works as expected:

$ steamcmd +login anonymous +app_info_update 1 +app_info_print 2008980 +quit

Redirecting stderr to '/root/.local/share/Steam/logs/stderr.txt'
Logging directory: '/root/.local/share/Steam/logs'
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[  0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1738027521
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
AppID : 2008980, change number : 27211112/0, last change : Fri Feb 21 10:10:13 2025
"2008980"
{
	"common"
	{
		"name"		"XENOTILT"
		"type"		"Game"
		"oslist"		"windows"
		"osarch"		"64"
		"osextended"		""
		"icon"		"b0c6b9cd1a958b4e41fcd9b0a1b4b8828a748e8a"
		"clienttga"		"19dff438efe2094c8ad2b5b1015bc50a452ae310"
		"clienticon"		"713ddca9a43bfd591e704c2594fd61d4a38cda03"
		"ReleaseState"		"released"
		"steam_deck_compatibility"
		{
			"category"		"3"
			"test_timestamp"		"1694822400"
			"tested_build_id"		"12170965"
			"tests"
			{
				"0"
				{
					"display"		"4"
					"token"		"#SteamDeckVerified_TestResult_DefaultControllerConfigFullyFunctional"
				}
				"1"
				{
					"display"		"4"
					"token"		"#SteamDeckVerified_TestResult_ControllerGlyphsMatchDeckDevice"
				}
				"2"
				{
					"display"		"4"
					"token"		"#SteamDeckVerified_TestResult_InterfaceTextIsLegible"
				}
				"3"
				{
					"display"		"4"
					"token"		"#SteamDeckVerified_TestResult_DefaultConfigurationIsPerformant"
				}
			}
			"configuration"
			{
				"supported_input"		"gamepad"
				"requires_manual_keyboard_invoke"		"0"
				"requires_non_controller_launcher_nav"		"0"
				"primary_player_is_controller_slot_0"		"0"
				"non_deck_display_glyphs"		"0"
				"small_text"		"0"
				"requires_internet_for_setup"		"0"
				"requires_internet_for_singleplayer"		"0"
				"recommended_runtime"		"proton-8.0-4"
				"requires_h264"		"1"
				"gamescope_frame_limiter_not_supported"		"0"
			}
		}
		"controller_support"		"full"
		"small_capsule"
		{
			"english"		"capsule_231x87.jpg"
		}
		"header_image"
		{
			"english"		"header.jpg"
		}
		"library_assets"
		{
			"library_capsule"		"en"
			"library_hero"		"en"
			"library_logo"		"en"
			"library_header"		"en"
			"logo_position"
			{
				"pinned_position"		"CenterCenter"
				"width_pct"		"57.75301943724537"
				"height_pct"		"100"
			}
		}
		"library_assets_full"
		{
			"library_capsule"
			{
				"image"
				{
					"english"		"library_600x900.jpg"
				}
				"image2x"
				{
					"english"		"library_600x900_2x.jpg"
				}
			}
			"library_hero"
			{
				"image"
				{
					"english"		"library_hero.jpg"
				}
				"image2x"
				{
					"english"		"library_hero_2x.jpg"
				}
			}
			"library_logo"
			{
				"image"
				{
					"english"		"logo.png"
				}
				"image2x"
				{
					"english"		"logo_2x.png"
				}
				"logo_position"
				{
					"pinned_position"		"CenterCenter"
					"width_pct"		"57.75301943724537"
					"height_pct"		"100"
				}
			}
			"library_header"
			{
				"image"
				{
					"english"		"ca6dd2a5d93dff9b1288d79361b330ca264eaac1/library_header.jpg"
				}
				"image2x"
				{
					"english"		"ca6dd2a5d93dff9b1288d79361b330ca264eaac1/library_header_2x.jpg"
				}
			}
		}
		"store_asset_mtime"		"1731545628"
		"associations"
		{
			"0"
			{
				"type"		"developer"
				"name"		"WIZNWAR"
			}
			"1"
			{
				"type"		"developer"
				"name"		"FLARB LLC"
			}
			"2"
			{
				"type"		"publisher"
				"name"		"FLARB LLC"
			}
			"3"
			{
				"type"		"franchise"
				"name"		"WIZNWAR PINBALL"
			}
		}
		"primary_genre"		"1"
		"genres"
		{
			"0"		"1"
			"1"		"23"
		}
		"category"
		{
			"category_2"		"1"
			"category_22"		"1"
			"category_23"		"1"
			"category_15"		"1"
			"category_25"		"1"
			"category_28"		"1"
			"category_33"		"1"
			"category_62"		"1"
		}
		"supported_languages"
		{
			"english"
			{
				"supported"		"true"
				"full_audio"		"true"
			}
			"french"
			{
				"supported"		"true"
			}
			"italian"
			{
				"supported"		"true"
			}
			"german"
			{
				"supported"		"true"
			}
			"japanese"
			{
				"supported"		"true"
			}
			"koreana"
			{
				"supported"		"true"
			}
			"brazilian"
			{
				"supported"		"true"
			}
			"schinese"
			{
				"supported"		"true"
			}
			"latam"
			{
				"supported"		"true"
			}
		}
		"steam_release_date"		"1731449350"
		"community_visible_stats"		"1"
		"community_hub_visible"		"1"
		"gameid"		"2008980"
		"store_tags"
		{
			"0"		"4885"
			"1"		"1646"
			"2"		"4255"
			"3"		"3968"
			"4"		"4026"
			"5"		"1733"
			"6"		"1773"
			"7"		"3871"
			"8"		"4791"
			"9"		"4115"
			"10"		"1667"
			"11"		"7481"
			"12"		"19"
			"13"		"599"
			"14"		"4305"
			"15"		"3964"
			"16"		"4604"
			"17"		"3952"
			"18"		"3942"
			"19"		"4182"
		}
		"review_score"		"9"
		"review_percentage"		"96"
	}
	"extended"
	{
		"developer"		"WIZNWAR"
		"publisher"		"FLARB LLC"
		"homepage"		"https://www.xenotilt.com/"
	}
	"config"
	{
		"installdir"		"XENOTILT"
		"launch"
		{
			"0"
			{
				"executable"		"XENOTILT.exe"
				"config"
				{
					"oslist"		"windows"
					"osarch"		"64"
				}
			}
		}
		"steamcontrollertemplateindex"		"1"
		"steamdecktouchscreen"		"1"
		"steamcontrollerconfigdetails"
		{
			"3125400650"
			{
				"controller_type"		"controller_neptune"
				"enabled_branches"		"default"
				"use_action_block"		"false"
			}
		}
	}
	"depots"
	{
		"baselanguages"		"english"
		"2008981"
		{
			"manifests"
			{
				"public"
				{
					"gid"		"905317900797406753"
					"size"		"1849568949"
					"download"		"594076288"
				}
				"bugsmashers"
				{
					"gid"		"905317900797406753"
					"size"		"1849568949"
					"download"		"594076288"
				}
			}
		}
		"branches"
		{
			"public"
			{
				"buildid"		"17109386"
				"timeupdated"		"1737659212"
			}
			"bugsmashers"
			{
				"buildid"		"17109386"
				"description"		"Beta Preview"
				"timeupdated"		"1737658590"
			}
		}
		"privatebranches"		"1"
	}
	"ufs"
	{
		"quota"		"1000000"
		"maxnumfiles"		"5"
		"savefiles"
		{
			"0"
			{
				"root"		"WinAppDataLocalLow"
				"path"		"FLARB LLC/XENOTILT"
				"pattern"		"*.txt"
				"platforms"
				{
					"1"		"Windows"
				}
			}
			"1"
			{
				"root"		"MacAppSupport"
				"path"		"FLARB LLC/XENOTILT"
				"pattern"		"*.txt"
				"platforms"
				{
					"1"		"MacOS"
				}
			}
			"2"
			{
				"root"		"LinuxHome"
				"path"		"FLARB LLC/XENOTILT"
				"pattern"		"*.txt"
				"platforms"
				{
					"1"		"Linux"
				}
			}
		}
	}
}

If I am not mistaken the API currently does not automatically uses a token (flag for the info function of the steam library). Perhaps that is an issue.

@jonakoudijs
Copy link
Member Author

It seems that the responses from the Steam backend are not consistent. I tested it twice with both the live API and the FastAPI component running locally and they both failed (returned empty response). 10 minutes later I tested it again and suddenly it was able to retrieve the data:

$curl https://api.steamcmd.net/v1/info/2008980

{"data": {"2008980": {"_change_number": 27211112, "_missing_token": false, "_sha": "232402fc4687e755888f27d961123241cee665fc", "_size": 5867, "appid": "2008980", "common": {"associations": {"0": {"name": "WIZNWAR", "type": "developer"}, "1": {"name": "FLARB LLC", "type": "developer"}, "2": {"name": "FLARB LLC", "type": "publisher"}, "3": {"name": "WIZNWAR PINBALL", "type": "franchise"}}, "category": {"category_15": "1", "category_2": "1", "category_22": "1", "category_23": "1", "category_25": "1", "category_28": "1", "category_33": "1", "category_62": "1"}, "clienticon": "713ddca9a43bfd591e704c2594fd61d4a38cda03", "clienttga": "19dff438efe2094c8ad2b5b1015bc50a452ae310", "community_hub_visible": "1", "community_visible_stats": "1", "controller_support": "full", "gameid": "2008980", "genres": {"0": "1", "1": "23"}, "header_image": {"english": "header.jpg"}, "icon": "b0c6b9cd1a958b4e41fcd9b0a1b4b8828a748e8a", "library_assets": {"library_capsule": "en", "library_header": "en", "library_hero": "en", "library_logo": "en", "logo_position": {"height_pct": "100", "pinned_position": "CenterCenter", "width_pct": "57.75301943724537"}}, "library_assets_full": {"library_capsule": {"image": {"english": "library_600x900.jpg"}, "image2x": {"english": "library_600x900_2x.jpg"}}, "library_header": {"image": {"english": "ca6dd2a5d93dff9b1288d79361b330ca264eaac1/library_header.jpg"}, "image2x": {"english": "ca6dd2a5d93dff9b1288d79361b330ca264eaac1/library_header_2x.jpg"}}, "library_hero": {"image": {"english": "library_hero.jpg"}, "image2x": {"english": "library_hero_2x.jpg"}}, "library_logo": {"image": {"english": "logo.png"}, "image2x": {"english": "logo_2x.png"}, "logo_position": {"height_pct": "100", "pinned_position": "CenterCenter", "width_pct": "57.75301943724537"}}}, "name": "XENOTILT", "osarch": "64", "osextended": "", "oslist": "windows", "primary_genre": "1", "releasestate": "released", "review_percentage": "96", "review_score": "9", "small_capsule": {"english": "capsule_231x87.jpg"}, "steam_deck_compatibility": {"category": "3", "configuration": {"gamescope_frame_limiter_not_supported": "0", "non_deck_display_glyphs": "0", "primary_player_is_controller_slot_0": "0", "recommended_runtime": "proton-8.0-4", "requires_h264": "1", "requires_internet_for_setup": "0", "requires_internet_for_singleplayer": "0", "requires_manual_keyboard_invoke": "0", "requires_non_controller_launcher_nav": "0", "small_text": "0", "supported_input": "gamepad"}, "test_timestamp": "1694822400", "tested_build_id": "12170965", "tests": {"0": {"display": "4", "token": "#SteamDeckVerified_TestResult_DefaultControllerConfigFullyFunctional"}, "1": {"display": "4", "token": "#SteamDeckVerified_TestResult_ControllerGlyphsMatchDeckDevice"}, "2": {"display": "4", "token": "#SteamDeckVerified_TestResult_InterfaceTextIsLegible"}, "3": {"display": "4", "token": "#SteamDeckVerified_TestResult_DefaultConfigurationIsPerformant"}}}, "steam_release_date": "1731449350", "store_asset_mtime": "1731545628", "store_tags": {"0": "4885", "1": "1646", "10": "1667", "11": "7481", "12": "19", "13": "599", "14": "4305", "15": "3964", "16": "4604", "17": "3952", "18": "3942", "19": "4182", "2": "4255", "3": "3968", "4": "4026", "5": "1733", "6": "1773", "7": "3871", "8": "4791", "9": "4115"}, "supported_languages": {"brazilian": {"supported": "true"}, "english": {"full_audio": "true", "supported": "true"}, "french": {"supported": "true"}, "german": {"supported": "true"}, "italian": {"supported": "true"}, "japanese": {"supported": "true"}, "koreana": {"supported": "true"}, "latam": {"supported": "true"}, "schinese": {"supported": "true"}}, "type": "Game"}, "config": {"installdir": "XENOTILT", "launch": {"0": {"config": {"osarch": "64", "oslist": "windows"}, "executable": "XENOTILT.exe"}}, "steamcontrollerconfigdetails": {"3125400650": {"controller_type": "controller_neptune", "enabled_branches": "default", "use_action_block": "false"}}, "steamcontrollertemplateindex": "1", "steamdecktouchscreen": "1"}, "depots": {"2008981": {"manifests": {"bugsmashers": {"download": "594076288", "gid": "905317900797406753", "size": "1849568949"}, "public": {"download": "594076288", "gid": "905317900797406753", "size": "1849568949"}}}, "baselanguages": "english", "branches": {"bugsmashers": {"buildid": "17109386", "description": "Beta Preview", "timeupdated": "1737658590"}, "public": {"buildid": "17109386", "timeupdated": "1737659212"}}, "privatebranches": "1"}, "extended": {"developer": "WIZNWAR", "homepage": "https://www.xenotilt.com/", "publisher": "FLARB LLC"}, "ufs": {"maxnumfiles": "5", "quota": "1000000", "savefiles": {"0": {"path": "FLARB LLC/XENOTILT", "pattern": "*.txt", "platforms": {"1": "Windows"}, "root": "WinAppDataLocalLow"}, "1": {"path": "FLARB LLC/XENOTILT", "pattern": "*.txt", "platforms": {"1": "MacOS"}, "root": "MacAppSupport"}, "2": {"path": "FLARB LLC/XENOTILT", "pattern": "*.txt", "platforms": {"1": "Linux"}, "root": "LinuxHome"}}}}}, "status": "success"}

Perhaps a retry mechanism is needed.

@jonakoudijs
Copy link
Member Author

jonakoudijs commented Feb 21, 2025

These are the logs from this morning:

2025-02-21 11:52:21.049  INFO   10.42.0.11:52694 - "HEAD /v1/info/2008980 HTTP/1.1" 405

2025-02-21 11:45:42.568	 INFO   10.42.0.11:58590 - "GET /v1/info/2008980 HTTP/1.1" 200
2025-02-21 11:45:42.565	 level=INFO msg="Succesfully retrieved app info" apps=[2008980]
2025-02-21 11:45:42.565	 level=INFO msg="App info succesfully retrieved from cache" apps=[2008980]
2025-02-21 11:45:42.561	 level=INFO msg="Requested app info" apps=[2008980]

2025-02-21 11:39:08.135  INFO   10.42.0.11:56874 - "GET /v1/info/2008980 HTTP/1.1" 200
2025-02-21 11:39:08.131	 level=INFO msg="Succesfully retrieved app info" apps=[2008980]
2025-02-21 11:39:08.131	 level=INFO msg="App info succesfully retrieved from cache" apps=[2008980]
2025-02-21 11:39:08.127	 level=INFO msg="Requested app info" apps=[2008980]

2025-02-21 11:39:06.608	 INFO   10.42.0.11:32826 - "GET /v1/info/2008980 HTTP/1.1" 200
2025-02-21 11:39:06.603	 level=INFO msg="Succesfully retrieved app info" apps=[2008980]
2025-02-21 11:39:06.603	 level=INFO msg="App info succesfully retrieved from cache" apps=[2008980]
2025-02-21 11:39:06.600	 level=INFO msg="Requested app info" apps=[2008980]

2025-02-21 11:38:37.205	 INFO   10.42.0.11:39958 - "GET /v1/info/2008980 HTTP/1.1" 200
2025-02-21 11:38:37.201	 level=INFO msg="Succesfully retrieved app info" apps=[2008980]
2025-02-21 11:38:35.766	 level=INFO msg="Retrieving app info from steamclient" apps=[2008980] retry_count=0
2025-02-21 11:38:35.765	 level=INFO msg="Started requesting app info" apps=[2008980]
2025-02-21 11:38:35.765	 level=INFO msg="App info could not be found in cache" apps=[2008980]
2025-02-21 11:38:35.762	 level=INFO msg="Requested app info" apps=[2008980]

2025-02-21 11:38:23.468	 INFO   10.42.0.11:46402 - "GET /v1/info/2008980 HTTP/1.1" 200
2025-02-21 11:38:23.466	 level=INFO msg="No app has been found at Steam but the request was succesfull" apps=[2008980]
2025-02-21 11:38:23.466	 level=INFO msg="App info succesfully retrieved from cache" apps=[2008980]
2025-02-21 11:38:23.460	 level=INFO msg="Requested app info" apps=[2008980]

2025-02-21 11:10:32.905	 INFO   10.42.0.11:49532 - "GET /v1/info/2008980 HTTP/1.1" 200
2025-02-21 11:10:32.902	 level=INFO msg="No app has been found at Steam but the request was succesfull" apps=[2008980]
2025-02-21 11:10:32.902	 level=INFO msg="App info succesfully retrieved from cache" apps=[2008980]
2025-02-21 11:10:32.897	 level=INFO msg="Requested app info" apps=[2008980]

2025-02-21 10:55:38.984  INFO   10.42.0.11:42438 - "GET /v1/info/2008980 HTTP/1.1" 200
2025-02-21 10:55:38.982  level=INFO msg="No app has been found at Steam but the request was succesfull" apps=[2008980]
2025-02-21 10:55:38.981  level=INFO msg="App info succesfully retrieved from cache" apps=[2008980]
2025-02-21 10:55:38.978  level=INFO msg="Requested app info" apps=[2008980]

2025-02-21 10:55:35.854  INFO   10.42.0.11:34742 - "GET /v1/info/2008980 HTTP/1.1" 200
2025-02-21 10:55:35.849  level=INFO msg="No app has been found at Steam but the request was succesfull" apps=[2008980]
2025-02-21 10:55:35.844  level=ERROR msg="Failed in retrieving app info with error: This operation would block forever\n	Hub: <Hub '' at 0x7b93e431af20 epoll pending=0 ref=0 fileno=3440 thread_ident=0x7b93ce0006c0>\n	Handles:\n[]" apps=[2008980]
2025-02-21 10:55:32.840  level=INFO msg="Retrieving app info from steamclient" apps=[2008980] retry_count=0
2025-02-21 10:55:32.839  level=INFO msg="Started requesting app info" apps=[2008980]
2025-02-21 10:55:32.839  level=INFO msg="App info could not be found in cache" apps=[2008980]
2025-02-21 10:55:32.837  level=INFO msg="Requested app info" apps=[2008980]

2025-02-21 10:50:01.082  INFO   10.42.0.11:35676 - "GET /v1/info/2008980 HTTP/1.1" 200
2025-02-21 10:50:01.080  level=INFO msg="No app has been found at Steam but the request was succesfull" apps=[2008980]
2025-02-21 10:50:01.080  level=INFO msg="App info succesfully retrieved from cache" apps=[2008980]
2025-02-21 10:50:01.077  level=INFO msg="Requested app info" apps=[2008980]

@jonakoudijs
Copy link
Member Author

A chunk of the stored app's contained the "false" value. This should be more properly handled in the code. The hard thing about it is that I did not have not found a way until now to distinguish between incorrect data resulting in the "false" value and an app simply not existing.

To correct and keep correcting the stored data I have created another task that goes through all the stored app values in the cache database and retriggers the retrieval of app information. This task runs every 30 minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant