IdanBI
Convex Community3y ago
6 replies
IdanB

Yo guys,

Yo guys,
I'm having a convex action which calling my backend running locally on port 1342, I try to GET some resources from the backend using axios, so I've added the "use node" at the top of the action file, when calling my backend with axios.get I get an ECONNREFUSED, I guess it has something to do with CORS?

Please note my backend is configured to handle requests from all ports (*).

When hitting the backend endpoint with regular next.js route handlers it works fine, as well as when just pasting the url of the backend in browser.
For some reason I get an error when using convex action.

Any help is highly appriciated,
Thank you,
Was this page helpful?