my proxytok instance broken, can you help? here is logs: 172.18.0.16 - blessed…
- User
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
my proxytok instance broken, can you help? here is logs: 172.18.0.16 - blessed [24/Mar/2025:02:56:51 +0000] "GET /@ladbible/video/7478331670324710678 HTTP/1.1" 500 5 "https://www.google.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0" "31.43.232.145, 31.43.232.145" 0.747 0.748 . - 172.18.0.16 - blessed [24/Mar/2025:02:56:51 +0000] "GET /favicon.ico HTTP/1.1" 200 3540 "https://ttok.theodrim.com/@ladbible/video/7478331670324710678" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0" "31.43.232.145, 31.43.232.145" 0.000 - . - NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: TikScraper\Helpers\Misc::getDoc(): Argument #1 (body) must be of type string, null given, called in /var/www/html/vendor/pablouser1/tikscraper/src/Models/Response.php on line 30 and defined in /var/www/html/vendor/pablouser1/tikscraper/src/Helpers/Misc.php:10 Stack trace: #0 /var/www/html/vendor/pablouser1/tikscraper/src/Models/Response.php(30): TikScraper\Helpers\Misc::getDoc() #1 /var/www/html/vendor/pablouser1/tikscraper/src/Sender.php(82): TikScraper\Models\Response->__construct() #2 /var/www/html/vendor/pablouser1/tikscraper/src/Items/Video.php(30): TikScraper\Sender->sendHTML() #3 /var/www/html/vendor/pablouser1/tikscraper/src/Items/Video.php(15): TikScraper\Items\Video->info() #4 /var/www/html/vendor/pablouser1/tikscraper/src/Api.php(59): TikScraper\Items\Video->__construct() #5 /var/www/html/app/Controllers/UserController.php(29): TikScraper\Api->video() #6 [internal function]: App\Controllers\UserController::video() #7 /var/www/html/vend... 2025/03/24 02:56:51 [error] 10#10: *22210 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: TikScraper\Helpers\Misc::getDoc(): Argument #1 (body) must be of type string, null given, called in /var/www/html/vendor/pablouser1/tikscraper/src/Models/Response.php on line 30 and defined in /var/www/html/vendor/pablouser1/tikscraper/src/Helpers/Misc.php:10 Stack trace: #0 /var/www/html/vendor/pablouser1/tikscraper/src/Models/Response.php(30): TikScraper\Helpers\Misc::getDoc() #1 /var/www/html/vendor/pablouser1/tikscraper/src/Sender.php(82): TikScraper\Models\Response->__construct() #2 /var/www/html/vendor/pablouser1/tikscraper/src/Items/Video.php(30): TikScraper\Sender->sendHTML() #3 /var/www/html/vendor/pablouser1/tikscraper/src/Items/Video.php(15): TikScraper\Items\Video->info() #4 /var/www/html/vendor/pablouser1/tikscraper/src/Api.php(59): TikScraper\Items\Video->__construct() #5 /var/www/html/app/Controllers/UserController.php(29): TikScraper\Api->video() #6 [internal function]: App\Controllers\UserController::video() #7 /var/www/html/vend" while reading response header from upstream, client: 172.18.0.16, server: _, request: "GET /@ladbible/video/7478331670324710678 HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm.sock:", host: "ttok.theodrim.com", referrer: "https://www.google.com/"
which source files you want to see to fix the issue?
Based on the error logs, it appears that your ProxiTok instance is encountering a fatal PHP error when trying to fetch video information. The main issue seems to be in the TikScraper library, specifically in the getDoc() function. Here are the key points from the error:
To troubleshoot this issue, we should examine the following files:
The root cause is likely that the TikTok API or webpage structure has changed, causing the scraper to fail when fetching video data. To fix this, you may need to update the TikScraper library or modify its code to handle the new structure.
Additionally, check your ProxiTok configuration to ensure all necessary settings (like API keys or proxy settings) are correctly set. You may also want to verify your internet connection and ensure that your server can access TikTok's servers.
If you need further assistance, please provide the contents of the files mentioned above, particularly focusing on the getDoc() function in Misc.php and the relevant parts of the Video.php and Sender.php files[5][14].