Ironclad / Ironclad/rivet

[Bug]: Fetch failed to localhost using Node Executor

Open
#404 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
4.7k
Forks
388
PR merge metrics
No merged PRs in 30d

Description

### 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

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.