Category : windows

We have few URL’s which are internal individual server URL like "https://Servername:port/name/-Username-Logon#abc" and we need these URL’s to be monitored 24/7 . I ran into an issue with my powershell script because the page I was trying to access was secured with SSL and we were using a self-signed certificate. This causes Internet Explorer to ..

Read more

I have this code running in a separate thread: main.py: if __name__ == ‘__main__’: try: threading.Thread(target=pull_data_from_file, args=()).start() except Exception as e: print(e) other file: import asyncio import asyncio def pull_data_from_file(): asyncio.run(handle_pd_data_messages()) async def handle_data_messages(): uri = properties[‘websocket_uri’] while True: try: async with websockets.connect(uri) as websocket: async for message in websocket: try: json_data = json.loads(message) json_data[‘msg’] ..

Read more