harish876 opened a new pull request, #1:
URL: 
https://github.com/apache/incubator-resilientdb-resilient-python-cache/pull/1

   Fix the following error reported by the user.
   
   Fix:
    - If there is a Non-200 request received from the Graphql Proxy, then 
register it to the log stream
    - Mongo Client Connection Error
   
   
   Error Reported by User.
   
   ```
   Checking for blocks from 29401 to 29500
   Checking for blocks from 29501 to 29600
   Checking for blocks from 29601 to 29700
   Checking for blocks from 29701 to 29800
   Checking for blocks from 29801 to 29900
   Checking for blocks from 29901 to 30000
   Error fetching initial blocks:
   Expecting value: line 1 column 1 (char 0)
   Error initializing connections:
   Expecting value: line 1 column 1 (char 0)
   Error during sync initialization: Expecting value: line 1 column 1 (char 0)
   Error closing connections:
   object NoneType can't be used in 'await' expression
   Traceback (most recent call last):
     File 
"/home/ubuntu/.local/lib/python3.10/site-packages/resilient_python_cache/cache.py",
 line 281, in close
       await self.mongo_client.close()
   TypeError: object NoneType can't be used in 'await' expression
   
   The above exception was the direct cause of the following exception:
   
   Traceback (most recent call last):
     File "/home/ubuntu/ResCanvas/backend/sync.py", line 42, in <module>
       asyncio.run(main())
     File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
       return loop.run_until_complete(main)
     File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in 
run_until_complete
       return future.result()
     File "/home/ubuntu/ResCanvas/backend/sync.py", line 38, in main
       await cache.close()
     File 
"/home/ubuntu/.local/lib/python3.10/site-packages/resilient_python_cache/cache.py",
 line 287, in close
       raise ResilientPythonCacheError(str(e)) from e
   resilient_python_cache.exceptions.ResilientPythonCacheError: object NoneType 
can't be used in 'await' expression
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to