Http node + proxy - got error

Describe the problem/error/question

got error while setting up proxy with ip address instead of domain and non standard port.
if I set up wrong port or IP I got ERROR: The service refused the connection - perhaps it is offline
if I set up login and password like 123:[email protected]:40006 I got the same ERROR: Bad request - please check your parameters

What is the error message (if any)?

Please share your workflow

Information on your n8n setup

  • n8n version: 0.227.1 / 0.236.0 / 1.1.1
  • Database (default: SQLite): SQLite / PostgreSQL
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu

Hi @Nick_K_H :wave: Sorry you’re running into this!

Would you happen to also have logs from your proxy, too? Also, what proxy are you using? That’d be helpful in understanding a bit more of what’s going on. :+1:

1 Like


This is commercial proxy so I don’t have access to logs.

I can request logs of n8n from our server if it wold help.

Also you can execute a process on your side - it has all the necessary credentials.

Best regards,

The issue not in the IP instead of domain:

I found something - If I request page through http it works ok, if https - got error.

http - ok:

https: - error:

Tested on 0.236.0 and 1.1.1. GET/POST - doesn’t matter. Only http vs https scheme in target URL makes a difference.

n8n tries to connect to the proxy via HTTPS despite the scheme in HTTP Node > Options > Proxy setting as I can see in the traffic logs.

If I’m not specifiyng a scheme in Proxy settings:
get/post + http - ok

get/post + https - error

Best regards,

Found several related topics:

Hey @Nick_K_H,

That looks right to me, So we are aware of some issues when using proxies with n8n which we will be looking to resolve soon. The issue itself comes from the Axios package we use not supporting https over http, If your proxy supports it you can set up https and that will work but depending on what your proxy is used for (content inspection) it may cause other issues.


Hi Jon!

Hope Axios will approve pull request some day. =)

P.S.: I have no control over the proxy I have to use in my project.

Best regards,


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