[GH-ISSUE #2027] ER_DATA_TOO_LONG: Data too long for column 'forward_domain_name' at row 1 #1466

Closed
opened 2026-02-26 07:31:10 +03:00 by kerem · 4 comments
Owner

Originally created by @strickes on GitHub (Apr 25, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2027

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • No
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
I'm using Nginx Proxy Manager as a forwarding service for long domain names. However we got one domain that seems to long for the "forward_domain_name" table :D (the forwarded Domain is 279 Chars long)

app_1 | [4/19/2022] [11:29:35 AM] [Express ] › ⚠ warning insert into `redirection_host` (`advanced_config`, `block_exploits`, `created_on`, `domain_names`, `forward_domain_name`, `forward_http_code`, `forward_scheme`, `hsts_enabled`, `hsts_subdomains`, `http2_support`, `meta`, `modified_on`, `owner_user_id`, `preserve_path`, `ssl_forced`) values ('', false, NOW(), '[\"REDACTED.de\"]', 'VERY_LONGURL.html', 301, '$scheme', false, false, false, '{\"letsencrypt_email\":\"REDACTED.de\",\"letsencrypt_agree\":true,\"dns_challenge\":false}', NOW(), 2, true, false) - ER_DATA_TOO_LONG: Data too long for column 'forward_domain_name' at row 1 

Nginx Proxy Manager Version
2.9.18

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'New Redirection Host'
  2. Click on 'Domain Names -> Enter Domain'
  3. Scroll down to 'Forward Domain -> Enter very long URL (e.g. 279 Chars)'
  4. See error (ER_DATA_TOO_LONG: Data too long for column 'forward_domain_name' at row 1 )
  5. Frontend Error: image

Expected behavior
creation of the vhost with long forwarding URLs

Screenshots
see frontend error

Operating System
Ubuntu 20.04

Additional context
n/a

Originally created by @strickes on GitHub (Apr 25, 2022). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2027 **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - No - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** I'm using Nginx Proxy Manager as a forwarding service for long domain names. However we got one domain that seems to long for the "forward_domain_name" table :D (the forwarded Domain is 279 Chars long) ``` app_1 | [4/19/2022] [11:29:35 AM] [Express ] › ⚠ warning insert into `redirection_host` (`advanced_config`, `block_exploits`, `created_on`, `domain_names`, `forward_domain_name`, `forward_http_code`, `forward_scheme`, `hsts_enabled`, `hsts_subdomains`, `http2_support`, `meta`, `modified_on`, `owner_user_id`, `preserve_path`, `ssl_forced`) values ('', false, NOW(), '[\"REDACTED.de\"]', 'VERY_LONGURL.html', 301, '$scheme', false, false, false, '{\"letsencrypt_email\":\"REDACTED.de\",\"letsencrypt_agree\":true,\"dns_challenge\":false}', NOW(), 2, true, false) - ER_DATA_TOO_LONG: Data too long for column 'forward_domain_name' at row 1 ``` **Nginx Proxy Manager Version** 2.9.18 **To Reproduce** Steps to reproduce the behavior: 1. Go to 'New Redirection Host' 2. Click on 'Domain Names -> Enter Domain' 3. Scroll down to 'Forward Domain -> Enter very long URL (e.g. 279 Chars)' 4. See error (ER_DATA_TOO_LONG: Data too long for column 'forward_domain_name' at row 1 ) 5. Frontend Error: ![image](https://user-images.githubusercontent.com/17702964/165135069-17166260-78a2-4c5c-92d0-58ce2dcfab88.png) **Expected behavior** creation of the vhost with long forwarding URLs **Screenshots** see frontend error **Operating System** Ubuntu 20.04 **Additional context** n/a
kerem 2026-02-26 07:31:10 +03:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@prashantsomashekar commented on GitHub (Apr 26, 2022):

I noticed it just hang and crash (browser notification: wait or kill) when attempting to input a long name.

<!-- gh-comment-id:1109915949 --> @prashantsomashekar commented on GitHub (Apr 26, 2022): I noticed it just hang and crash (browser notification: wait or kill) when attempting to input a long name.
Author
Owner

@strickes commented on GitHub (Jun 20, 2022):

any news? Seems like it's an issue with the column (https://stackoverflow.com/questions/18897420/data-too-long-for-column-why)

<!-- gh-comment-id:1160317042 --> @strickes commented on GitHub (Jun 20, 2022): any news? Seems like it's an issue with the column (https://stackoverflow.com/questions/18897420/data-too-long-for-column-why)
Author
Owner

@github-actions[bot] commented on GitHub (Feb 17, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:1949585987 --> @github-actions[bot] commented on GitHub (Feb 17, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (Apr 3, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2774142044 --> @github-actions[bot] commented on GitHub (Apr 3, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1466
No description provided.