blocknetdx / eth-payment-processor

eth-payment-processor
3 stars 4 forks source link

Method `request_project` takes over a minute to respond #32

Closed shrnkld closed 1 year ago

shrnkld commented 2 years ago

Scenario:

Trying to request a new XQuery project via curl, and using the method request_project is resulting in a delay of over a minute before any response.

Steps to reproduce

  1. From a terminal/cli:

    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"request_project","params": [],"id":1}'
  2. Wait...

  3. Response takes >1 min

To do:

shrnkld commented 2 years ago

Update: I have now tested this call on another SNode and it repeatedly responds within a few seconds. I was unable to reproduce the issue on this newly deployed SNode.

ConanMishler commented 1 year ago

Closing this issue because the delay was determined to be caused by the external ETH node referenced by my two SNodes being offline.