certificate files tezhe that in nginx - the site itself works - and does not cause problems - tentacula.ru
The problem appeared this morning on all sites where I use the "Let's Encrypt" certificates - on the site - myfalke.ru (I replaced the certificates for the sockets with the purchased ones, the problem disappeared)
the problem is only with the WebSocket connection (wss: //tentacula.ru: 9296 / ws /) - there is no connection itself in the logs - it just does not reach it
updated certificates - it didn't help = (
where to dig - can anyone come across this?
for sockets I use - AIOHTTP, for all the rest nginx
Again, I repeat: yesterday everything worked - stopped this morning on all sites ((((
Error in the code is a very small probability - sites on different servers, including those that I have not climbed in a month
did https://tentacula.ru:9296/ (to check the web server itself) - I get the input from chrome - NET :: ERR_CERT_AUTHORITY_INVALID
Here is the code (it will suddenly help):
if self.args.ssl: self.debug(u"SSL: {0}".format(self.args.ssl)) ssl_context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH) ssl_context.load_cert_chain(certfile=self.args.certfile, keyfile=self.args.keyfile) else: ssl_context = None application.router.add_route('GET', '/', hello) application.router.add_route('GET', '/ws/{uri:.*}', websocket_handler) loop = asyncio.get_event_loop() handler = application.make_handler() run_param = { 'protocol_factory' : handler , 'host': address , 'port': port , 'ssl': ssl_context } f = loop.create_server(**run_param) try: srv = loop.run_until_complete(f) except: error = commonFunction.getExceptionError()