Recently I also notice a lot of invalid JSON response (coming back from the remote server):
{"message":"[ActivityHandler::doWork] Activity message from was empty or invalid JSON. Truncated content: <!DOCTYPE html>\n<html lang=\"en\" dir=\"ltr\" data-beasties-container>\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <meta name=\"theme-c, ignoring it","context":{"content":"<!DOCTYPE html>\n<html lang=\"en\" dir=\"ltr\" data-beasties-container>\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <meta name=\"theme-c"},"level":300,"level_name":"WARNING","channel":"app","datetime":"2026-04-01T18:47:53.626386+00:00","extra":{}}
{"message":"Error thrown while handling message App\\Message\\ActivityPub\\Inbox\\ActivityMessage. Removing from transport after 1 retries. Error: \"Handling \"App\\Message\\ActivityPub\\Inbox\\ActivityMessage\" failed: Activity message from was empty or invalid JSON\"","context":{"class":"App\\Message\\ActivityPub\\Inbox\\ActivityMessage","message_id":null,"retryCount":1,"error":"Handling \"App\\Message\\ActivityPub\\Inbox\\ActivityMessage\" failed: Activity message from was empty or invalid JSON","exception":{"class":"Symfony\\Component\\Messenger\\Exception\\HandlerFailedException","message":"Handling \"App\\Message\\ActivityPub\\Inbox\\ActivityMessage\" failed: Activity message from was empty or invalid JSON","code":0,"file":"/var/www/kbin.melroy.org/html/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:121","previous":{"class":"Symfony\\Component\\Messenger\\Exception\\UnrecoverableMessageHandlingException","message":"Activity message from was empty or invalid JSON","code":0,"file":"/var/www/kbin.melroy.org/html/src/MessageHandler/ActivityPub/Inbox/ActivityHandler.php:75"}}},"level":500,"level_name":"CRITICAL","channel":"messenger","datetime":"2026-04-01T18:47:53.627254+00:00","extra":{}}
I know for a fact its again Peertube. So its returning a HTML page. Ignoring the HTML non-sense.. It basically returns:
It seems JavaScript is either blocked or disabled in your web browser. We totally get that. However, this page will not work without it.<\\/p>\\n <p>If you are concerned about the security and privacy (or lack thereof) of JavaScript web applications, you might want to review the source code of the instance you are trying to access, or look for security audits.<\\/p>\\n\\n <hr>\\n\\n <h2 class=\\\"mb-3\\\">Your options<\\/h2>\\n\\n <ul>\\n <li>Allow JavaScript in your browser<\\/li>\\n <li>Use one of the <a class=\\\"link-primary\\\" href=\\\"https:\\/\\/docs.joinpeertube.org\\/use\\/third-party-application\\\" target=\\\"_blank\\\">third-party applications<\\/a> to browse this instance<\\/li>\
So I'm pretty sure we are doing an incorrect call to peertube instances.. The problem is that \"request\":null,\"headers\":null} are both null, so I do not know which request is causing issues towards Peertube. I just know that the response we get back is giving us a hit its invalid for peertube at least.
Recently I also notice a lot of invalid JSON response (coming back from the remote server):
{"message":"[ActivityHandler::doWork] Activity message from was empty or invalid JSON. Truncated content: <!DOCTYPE html>\n<html lang=\"en\" dir=\"ltr\" data-beasties-container>\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <meta name=\"theme-c, ignoring it","context":{"content":"<!DOCTYPE html>\n<html lang=\"en\" dir=\"ltr\" data-beasties-container>\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n <meta name=\"theme-c"},"level":300,"level_name":"WARNING","channel":"app","datetime":"2026-04-01T18:47:53.626386+00:00","extra":{}} {"message":"Error thrown while handling message App\\Message\\ActivityPub\\Inbox\\ActivityMessage. Removing from transport after 1 retries. Error: \"Handling \"App\\Message\\ActivityPub\\Inbox\\ActivityMessage\" failed: Activity message from was empty or invalid JSON\"","context":{"class":"App\\Message\\ActivityPub\\Inbox\\ActivityMessage","message_id":null,"retryCount":1,"error":"Handling \"App\\Message\\ActivityPub\\Inbox\\ActivityMessage\" failed: Activity message from was empty or invalid JSON","exception":{"class":"Symfony\\Component\\Messenger\\Exception\\HandlerFailedException","message":"Handling \"App\\Message\\ActivityPub\\Inbox\\ActivityMessage\" failed: Activity message from was empty or invalid JSON","code":0,"file":"/var/www/kbin.melroy.org/html/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:121","previous":{"class":"Symfony\\Component\\Messenger\\Exception\\UnrecoverableMessageHandlingException","message":"Activity message from was empty or invalid JSON","code":0,"file":"/var/www/kbin.melroy.org/html/src/MessageHandler/ActivityPub/Inbox/ActivityHandler.php:75"}}},"level":500,"level_name":"CRITICAL","channel":"messenger","datetime":"2026-04-01T18:47:53.627254+00:00","extra":{}}I know for a fact its again Peertube. So its returning a HTML page. Ignoring the HTML non-sense.. It basically returns:
So I'm pretty sure we are doing an incorrect call to peertube instances.. The problem is that
\"request\":null,\"headers\":null}are both null, so I do not know which request is causing issues towards Peertube. I just know that the response we get back is giving us a hit its invalid for peertube at least.