dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

status N/A in requests monitoring

Open Bajahaw opened this issue 7 months ago • 1 comments

To Reproduce

go to requests tab

Current vs. Expected behavior

lots of requests have their origin status = N/A (for multiple possible reasons), even though the downstream status is there.

I see it is possible to fallback to showing downstream status, or yet better fully adopt it rather than origin status (since it accomodate for extra edge cases like 404 or 500s where origin status is not available.

Provide environment information

Dokploy: v0.29

Which area(s) are affected? (Select all that apply)

Application

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

Image

Will you send a PR to fix it?

Maybe, need help

Bajahaw avatar Apr 18 '26 21:04 Bajahaw

This is a follow-up to a related issue you reported earlier (#3851), and the root cause is the same — the requests table only uses OriginStatus with no fallback.

Both OriginStatus and DownstreamStatus are already available in the LogEntry type [1], but the status badge in columns.tsx exclusively renders OriginStatus [2]:

<Badge variant={getStatusColor(log.OriginStatus)}>
    Status: {formatStatusLabel(log.OriginStatus)}
</Badge>

A straightforward fix would be to fall back to DownstreamStatus when OriginStatus is 0 or unavailable:

const displayStatus = log.OriginStatus || log.DownstreamStatus;
<Badge variant={getStatusColor(displayStatus)}>
    Status: {formatStatusLabel(displayStatus)}
</Badge>

The file to modify is apps/dokploy/components/dashboard/requests/columns.tsx [3]. If you'd like to go further and fully adopt DownstreamStatus as the primary display (since it covers more edge cases like 404/500 where the origin never responds), that would just mean swapping the priority in the fallback logic.

To reply, just mention @dosu.


Docs are dead. Just use Dosu.

Leave Feedback Ask Dosu about dokploy Share Dosu with your team

dosubot[bot] avatar Apr 18 '26 21:04 dosubot[bot]