node-red / node-red/node-red-nodes

ECONNREFUSED connection nodered to strapi

Open
#978 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
612
Avg merge
13h 57m
Merged PRs (30d)
3

Description

Hello, I'm having a problem with the node red, when I will inject post in http to the strapi, I get a error: RequestError: connect ECONNREFUSED localhost:1337.

image

Note: I put my local ip to get

When I "GET in Insomnia", I get the results

image

My node red version is 3.0.2
Strapi version is 4.6.1

To make a test, I'm not use any authentication

I hope you help me :D

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the POST from Node-RED 3.0.2 to Strapi 4.6.1 and compare it with the successful GET in Insomnia. Check the localhost:1337 and local-IP connection details shown in the issue. Done would require a confirmed cause and a documented resolution for the ECONNREFUSED error.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.