sbenthall / SHARKFin

Simulating Heterogeneous Agents with Finance
6 stars 5 forks source link

Chum sometimes throws pika exception #146

Closed sbenthall closed 1 year ago

sbenthall commented 2 years ago

Stack trace of this error, which shows up intermittently in Chum simulations:

https://gist.github.com/sbenthall/42394246dca956880affcb6c54255073

sbenthall commented 2 years ago

This error refers to the RabbitMQ broker, NOT the SHARKFin broker. It has nothing to do with broker.close() or the closing of the market at the end of the simulation.

It is not yet clear if this error shuts down the simulation and prevents data from being collection. More diagnosis is needed.

sbenthall commented 2 years ago

https://pika.readthedocs.io/en/stable/modules/channel.html

sbenthall commented 2 years ago

@gms158 What input conditions threw this error?