When you receive this error: You can fix by using context options with function stream_socket_client (you can replace old function fsockopen) Old code:
Step 1: Result: Step 2: With redis 4.0: https://github.com/antirez/redis/blob/4.0/src/redis-trib.rb, do this step, with redis 5.0 you don’t do this step. Edit file /redis/src/redis-trib.rb Note: add…