You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/12/27 08:37:56 UTC
[GitHub] [trafficserver] amoghyermalkar123 opened a new issue #8565: Debugging remap.config compile failures
amoghyermalkar123 opened a new issue #8565:
URL: https://github.com/apache/trafficserver/issues/8565
Hi,
I have been facing issues while trying to debug why exactly my remap configurations fail. The error messages are not helpful while doing so, the only thing they mention is : ```unable to add mapping rule to lookup table``` with some line number.
The only way I know of debugging remap failures is to try different permutations and combinations for changing plugins and their pprams to check which exact key value is throwing out errors.
How can I efficiently debug such failures?
Example remap mapping which fails :
```
map https://something.somehost.com http://127.0.0.1:8000/ \
@plugin=geoip_acl.so @pparam=country @pparam=allow @pparam=AF @pparam=allow @pparam=AX @pparam=html::/var/www/html/index.nginx-debian.html \
@plugin=cachekey.so @pparam=--remove-all-params=true \
@plugin=prefetch.so @pparam=--fetch-policy=simple @pparam=--fetch-path-pattern=/(.*-)(\d+)(.*)/$1{$2+1}$3/ @pparam=--fetch-count=5 @pparam=--metrics-prefix=prefetch @pparam=--front=true @pparam=--log-name=/var/log/trafficserver/prefetch.log
```
--
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