I had this same issue, when I was trying to do a system update on my Galaxy S9 (curretnly not on any provider)
I kept on getting the error unable to connect to server.
Because it is not on a network, I could only do it over wifi, but after a few attempts, and getting the same error, I just didnt bother.