You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/04/22 19:42:43 UTC
[GitHub] [trafficcontrol] ocket8888 opened a new issue, #6775: Invalid "orgServerFqdn" in Delivery Service creation/update causes Internal Server Error
ocket8888 opened a new issue, #6775:
URL: https://github.com/apache/trafficcontrol/issues/6775
## This Bug Report affects these Traffic Control components:
- Traffic Ops
## Current behavior:
Creating or updating a Delivery Service with an `orgServerFqdn` that can't be parsed as a URL returns a 500 Internal Server Error.
## Expected behavior:
Improper property values should return a client-level error and an appropriate alert describing the problem.
## Steps to reproduce:
```console
$ topost -kp deliveryservices '{
"active": false,
"cdnId": 2,
"displayName": "test",
"dnsBypassCname": "test",
"dscp": 1,
"geoLimit": 1,
"geoLimitCountries": "[US, CA]",
"geoProvider": -7,
"initialDispersion": 1,
"ipv6RoutingEnabled": true,
"logsEnabled": true,
"missLat": 0,
"missLong": 0,
"multiSiteOrigin": false,
"orgServerFqdn": "",
"protocol": 7,
"qstringIgnore": 5,
"rangeRequestHandling": 0,
"regionalGeoBlocking": false,
"tenantId": 1,
"typeId": 1,
"xmlId": "test"
}'
```
--
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@trafficcontrol.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] srijeet0406 closed issue #6775: Invalid "orgServerFqdn" in Delivery Service creation/update causes Internal Server Error
Posted by "srijeet0406 (via GitHub)" <gi...@apache.org>.
srijeet0406 closed issue #6775: Invalid "orgServerFqdn" in Delivery Service creation/update causes Internal Server Error
URL: https://github.com/apache/trafficcontrol/issues/6775
--
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@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] ocket8888 commented on issue #6775: Invalid "orgServerFqdn" in Delivery Service creation/update causes Internal Server Error
Posted by GitBox <gi...@apache.org>.
ocket8888 commented on issue #6775:
URL: https://github.com/apache/trafficcontrol/issues/6775#issuecomment-1106811686
Looks like this only happens if it's literally a blank string. Something like `"This isn't a valid URL"` will properly return a 400-level error explaining that this isn't a URL.
--
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@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org