Skip to content

BUG: "Add New Agent" feature not working for "Docker" option. #212

@abjoseph

Description

@abjoseph

Background:

I'm working in an environment where I'm not able to use (a.k.a install) the "System" agent, so I trying to use the "Docker" agent instead, as mentioned here in the docs.

Expected Behavior:

Per the docs, I create a compose.yml file and populate it with the contents from the clipboard after clicking the "Copy docker compose" button from the "Add New Agent" pop-up. I then start the agent container with docker compose up -d, return to the "Add New Agent" pop-up and click "Add agent".

Then the agent would appear in the list of servers and any containers explicitly labeled with "proxy." would appear in the routes.

Actual Behavior:

After clicking the "Add agent" button, the pop-up just hangs with the "Add agent" button being disabled and the text changed to "Adding...". See below.

Image

Further Details:

  1. Godoxy version is: 0.27.5, the latest.

  2. Within the VPS platform I'm using, firewall rules were added to allow TCP & UDP traffic to port 8890 from Any IP.

  3. While the "Add New Agent" pop-up is hanging, I checked the godoxy backed container logs (w/ Debug enabled) and nothing is printed during the ~30-40s that it hangs. Afterwards, an error pops up in the top right corner of the screen with "Origin sever is not available" and the logs show an error of "proxy error". Screenshots of both errors shown below.Image


Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions