im not using lazada api but rather trying to ping lazada mtop with reversed egineered signature to get restock iformation through the json or whatever it is something along this line. now im facing this issue
PS C:\Users\micle\Desktop\Cursor projects\laz endpoint\store> python .\tracker.py
2025-12-11 07:26:07,271 INFO Loaded 100 proxies from C:\Users\micle\Desktop\Cursor projects\laz endpoint\store\proxies.txt
2025-12-11 07:26:07,271 INFO Initialized proxy manager with 100 proxies (TTL: 480s = 8.0min)
2025-12-11 07:26:07,273 WARNING Failed to load cookies (attempt 1/3): [Errno 13] Permission denied, retrying in 0.1s...
2025-12-11 07:26:07,374 WARNING Failed to load cookies (attempt 2/3): [Errno 13] Permission denied, retrying in 0.2s...
2025-12-11 07:26:07,595 WARNING Failed to load cookies from file after 3 attempts: [Errno 13] Permission denied
2025-12-11 07:26:07,597 INFO No existing cookies found, will warm up on first use
2025-12-11 07:26:07,597 INFO Product 3487788485: TEST MODE - Running WITHOUT proxy (first product)
2025-12-11 07:26:07,598 WARNING Product 3487788485: URL in config.json has no signed parameters - will extract on first poll
2025-12-11 07:26:07,598 INFO Product 3487815178: Assigned proxy http://sakongsa:sakongsa303_region-asiapacific_session-GzK1V... (1 proxy per product)
2025-12-11 07:26:07,598 WARNING Product 3487815178: URL in config.json has no signed parameters - will extract on first poll
2025-12-11 07:26:07,598 INFO Product 3487868077: Assigned proxy http://sakongsa:sakongsa303_region-asiapacific_session-GqJ5w... (1 proxy per product)
2025-12-11 07:26:07,599 WARNING Product 3487868077: URL in config.json has no signed parameters - will extract on first poll
2025-12-11 07:26:07,599 INFO Starting 3 polling threads...
2025-12-11 07:26:07,600 INFO [Product 3487788485] Starting polling thread
2025-12-11 07:26:07,600 INFO Started thread for Product 3487788485
2025-12-11 07:26:07,636 INFO [Product 3487815178] Starting polling thread
2025-12-11 07:26:07,636 INFO Started thread for Product 3487815178
2025-12-11 07:26:07,737 INFO [Product 3487868077] Starting polling thread
2025-12-11 07:26:07,737 INFO Started thread for Product 3487868077
2025-12-11 07:26:07,752 INFO All 3 polling threads started. Monitoring products concurrently...
Press Ctrl+C to stop...
2025-12-11 07:26:30,228 WARNING Failed to load cookies (attempt 1/3): [Errno 13] Permission denied, retrying in 0.1s...
2025-12-11 07:26:30,329 WARNING Failed to load cookies (attempt 2/3): [Errno 13] Permission denied, retrying in 0.2s...
2025-12-11 07:26:30,531 WARNING Failed to load cookies from file after 3 attempts: [Errno 13] Permission denied
2025-12-11 07:26:30,531 INFO Making API request to https://acs-m.lazada.sg/h5/mtop.global.detail.web.getdetailinfo/1.0/?jsv=2.6.1&appKey=24677475&api=m... (has signed params: False)
2025-12-11 07:26:30,532 INFO Using browser's proxy for API request: http://sakongsa:sakongsa303_region-asiapacific_session-GqJ5w...
2025-12-11 07:26:32,845 WARNING Punish detected in API response (type: rate_limit). Response keys: ['ret', 'data', 'dialogSize']
2025-12-11 07:26:32,845 WARNING API ret field: ['FAIL_SYS_USER_VALIDATE', 'RGV587_ERROR::SM::哎哟喂,被挤爆啦,请稍后重试']
2025-12-11 07:26:32,845 WARNING API data keys: ['url', 'dialogSize']
2025-12-11 07:26:32,845 WARNING URL had signed parameters: False
2025-12-11 07:26:32,846 INFO Saved punish response diagnostic to punish_response_3487868077_20251211_072632.json
[WARN] Product 3487868077: fetch error (rate_limit), consecutive=1
2025-12-11 07:26:32,846 INFO Product 3487868077: Poll returned error: rate_limit
2025-12-11 07:26:32,847 WARNING Product 3487868077: Rate limited - backing off for 41.7s (base: 30s + 11.7s jitter, consecutive errors: 1)
[MODE] Product 3487868077: idle → error_backoff (rate_limit (backoff 41.7s, consecutive=1)) | next poll in 41.7s
2025-12-11 07:26:32,847 INFO Product 3487868077: Mode changed idle → error_backoff (rate_limit (backoff 41.7s, consecutive=1)), interval=41.7s
2025-12-11 07:26:35,995 INFO TEST MODE: Running without proxy for this product
2025-12-11 07:26:35,996 WARNING Failed to load cookies (attempt 1/3): [Errno 13] Permission denied, retrying in 0.1s...
2025-12-11 07:26:36,098 WARNING Failed to load cookies (attempt 2/3): [Errno 13] Permission denied, retrying in 0.2s...
2025-12-11 07:26:36,300 WARNING Failed to load cookies from file after 3 attempts: [Errno 13] Permission denied
2025-12-11 07:26:36,300 INFO Making API request to https://acs-m.lazada.sg/h5/mtop.global.detail.web.getdetailinfo/1.0/?jsv=2.6.1&appKey=24677475&api=m... (has signed params: False)
2025-12-11 07:26:36,300 INFO TEST MODE: Making API request WITHOUT proxy
2025-12-11 07:26:36,454 WARNING Punish detected in API response (type: rate_limit). Response keys: ['ret', 'data', 'dialogSize']
2025-12-11 07:26:36,454 WARNING API ret field: ['FAIL_SYS_USER_VALIDATE', 'RGV587_ERROR::SM::哎哟喂,被挤爆啦,请稍后重试']
2025-12-11 07:26:36,455 WARNING API data keys: ['url', 'dialogSize']
2025-12-11 07:26:36,455 WARNING URL had signed parameters: False
2025-12-11 07:26:36,456 INFO Saved punish response diagnostic to punish_response_3487788485_20251211_072636.json
[WARN] Product 3487788485: fetch error (rate_limit), consecutive=1
2025-12-11 07:26:36,456 INFO Product 3487788485: Poll returned error: rate_limit
2025-12-11 07:26:36,456 WARNING Product 3487788485: Rate limited - backing off for 39.1s (base: 30s + 9.1s jitter, consecutive errors: 1)
[MODE] Product 3487788485: idle → error_backoff (rate_limit (backoff 39.1s, consecutive=1)) | next poll in 39.1s
2025-12-11 07:26:36,457 INFO Product 3487788485: Mode changed idle → error_backoff (rate_limit (backoff 39.1s, consecutive=1)), interval=39.1s
2025-12-11 07:26:37,614 WARNING Failed to load cookies (attempt 1/3): [Errno 13] Permission denied, retrying in 0.1s...
2025-12-11 07:26:37,715 WARNING Failed to load cookies (attempt 2/3): [Errno 13] Permission denied, retrying in 0.2s...
2025-12-11 07:26:37,917 WARNING Failed to load cookies from file after 3 attempts: [Errno 13] Permission denied
2025-12-11 07:26:37,918 INFO Making API request to https://acs-m.lazada.sg/h5/mtop.global.detail.web.getdetailinfo/1.0/?jsv=2.6.1&appKey=24677475&api=m... (has signed params: False)
2025-12-11 07:26:37,918 INFO Using browser's proxy for API request: http://sakongsa:sakongsa303_region-asiapacific_session-GzK1V...
2025-12-11 07:26:38,807 WARNING Punish detected in API response (type: rate_limit). Response keys: ['ret', 'data', 'dialogSize']
2025-12-11 07:26:38,807 WARNING API ret field: ['FAIL_SYS_USER_VALIDATE', 'RGV587_ERROR::SM::哎哟喂,被挤爆啦,请稍后重试']
2025-12-11 07:26:38,807 WARNING API data keys: ['url', 'dialogSize']
2025-12-11 07:26:38,807 WARNING URL had signed parameters: False
2025-12-11 07:26:38,809 INFO Saved punish response diagnostic to punish_response_3487815178_20251211_072638.json
[WARN] Product 3487815178: fetch error (rate_limit), consecutive=1
2025-12-11 07:26:38,809 INFO Product 3487815178: Poll returned error: rate_limit
2025-12-11 07:26:38,809 WARNING Product 3487815178: Rate limited - backing off for 38.6s (base: 30s + 8.6s jitter, consecutive errors: 1)
[MODE] Product 3487815178: idle → error_backoff (rate_limit (backoff 38.6s, consecutive=1)) | next poll in 38.6s
2025-12-11 07:26:38,809 INFO Product 3487815178: Mode changed idle → error_backoff (rate_limit (backoff 38.6s, consecutive=1)), interval=38.6s
[SHUTDOWN] Received interrupt signal, shutting down gracefully...
2025-12-11 07:26:56,339 INFO Received interrupt signal (signal 2), shutting down...
[SHUTDOWN] Waiting for threads to finish (max 5 seconds)...
2025-12-11 07:26:56,340 INFO [Product 3487868077] Polling thread stopped
2025-12-11 07:26:56,340 INFO [Product 3487815178] Polling thread stopped
2025-12-11 07:26:56,340 INFO Stop event set, waiting for threads to finish...
2025-12-11 07:26:56,340 INFO [Product 3487788485] Polling thread stopped
[SHUTDOWN] Shutdown complete
2025-12-11 07:26:56,341 INFO Shutdown complete
PS C:\Users\micle\Desktop\Cursor projects\laz endpoint\store>
最新发布