You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "DokiDoki1103 (via GitHub)" <gi...@apache.org> on 2023/11/22 03:13:12 UTC

[I] bug: Host matching cannot carry ports [apisix-ingress-controller]

DokiDoki1103 opened a new issue, #2064:
URL: https://github.com/apache/apisix-ingress-controller/issues/2064

   ### Current Behavior
   
   The ApisixRoute "rbd-http-routes" is invalid: spec.http.match.hosts: Invalid value: "8.130.141.31:7070": spec.http.match.hosts in body should match '^\*?[0-9a-zA-Z-._]+$'
   
   ```js
   /^\*?[0-9a-zA-Z-._]+$/.test('8.130.141.31:7070')
   false 
   ```
   
   ```js
   /^\*?[0-9a-zA-Z-._]+$/.test('8.130.141.31') 
   ```
   
   
   Some users access their applications through IP and ports, and use the HTTP protocol, so they hope to increase support for the HTTP port
   
   ### Expected Behavior
   
   1
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   1
   
   ### Environment
   
   - APISIX Ingress controller version (run `apisix-ingress-controller version --long`)
   - Kubernetes cluster version (run `kubectl version`)
   - OS version if running APISIX Ingress controller in a bare-metal environment (run `uname -a`)
   1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: Host matching cannot carry ports [apisix-ingress-controller]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #2064:
URL: https://github.com/apache/apisix-ingress-controller/issues/2064#issuecomment-1970207674

   This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: Host matching cannot carry ports [apisix-ingress-controller]

Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup commented on issue #2064:
URL: https://github.com/apache/apisix-ingress-controller/issues/2064#issuecomment-1822268065

   @DokiDoki1103 Thanks for catching this. The regex that APISIX accepts for this field doesn't match with the one accepted by ingress controller. I will create a fix for this. https://github.com/apache/apisix/blob/a2da5f156c433b373ba670ce9eecdfdcb4cf7268/apisix/schema_def.lua#L40C23-L40C51


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: Host matching cannot carry ports [apisix-ingress-controller]

Posted by "DokiDoki1103 (via GitHub)" <gi...@apache.org>.
DokiDoki1103 commented on issue #2064:
URL: https://github.com/apache/apisix-ingress-controller/issues/2064#issuecomment-1833059404

   @Revolyssup  You're welcome, I'm using Apisix extensively. If I encounter any problems, I'll give you feedback promptly


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: Host matching cannot carry ports [apisix-ingress-controller]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #2064:
URL: https://github.com/apache/apisix-ingress-controller/issues/2064#issuecomment-2028519796

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: Host matching cannot carry ports [apisix-ingress-controller]

Posted by "DokiDoki1103 (via GitHub)" <gi...@apache.org>.
DokiDoki1103 commented on issue #2064:
URL: https://github.com/apache/apisix-ingress-controller/issues/2064#issuecomment-1822022771

   cc @Revolyssup 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: Host matching cannot carry ports [apisix-ingress-controller]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #2064: bug:  Host matching cannot carry ports 
URL: https://github.com/apache/apisix-ingress-controller/issues/2064


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org