Ironclad / rivet

The open-source visual AI programming environment and TypeScript library
https://rivet.ironcladapp.com
MIT License
2.55k stars 226 forks source link

[Bug]: Fetch failed to localhost using Node Executor #404

Open Subuday opened 1 month ago

Subuday commented 1 month ago

What happened?

While using Http Call Node with Node Executor, I get TypeError: fetch failed. Server does not get the requet.

Method: POST
URL: http://localhost:8000/evaluate
Body: {
    "summary": "Hello bro!",
    "file": "en-chat-1",
    "type": "short",
    "category": "personal"
}

While using Http Call Node with Browser Executor, the request is got by the server, but node responds with the expected error:Error: Failed to make HTTP call. You may be running into CORS problems. Try using the Node executor in the top-right menu.

What was the expected functionality?

The request is sent.

Describe your environment

MacOS, Node v20.12.2, Rivet 1.7.10.

Relevant log output

No response

Relevant screenshots

image

Code of Conduct