Closed ZYDeng91 closed 1 month ago
I saw other people reporting similar problems, most likely something with upstream or the http2 go library.
The easy fix is to attempt to reconnect if this error is received. Thankfully music streaming isn't transfering large files like the others do.
However, reconnecting basically means restarting the program. Instead of making any code changes, check out how to auto restart externally https://stackoverflow.com/questions/696839/how-do-i-write-a-bash-script-to-restart-a-process-if-it-dies
http2: server sent GOAWAY and closed the connection; LastStreamID=1, ErrCode=NO_ERROR, debug=""
new error just dropped. still, the only solution is to retry.
Every once in a while this happens and the program exits in the midst of playing
stream error: stream ID 1; INTERNAL_ERROR; received from peer
There is no precursor whatsoever, and the time to happen is unpredictable.
It could also be a problem with the stream source. I'll try on different sources and give feedback.