Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
Subuday opened this issue May 9, 2024 · 1 comment
Open
1 task done

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

Subuday opened this issue May 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Subuday
Copy link

Subuday commented May 9, 2024

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

  • I agree to follow this project's Code of Conduct
@Subuday Subuday added the bug Something isn't working label May 9, 2024
@abrenneke
Copy link
Collaborator

Maybe try 127.0.0.1:8000/evaluate? I've seen that help people sometimes. Otherwise, the HTTP Call node is working for me in the node executor fine, so it must be something with your local system?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants