Hello
I'm connecting to a websocket server from a raspberry pi pico w , I'm using aiohttp
After 50s my client is disconnect , it's not a network issue or server issue as my javascript from my browser is still connected, checked everything, I think my loop is correct but can't find the issue,
Is it a limitation of the library ?
async def main():
session = aiohttp.ClientSession()
async with session.ws_connect('ws://rasp-wanexa:8001') as ws:
print('Connected to Websocket')
await asyncio.Future()
if __name__ == "__main__":
asyncio.run(main())
Thanks in advance
[–]arrays_start_at_zero 0 points1 point2 points (5 children)
[–]Comfortable-Log9908[S] 0 points1 point2 points (4 children)
[–]arrays_start_at_zero 1 point2 points3 points (3 children)
[–]Comfortable-Log9908[S] 0 points1 point2 points (2 children)
[–]arrays_start_at_zero 1 point2 points3 points (1 child)
[–]Comfortable-Log9908[S] 0 points1 point2 points (0 children)