dunglas / mercure

🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communications
https://mercure.rocks
GNU Affero General Public License v3.0
3.98k stars 296 forks source link

Timeout with Mercure and api-platforme in production environement and https protocol #500

Closed othmenmzeh closed 3 years ago

othmenmzeh commented 3 years ago

Hello,

I use mercure with my api-plafome symfony 3.4 in docker in local it works perfectly but when i try to use mercure with my api in production environenment i receive this error:

request.CRITICAL: Uncaught PHP Exception Symfony\Component\HttpClient\Exception\TimeoutException: "Idle timeout reached for "https://example.com/.well-known/mercure"." at /var/www/html/projet/vendor/symfony/http-client/Chunk/ErrorChunk.php line 65 {"exception":"[object] (Symfony\Component\HttpClient\Exception\TimeoutException(code: 0): Idle timeout reached for \"https://example.com/.well-known/mercure\". at /var/www/html/projet/vendor/symfony/http-client/Chunk/ErrorChunk.php:65)"} []

my environment in docker compose is :

with postmen it's work fine also

url of my api is https://api.example.com url of mercure is https://mercure.example.com

can you help me ?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.