Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server disconnect error #11

Open
PooyaFekri opened this issue Dec 2, 2024 · 0 comments
Open

Server disconnect error #11

PooyaFekri opened this issue Dec 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@PooyaFekri
Copy link
Contributor

sa-sa  | Traceback (most recent call last):                                                                                                                                                                        
sa-sa  |   File "<frozen runpy>", line 198, in _run_module_as_main                                                                                                                                                 
sa-sa  |   File "<frozen runpy>", line 88, in _run_code                                                                                                                                                            
sa-sa  |   File "/app/zex_deposit/sa/sa.py", line 186, in <module>                                                                                                                                                 
sa-sa  |     loop.run_until_complete(main())                                                             
sa-sa  |   File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete                                                                                                                
sa-sa  |     return future.result()                                                                                                                                                                                
sa-sa  |            ^^^^^^^^^^^^^^^                                                                                                                                                                                
sa-sa  |   File "/app/zex_deposit/sa/sa.py", line 181, in main                                                                                                                                                     
sa-sa  |     await asyncio.gather(*tasks)                                                                                                                                                                          
sa-sa  |   File "/app/zex_deposit/sa/sa.py", line 150, in deposit                                                                                                                                                  
sa-sa  |     await process_sa(                                                                                                                                                                                     
sa-sa  |   File "/app/zex_deposit/sa/sa.py", line 56, in process_sa                                                                                                                                                
sa-sa  |     nonces_response = await sa.request_nonces(dkg_party, number_of_nonces=1)                                                                                                                              
sa-sa  |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^             
sa-sa  |   File "/app/.venv/lib/python3.11/site-packages/pyfrost/network/sa.py", line 76, in request_nonces          
sa-sa  |     responses = await asyncio.gather(*request_tasks)                                     
sa-sa  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                     
sa-sa  |   File "/app/.venv/lib/python3.11/site-packages/pyfrost/network/dkg.py", line 14, in post_request                                                                                                         
sa-sa  |     async with session.post(url, json=data, timeout=timeout) as response:                  
sa-sa  |   File "/app/.venv/lib/python3.11/site-packages/aiohttp/client.py", line 1194, in __aenter__                                                                                                              
sa-sa  |     self._resp = await self._coro                                                                                                                                                                         
sa-sa  |                  ^^^^^^^^^^^^^^^^                                                                                                                                                                         
sa-sa  |   File "/app/.venv/lib/python3.11/site-packages/aiohttp/client.py", line 605, in _request                                                                                                                 
sa-sa  |     await resp.start(conn)                                                                                                                                                                                
sa-sa  |   File "/app/.venv/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 966, in start                                                                                                             
sa-sa  |     message, payload = await protocol.read()  # type: ignore[union-attr]                                                                                                                                  
sa-sa  |                        ^^^^^^^^^^^^^^^^^^^^^                                               
sa-sa  |   File "/app/.venv/lib/python3.11/site-packages/aiohttp/streams.py", line 622, in read                                                                                                                    
sa-sa  |     await self._waiter                                                                                                                                                                                    
sa-sa  | aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected   
@PooyaFekri PooyaFekri added the bug Something isn't working label Dec 2, 2024
@PooyaFekri PooyaFekri self-assigned this Dec 2, 2024
@PooyaFekri PooyaFekri changed the title Error in web3 call Server disconnect error Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant