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

502 Bad Gateway on ClientBrowser.callServer() #44

Closed
jpegsfun opened this issue Dec 25, 2024 · 1 comment
Closed

502 Bad Gateway on ClientBrowser.callServer() #44

jpegsfun opened this issue Dec 25, 2024 · 1 comment
Labels
question Add this to close an issue with instructions on how to repost as a question on Stack Exchange

Comments

@jpegsfun
Copy link

My server is dead, so I checked and the following error is displayed. There is no trace of sending Solana transaction or anything, and I can't tell anything other than the fact that it died because of a 502 Bad Gateway error due to cloudflare while doing ClientBrowser.callServer(). Does anyone know why this is happening and how to fix it?

-- version:
@solana/web3.js: 1.95.2

-- The error is as follows:

/usr/src/app/node_modules/@solana/web3.js/lib/index.cjs.js:5030
callback(new Error(`${res.status} ${res.statusText}: ${text}`)); ^

Error: 502 Bad Gateway: <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>cloudflare</center>
</body>
</html>

 at ClientBrowser.callServer (/usr/src/app/node_modules/@solana/web3.js/lib/index.cjs.js:5030:18)
 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@jpegsfun jpegsfun added the bug Something isn't working label Dec 25, 2024
@steveluscher steveluscher closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2025
@steveluscher steveluscher added the question Add this to close an issue with instructions on how to repost as a question on Stack Exchange label Jan 2, 2025
@steveluscher steveluscher reopened this Jan 2, 2025
@steveluscher steveluscher added question Add this to close an issue with instructions on how to repost as a question on Stack Exchange and removed question Add this to close an issue with instructions on how to repost as a question on Stack Exchange bug Something isn't working labels Jan 2, 2025
Copy link

github-actions bot commented Jan 2, 2025

Hi @jpegsfun,

Thanks for your question!

We want to make sure to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track issues that affect the development of the Solana JavaScript SDK itself.

Questions like yours deserve a purpose-built Q&A forum. Unless there exists evidence that this is a bug with the Solana JavaScript SDK itself, please post your question to the Solana Stack Exchange using this link: https://solana.stackexchange.com/questions/ask


This automated message is a result of having added the ‘question’ tag.

@github-actions github-actions bot closed this as completed Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Add this to close an issue with instructions on how to repost as a question on Stack Exchange
Projects
None yet
Development

No branches or pull requests

2 participants