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

program error when i type new message in browser #39

Open
xuhuatao opened this issue Mar 30, 2024 · 2 comments
Open

program error when i type new message in browser #39

xuhuatao opened this issue Mar 30, 2024 · 2 comments
Labels
bug Something isn't working needs-repro-steps

Comments

@xuhuatao
Copy link

like this

`[SUCCESS] Generate outputs
$ vite

VITE v5.1.6 ready in 2097 ms

➜ Local: http://localhost:5173/
➜ Network: use --host to expose
16:01:43 [vite] http proxy error: /graphql
AggregateError [ECONNREFUSED]:
at internalConnectMultiple (node:net:1116:18)
at afterConnectMultiple (node:net:1683:7)
16:02:09 [vite] http proxy error: /graphql
AggregateError [ECONNREFUSED]:
at internalConnectMultiple (node:net:1116:18)
at afterConnectMultiple (node:net:1683:7)
16:02:12 [vite] http proxy error: /graphql
AggregateError [ECONNREFUSED]:
at internalConnectMultiple (node:net:1116:18)
at afterConnectMultiple (node:net:1683:7)
16:02:14 [vite] http proxy error: /graphql
AggregateError [ECONNREFUSED]:
at internalConnectMultiple (node:net:1116:18)
at afterConnectMultiple (node:net:1683:7)
`

@luckrnx09
Copy link
Contributor

luckrnx09 commented Mar 31, 2024

It seems the vite server can not proxy and connect to the backend.

proxy: {
"/graphql": "http://localhost:8080",
},

Do you run the server by go run . in backend folder? Can you show us your logs of backend server.

@semanser semanser added the bug Something isn't working label Mar 31, 2024
@semanser
Copy link
Owner

semanser commented Apr 4, 2024

Now that we have a Docker container, could you try to do the same by using it instead of go run .? Thanks!

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

No branches or pull requests

3 participants