Skip to content

[BUG] POST /host-updated returns 405 Method Not Allowed #520

@sjkhsl

Description

@sjkhsl

Title

POST /host-updated returns 405 Method Not Allowed

Platform

Website - Chrome

Server Installation Method

Docker

Version

v1.11.1

Troubleshooting

The Problem

Description:
When updating host configurations in the panel, the frontend sends a POST request to the /host-updated endpoint, but the server responds with a 405 Not Allowed error.

Environment:
1、Deployment Method: Docker
2、Reverse Proxy: Nginx (Configured strictly following the official Termix documentation)

Error Logs (Browser Console):

Request URL: https://<my-domain>:5600/host-updated
Request Method: POST
Status Code: 405 Not Allowed

Additional Context:

1、I have verified my Nginx configuration matches the official reverse proxy guide (proxy_set_header Connection "upgrade"; and proxy_set_header Host $host;).
2、I changed localhost to 127.0.0.1 in proxy_pass to rule out IPv6 resolution issues, but the issue persists.
3、This appears to be a backend routing issue where the API endpoint is either missing or not configured to accept POST requests.

How to Reproduce

Steps to Reproduce:
1、Update host information in the Termix web interface.
2、Check the browser's Network panel.
3、Observe the failed POST request to /host-updated.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions