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
- Copy/paste data from postman or make.com requests into the n8n node.
- I tried using the generic headers in the node
- 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.