I am getting error as follows on a cloud Linux server.
But the same code works on my Windows PC.
Error: Handshake status 403 Forbidden -+-+- {'date': 'Tue, 12 Dec 2023 10:52:32 GMT', 'content-type': 'text/html; charset=UTF-8', 'content-length': '4513', 'connection': 'keep-alive', 'x-frame-options': 'SAMEORIGIN', 'referrer-policy': 'same-origin', 'cache-control': 'max-age=15', 'expires': 'Tue, 12 Dec 2023 10:52:47 GMT', 'set-cookie': '__cf_bm=b_v_osqSEs8n7e8E8JeuU5DTnCOSQXzdELOETPj7.yY-1702378352-1-AYhTUlIlnGIBHc055L/gJWyuLEPoA0BiH4vcHrxi5zk2IA0CRBYSND/Iic2s9ScYR30+01bdVMbuOGaWy3YQ5G8=; path=/; expires=Tue, 12-Dec-23 11:22:32 GMT; domain=.fyers.in; HttpOnly; Secure', 'server': 'cloudflare', 'cf-ray': '83456b1d0fa2cb19-DUS'} -+-+- b'<!DOCTYPE html>\n<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->\n<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->\n<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->\n<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->\n<head>\n<title>Attention Required! | Cloudflare</title>\n<meta charset="UTF-8" />\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n<meta http-equiv="X-UA-Compatible" content="IE=Edge" />\n<meta name="robots" content="noindex, nofollow" />\n<meta name="viewport" content="width=device-width,initial-scale=1" />\n<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" />\n<!--[if lt IE 9]><link rel="stylesheet" id=\'cf_styles-ie-css\' href="/cdn'
Attempting reconnect 1 of 5...
5 attempts to reconnect are made and finally does ot connect to the socket at all.
Pankaj Please can you guide on fixing this.
Thanks in Advance