R
Railway6mo ago
Lee1000

Error processing message: SSL SYSCALL error: EOF detected

Hi all, I've created a program that fetches real-time cryptocurrency data from Binance using websockets, processes it for multiple symbols simultaneously using multiprocessing, and stores the information in a PostgreSQL database. It works on my local machine, but when I deploy it on Railway, I get the following errors:
Error processing message: SSL error: sslv3 alert bad record mac Error processing message: SSL SYSCALL error: EOF detected Error processing message: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.
Any ideas?
5 Replies
Percy
Percy6mo ago
Project ID: 8e5fa0d4-5a64-4de3-aac9-8d83dc229d11
Lee1000
Lee10006mo ago
8e5fa0d4-5a64-4de3-aac9-8d83dc229d11
Brody
Brody6mo ago
does this error pertain to a postgres connection or a connection to binance because binance has been known to have gcp blocked (railway runs on gcp)
Lee1000
Lee10006mo ago
I figured it wasn't the connection to Binance as it works if I deploy it without multiprocessing. But it processes too slow so need multiprocessing.
Brody
Brody6mo ago
hmm well unfortunately there's not much we can help you with as code issues are a bit out of scope for these threads