Skip to content

[Bug] Ping specifying port 3000 seems broken #1960

@attzonko

Description

@attzonko

Description

I am running docker, homepage ping works for all my other services except wikijs, which is running on port 3000

Looking at the log from the homepage container when the ping is set to http://wikijs:3000 there is no log generated but the frontend shows HTTP error 500:
image

If I change the port to any other number I see a log correctly showing unable to access that port.

Steps to reproduce

Try and ping a service running in docker on port 3000

homepage version

v0.6.29

Installation method

Docker

Configuration

- Wiki JS:
        icon: wikijs.png
        href: https://wikijs.example.com
        ping: http://wikijs:3000
        server: my-docker
        container: wikijs

Container Logs

This is the log when I set the port to 3001:
[2023-09-11T05:55:00.394Z] error: <httpProxy> Error calling http://wikijs:3001/... [2023-09-11T05:55:00.394Z] error: <httpProxy> [ 500, Error: connect ECONNREFUSED 172.18.0.24:3001 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '172.18.0.24', port: 3001 } ]

Browser Logs

No response

Troubleshooting

I created an Ubuntu docker container and ran curl -s -I http://wikijs:3000 and got a 200 response

Other

No response

Before submitting, I have made sure to

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions