You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "mlibbey (via GitHub)" <gi...@apache.org> on 2024/02/28 21:51:14 UTC
[I] Ranges not working in proxy.config.http.connect_ports [trafficserver]
mlibbey opened a new issue, #11110:
URL: https://github.com/apache/trafficserver/issues/11110
https://docs.trafficserver.apache.org/admin-guide/files/records.config.en.html#proxy-config-http-connect-ports
says that proxy.config.http.connect_ports "Supports both wildcards (*) and ranges (e.g. 0-1023)."
However, ranges don't appear to be accepted:
```
[13:24:05 ~]$ sudo traffic_ctl config set proxy.config.http.connect_ports "443 4441-4451 8443"
Traffic Server: failed to set proxy.config.http.connect_ports: [14] Generic Fail message (ie. CoreAPI call).
[13:32:09 ~]$ sudo traffic_ctl config set proxy.config.http.connect_ports "443-4451"
Traffic Server: failed to set proxy.config.http.connect_ports: [14] Generic Fail message (ie. CoreAPI call).
[13:31:41 ~]$ sudo traffic_ctl config set proxy.config.http.connect_ports "443 8443 4441"
set proxy.config.http.connect_ports, please wait 10 seconds for traffic server to sync configuration, restart is not required
```
--
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: issues-unsubscribe@trafficserver.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Ranges not working in proxy.config.http.connect_ports [trafficserver]
Posted by "masaori335 (via GitHub)" <gi...@apache.org>.
masaori335 closed issue #11110: Ranges not working in proxy.config.http.connect_ports
URL: https://github.com/apache/trafficserver/issues/11110
--
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: issues-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Ranges not working in proxy.config.http.connect_ports [trafficserver]
Posted by "bryancall (via GitHub)" <gi...@apache.org>.
bryancall commented on issue #11110:
URL: https://github.com/apache/trafficserver/issues/11110#issuecomment-1977655072
@mlibbey Just checking, is this for ATS 9.x?
--
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: issues-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Ranges not working in proxy.config.http.connect_ports [trafficserver]
Posted by "masaori335 (via GitHub)" <gi...@apache.org>.
masaori335 commented on issue #11110:
URL: https://github.com/apache/trafficserver/issues/11110#issuecomment-1977658147
Above looks error with 9.2.x, but I also got below error with the master branch.
```
/opt/ats-asf-master-debug/bin/traffic_ctl config set proxy.config.http.connect_ports "443-4451"
Server Error found:
[9] Error during execution
- [2004] Validity check failed.
```
--
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: issues-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Ranges not working in proxy.config.http.connect_ports [trafficserver]
Posted by "masaori335 (via GitHub)" <gi...@apache.org>.
masaori335 commented on issue #11110:
URL: https://github.com/apache/trafficserver/issues/11110#issuecomment-1984867088
It looks like the validation regex for the `proxy.config.http.connect_ports` doesn't allow `-`. This will be fixed by the #11149.
However, this means the validation is not working when the records.config is read. It's another issue needs to be fixed.
--
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: issues-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org