Skip to content

post failed without error message // link preview crash in bluesky and linkedIn #184

@bernhardsiegel

Description

@bernhardsiegel

Steps to reproduce the problem

  1. Prepare BlueSky and LinkedInpost with this URL https://re-master.htw-berlin.de/studieninteressierte/bewerbung/
  2. Publish post.
  3. Check posts in mixpost UI: Green "published" icon and preview, but no external links. No error sign or messages (!).
  4. Check Webhooks. Only "post scheduled" but neither sent nor error (!). In case you had other channels as well: Only post.published / published messages.
  5. Check Laravel Horizon Logs. Find "Failed Jobs" (see below).

Expected behaviour

An error should show that the post failed. Or: The post should be published. This was successful with threads, mastodon and facebook.

Actual behaviour

No error message. A mixture of "successfully posted" (post UI), still "scheduled" (webhook) and "failed" (laravel horizon)

Detailed description

Here are some details from the logs:

GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: templates (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for templates/htw/images/blank.gif in /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:277
--
Stack trace:
#0 /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(207): GuzzleHttp\Handler\CurlFactory::createRejection()
#1 /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(159): GuzzleHttp\Handler\CurlFactory::finishError()
#2 /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(47): GuzzleHttp\Handler\CurlFactory::finish()
#3 /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke()
#4 /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(48): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler{closure}()
#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(1423): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler{closure}()
#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php(1389): Illuminate\Http\Client\PendingRequest->Illuminate\Http\Client{closure}()
(...)

Quick AI research lead to the idea, that preview image fails (website seems to be without oc:image-tag). But as the process crashes (?) there is no error message from the system. The found "image" is a blank placeholder in the website it, its not the image which is shown to users (https://re-master.htw-berlin.de/files/Presse/_tmp_/4/b/csm_DJI_0291-HTW_Berlin-Alexander_Rentsch-650_8cb2cdc5f6.jpg)

Threads, Mastodon and facebook (wich posted successfully) did not show an image in mixpost's UI. While Threads and facebook do show the correct preview image in the post itself, Mastodon fails whis this job:

Image

Mixpost preview:
Threads:
Image
Mastodon:
Image
Facebook:
Image

Image Image

Specifications

Mixpost info:

Benutzer-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0) Gecko/20100101 Firefox/145.0
FFMpeg Installiert
MySql 8.0.32
PHP 8.3.24
Laravel 12.38.1
Horizon 5.40.0.0
Mixpost 4.4.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions