Transient projections statistics endpoint returns "Connection refused" error #3910
Labels
kind/bug
Issues which are a software defect
linear
subsystem/projections
Issues relating to the projections framework
Describe the bug
relates to https://discuss.eventstore.com/t/esdb-v22-transient-projections/4901/1
I have ESDB v22 with
EnableAtomPubOverHttp: true
, because I need to support existing apps that are using HTTP API to get data from ESDB. Everything works fine except for transient projections. One of the apps is creating transient projection, setting it to enabled state, and then tries to read statistics in order to start processing data as soon as projection is ready.But this does not work because request for
{transient_projection_url}/statistics
fails withECONNREFUSED
error, which would imply that app is unable to communicate with ESDB HTTP Api, but it can because just on a line before it created transient projection.Further more when I go to ESDB web interface to check for projections I can see that newly created transient projection is in “Running” mode, but when I try to get it’s statistics from app request fails with mentioned
ECONNREFUSED
error. Just to mention this was working fine with old ESDB v5.An advice or help would be appreciated. Thanks.
To Reproduce
Steps to reproduce the behavior:
${ESDB_URL}/projections/transient?emit=no&checkpoints=no&enabled=true
[OK]${transientProjectionUrl}/statistics
[FAILS]${transientProjectionUrl}/state
[DOESN’T GET HERE]Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
A clear and concise description of what actually happened.
Config/Logs/Screenshots
If applicable, please attach your node configuration, logs or any screenshots.
EventStore details
Additional context
Add any other context about the problem here.
DB-309
The text was updated successfully, but these errors were encountered: