Http request doesn't work on N8N but it does on Make.com and Postman

Hello everybody!
I am trying to send a request through http node. The request requires an authentication of “bearer token” type.

I set it up in Postman and it works great. I tried on n8n and it doesn’t work, the connection times out.

The request is this one (from postman):

GET /api/v1/collections HTTP/1.1
Authorization: Bearer ***
User-Agent: PostmanRuntime/7.43.0
Accept: */*
Postman-Token: bdb1b56b-4952-4c4f-a145-ff4f2de9ee97
Host: linkwarden.***.**
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
 
HTTP/1.1 200 OK
Alt-Svc: h3=":443"; ma=2592000
Content-Encoding: gzip
Content-Type: application/json; charset=utf-8
Date: Wed, 29 Jan 2025 08:45:13 GMT
Etag: "kju50owfxuyq"
Server: Caddy
Vary: Accept-Encoding
Transfer-Encoding: chunked
 
{"response": <OMISSIS>}

Debug info

  • n8nVersion: 1.75.2
  • platform: docker (self-hosted)
  • nodeJsVersion: 20.18.2
  • database: sqlite
  • executionMode: regular
  • concurrency: -1
  • license: enterprise (production)

More info

The n8n instance is on the same server of the host I am trying to reach. different url, but same VPS. I am handle the SSL through Caddy. I did the same before with Grist, and it worked, so I don’t think that’s a problem, but I mention it nontheless.

What I tried

  1. Copy/paste data from postman or make.com requests into the n8n node.
  2. I tried using the generic headers in the node
  3. I tried using the generic authentication feature of the node

It seems N8N just doesn’t connect to the host, in fact, everytime the result is a timeout error.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.