ECONNRESET avec Hostinger (LiteSpeed/ModSecurity) – blocage n8n quand il y a du volume de requêtes

Hello la communauté,

Je rencontre un souci bloquant entre n8n Cloud et un site WordPress hébergé chez Hostinger.

  • Contexte :

    • J’utilise n8n Cloud pour importer des annonces via l’API REST WordPress

    • Les appels GET et POST fonctionnent parfaitement en curl et Postman.

    • Depuis n8n, j’ai l’erreur récurrente :

      Error: ECONNRESET - socket hang up
      
      
  • Ce que j’ai observé :

    • Une requête isolée (POST ou GET) passe sans problème.

    • Dès qu’il y a du volume (enchaînement de plusieurs requêtes), le serveur coupe la connexion → ECONNRESET.

    • Quand ça bloque, même les GET échouent.

    • Après quelques minutes d’attente, ça repart, jusqu’au prochain batch.

    • Ça ressemble fortement à une protection côté serveur mais je lutte pour trouver….

  • Déjà testé :

    • Désactivation du plugin LiteSpeed Cache.

    • Modifications du .htaccess (autorisation HTTP_AUTHORIZATION, exclusions /wp-json/).

    • Désactivation de ModSecurity

    • Robots.txt nettoyé.

  • Questions :

    1. Est-ce que quelqu’un a déjà rencontré ce type de problème de blocage lié au volume avec Hostinger/LiteSpeed et n8n ?

    2. Y a-t-il une configuration côté n8n (headers, keep-alive, streaming, throttling…) qui permet d’imiter exactement curl/Postman et d’éviter ces blocages ?

    3. Quelle pourrait etre la solution perenne ?

Merci beaucoup pour vos retours :folded_hands:
Sandrine

Hello community,

I’m facing a blocking issue between n8n Cloud and a WordPress site hosted on Hostinger.

Context:

  • I’m using n8n Cloud to import listings via the WordPress REST API.

  • Both GET and POST requests work perfectly with curl and Postman.

  • From n8n, I keep getting the recurring error:

    Error: ECONNRESET - socket hang up
    
    

What I’ve observed:

  • A single request (POST or GET) goes through without any problem.

  • As soon as there’s some volume (several requests in a row), the server cuts the connection → ECONNRESET.

  • When it blocks, even GET requests fail.

  • After waiting a few minutes, it works again… until the next batch.

  • It really looks like some kind of server-side protection, but I’m struggling to pin it down.

Already tested:

  • Disabled the LiteSpeed Cache plugin.

  • Tweaked .htaccess (allowed HTTP_AUTHORIZATION, excluded /wp-json/).

  • Disabled ModSecurity.

  • Cleaned up robots.txt.

Questions:

  1. Has anyone experienced this kind of volume-related blocking issue with Hostinger/LiteSpeed and n8n?

  2. Is there any configuration on the n8n side (headers, keep-alive, streaming, throttling…) to exactly mimic curl/Postman and avoid these blocks?

  3. What could be a sustainable long-term solution?

Thanks a lot for your insights :folded_hands:
Sandrine