Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hostname is not allowed 127.0.0.1 #3279

Open
QYG2297248353 opened this issue Feb 28, 2025 · 0 comments
Open

Hostname is not allowed 127.0.0.1 #3279

QYG2297248353 opened this issue Feb 28, 2025 · 0 comments
Labels
bug Something isn't working fixed in dev Fixed in the dev branch

Comments

@QYG2297248353
Copy link

Describe the Bug

Hostname is not allowed 127.0.0.1

Database

PostgreSQL

Relevant log output

{
    "error": {
        "issues": [
            {
                "validation": "regex",
                "code": "invalid_string",
                "message": "Invalid",
                "path": [
                    "payload",
                    "hostname"
                ]
            }
        ],
        "name": "ZodError",
        "message": "[\n  {\n    \"validation\": \"regex\",\n    \"code\": \"invalid_string\",\n    \"message\": \"Invalid\",\n    \"path\": [\n      \"payload\",\n      \"hostname\"\n    ]\n  }\n]",
        "stack": "ZodError: [\n  {\n    \"validation\": \"regex\",\n    \"code\": \"invalid_string\",\n    \"message\": \"Invalid\",\n    \"path\": [\n      \"payload\",\n      \"hostname\"\n    ]\n  }\n]\n    at get error (/app/.next/server/chunks/379.js:1:9088)\n    at n (/app/.next/server/app/api/admin/users/route.js:1:6024)\n    at j (/app/.next/server/app/api/send/route.js:1:9194)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async te.do (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:17826)\n    at async te.handle (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:18:22492)\n    at async doRender (/app/node_modules/next/dist/server/base-server.js:1455:42)\n    at async responseGenerator (/app/node_modules/next/dist/server/base-server.js:1814:28)\n    at async NextNodeServer.renderToResponseWithComponentsImpl (/app/node_modules/next/dist/server/base-server.js:1824:28)\n    at async NextNodeServer.renderPageComponent (/app/node_modules/next/dist/server/base-server.js:2240:24)",
        "errors": [
            {
                "validation": "regex",
                "code": "invalid_string",
                "message": "Invalid",
                "path": [
                    "payload",
                    "hostname"
                ]
            }
        ]
    }
}

Which Umami version are you using? (if relevant)

No response

Which browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

@mikecao mikecao added bug Something isn't working fixed in dev Fixed in the dev branch labels Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in dev Fixed in the dev branch
Projects
None yet
Development

No branches or pull requests

2 participants