My n8n instance run in a isolated network and I need to use proxy.
I set http_proxy and https_proxy in Docker container and I can see logs in the proxy.
When I use Telegram I got some errors and no idea how to solve it.
What is the error message (if any)?
ERROR: Bad request - please check your parameters
400 The plain HTTP request was sent to HTTPS port 400 Bad Request The plain HTTP request was sent to HTTPS port nginx/1.18.0
NodeApiError: Bad request - please check your parameters
at Object.apiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Telegram/GenericFunctions.js:82:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Telegram/Telegram.node.js:1677:36)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:652:28)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:596:53
Please share your workflow
Share the output returned by the last node
The output is the error I paste above.
Information on your n8n setup
n8n version: 0.231.3
Database (default: SQLite): PostgreSQL
n8n EXECUTIONS_PROCESS setting (default: own, main): not set, use the default settings
Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
That doesn’t look right to me, Is your https proxy using an https value for https_proxy or http? When I did some testing recently I was using Squid and my env options were…
The request is also acknowledged in the n8n interface with a successful connection test so it looks like the http_proxy and https_proxy settings are working as expected at the moment.
I don’t know how n8n concatenate the request url and how axios use the proxy.
But I think the request url scheme shouldn’t be obtained from the proxy scheme.
@browse not really a big fan of the blame game, I believe there could be things we can do to work around this limitation but at the same time the proxy could also be configured for it as well