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

TPU Proxy failed to connect, #687

Closed
Dranlion opened this issue Feb 23, 2021 · 1 comment
Closed

TPU Proxy failed to connect, #687

Dranlion opened this issue Feb 23, 2021 · 1 comment

Comments

@Dranlion
Copy link

Hi.
When I run npm run start: dev

This error message is displayed

root@vmi471461:~/break/server# npm run start:dev

@solana/break-backend@1.0.0 start:dev /root/break/server
ts-node src/index.ts

Serving static files from: /root/break/client/build
Server listening on port: 8080
getEpochInfo fetching
getLeaderSchedule fetching
getClusterNodes fetching
Airdrops enabled
Connecting to cluster: http://localhost:8899
Faucet balance: 0
Connected to cluster: http://localhost:8899
Reading /root/break/program/dist/break_solana_program.so...
Loading break solana program...
TPU Proxy refreshing...
TPU Proxy failed to connect, reconnecting TypeError: socket.connect is not a function
at /root/break/server/src/tpu_proxy.ts:108:16
at new Promise ()
at /root/break/server/src/tpu_proxy.ts:106:13
at step (/root/break/server/src/tpu_proxy.ts:33:23)
at Object.next (/root/break/server/src/tpu_proxy.ts:14:53)
at step (/root/break/server/src/tpu_proxy.ts:18:139)
at Object.next (/root/break/server/src/tpu_proxy.ts:14:53)
at /root/break/server/src/tpu_proxy.ts:8:71
at new Promise ()
at __awaiter (/root/break/server/src/tpu_proxy.ts:4:12)
TPU Proxy refreshing...

@jstarry
Copy link
Member

jstarry commented Apr 1, 2021

Hi @Dranlion sorry for the delay. I believe the issue is that you're using an older version of nodejs. Try updating to v12

@jstarry jstarry closed this as completed Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants