A couple of things:
1) in the Traffic Monitor UI can you click on CrStates and make sure your
caches are available
2) In my experience ` rtype=MISS rloc="-" rdtl=DS_NO_BYPASS ` usually means
that you missed on the CZF (you don't have one) and on the Geo-Location
database.  If you put your source IP (172.20.3.199) into the Traffic Router
API: http://<traffic_router>:3333/crs/stats/ip/172.20.3.199 and see what
you get back?



On Thu, May 17, 2018 at 7:22 AM, <yann.lev...@orange.com> wrote:

> Hi Eric,
>
> I have attached a capture of the traffic monitor screen, but caches appear
> to be ok.
>
> I was just wondering if a “null” hashId could be a possible cause, but I
> don’t know which mandatory data are consumed and tested by the core traffic
> router, before determining a valid cache server.
>
> Thanks
>
> Yann
>
>
>
> *De :* Eric Friedrich (efriedri) [mailto:efrie...@cisco.com]
> *Envoyé :* jeudi 17 mai 2018 15:10
> *À :* users@trafficcontrol.apache.org
> *Cc :* us...@trafficcontrol.incubator.apache.org
> *Objet :* Re: help needed for Traffic Router (error 503)
>
>
>
> Hi Yann-
>
>   By going to the Traffic Monitor GUI, you can see a view of the health of
> the cache. The webpage will show each cache on a separate row with current
> values for liveness, load avg and bandwidth.
>
>
>
> You may also want to check the error log on Traffic Monitor to see if its
> having any issues reaching the edge cache astats endpoint. The current
> configuration you have below assumes that the edge cache is listening on
> the eth0 interface.
>
>
>
> Thanks,
>
> Eric
>
>
>
>
>
>
>
> On May 17, 2018, at 4:51 AM, yann.lev...@orange.com wrote:
>
>
>
> Hello,
>
>
>
> I have some trouble understanding a problem with traffic router.
>
>
>
> After installing a new TR (version 2.1), I can’t make it work for a simple
> HTTP delivery service (service name = arte – CDN name = traffic).
>
>
>
> wget http://tr.arte.traffic.inter-cdnrd.orange-business.
> com/ss/arte/mss_high.isml/Manifest
>
> --2018-05-16 17:53:48--  http://tr.arte.traffic.inter-cdnrd.orange-
> business.com/ss/arte/mss_high.isml/Manifest
>
> Résolution de tr.arte.traffic.inter-cdnrd.orange-business.com (tr.arte.
> traffic.inter-cdnrd.orange-business.com)... 172.20.3.200
>
> Connexion vers tr.arte.traffic.inter-cdnrd.orange-business.com (tr.arte.
> traffic.inter-cdnrd.orange-business.com)|172.20.3.200|:80...connecté.
>
> requête HTTP transmise, en attente de la réponse...*503* Service
> Indisponible
>
> 2018-05-16 17:53:48 ERREUR 503: Service Indisponible.
>
>
>
> The information in access.log is
>
> qtype=HTTP chi=172.20.3.199 rhi=- url="http://tr.arte.traffic.
> inter-cdnrd.orange-business.com/ss/arte/mss_high.isml/Manifest" cqhm=GET
> cqhv=HTTP/1.1 rtype=MISS rloc="-" rdtl=DS_NO_BYPASS rerr="-" rgb="-"
> pssc=503 ttms=0,742 rurl="-" rurls="-" rh="-"
>
>
>
> I guess the TR doesn’t find an available cache server but where could I
> find this information?
>
>
>
> For example, the following TR API http://trafficrouter.tc.
> inter-cdnrd.orange-business.com:3333/crs/locations/Lannion/caches seems
> to point out that there would be no available bandwidth from the cache.
>
> {"caches":[{"cacheId":"lannion1","fqdn":"lannion1.tc.
> inter-cdnrd.orange-business.com","ipAddresses":["172.20.3.
> 198"],"port":0,"adminStatus":null,"lastUpdateHealthy":
> false,"lastUpdateTime":0,"connections":0,"currentBW":0,"
> availBW":0,"cacheOnline":true}]}
>
> Could it be the reason why no cache is found/used by traffic router ?
>
>
>
> I am wondering if the CR config below is ok ?
>
> (I don’t use a CZF and it is not clear to me why it could cause some
> problems. )
>
>
>
> {"contentRouters":{"trafficrouter":{"profile":"
> TRAFFIC_ROUTER","api.port":"3333","location":"Lannion","
> ip":"172.20.3.200","httpsPort":null,"status":"ONLINE","ip6":
> "","port":null,"fqdn":"trafficrouter.tc.inter-cdnrd.orange-business.com
>
> "}},"monitors":{"trafficmonitor":{"profile":"TRAFFIC_MONITOR_PROFILE","
> location":"Lannion","ip":"172.20.3.199","httpsPort":443,"
> status":"ONLINE","ip6":"","port":80,"fqdn":"trafficmonito
> r.tc.inter-cdnrd.orange-business.com"}},"edgeLocations":{"Lannion":{"
> longitude":-3,"latitude":49}},"stats":{"tm_user":"admin","tm_host":"
> trafficops2.tc.inter-cdnrd.orange-business.com","tm_version":"2.1.0-6808.
> d7c0bdc9.el7","date":1526485974,"tm_path":"/api/1.2/cdns/2/snapshot","CDN
>
> _name":"traffic"},"config":{"dnssec.dynamic.response.
> expiration":"300s","api.cache-control.max-age":"10","
> zonemanager.threadpool.scale":"0.50","coveragezone.polling.
> interval":"3600000","federationmapping.polling.interval":"60000","ste
>
> eringmapping.polling.interval":"60000","ttls":{"A":"3600","
> DNSKEY":"30","DS":"30","NS":"3600","AAAA":"3600","SOA":"
> 86400"},"weight":"1.0","geolocation.polling.interval":
> "86400000","soa":{"retry":"7200","admin":"admin","minimum":"30","
>
> refresh":"28800","expire":"604800"},"dnssec.enabled":"
> false","federationmapping.polling.url":"https://${
> toHostname}/internal/api/1.2/federations.json
> <https://$%7btohostname%7d/internal/api/1.2/federations.json>","
> coveragezone.polling.url":"http://${toHostname}/cdn/CZF/
> current/czf-current.json
> <http://$%7btohostname%7d/cdn/CZF/current/czf-current.json>",
>
> "geolocation.polling.url":"http://${toHostname}/MaxMind/
> auto/GeoIP2-City.mmdb.gz
> <http://$%7btohostname%7d/MaxMind/auto/GeoIP2-City.mmdb.gz>","
> zonemanager.cache.maintenance.interval":"300","keystore.
> maintenance.interval":"300","domain_name":"traffic.inter-
> cdnrd.orange-business.com","consistent
>
> .dns.routing":"true","certificates.polling.interval"
> :"300000","geolocation6.polling.url":"https://172.20.
> 3.195/routing/GeoLiteCityv6.dat.gz"},"deliveryServices":{"
> arte":{"protocol":{"redirectToHttps":"false","acceptHttps":"false"},"re
>
> gionalGeoBlocking":"false","ttl":3600,"geolocationProvider":"
> maxmindGeolocationService","sslEnabled":"false","
> matchsets":[{"protocol":"HTTP","matchlist":[{"regex":".*\\.
> arte\\..*","match-type":"HOST"}]}],"coverageZoneOnly":"
> false","ttls":{"A":"3600","SOA":"86400","NS":"3600","
> AAAA":"3600"},"domains":["arte.traffic.inter-cdnrd.orange-business.com"],"
> ip6RoutingEnabled":"false","soa":{"admin":"admin","retry":
> "7200","minimum":"30","refresh":"28800","expire":"604800"},
>
> "dispersion":{"shuffled":"true","limit":1}}},"
> contentServers":{"lannion1":{"profile":"EDGE_ATS_621_CENTOS_
> 721","locationId":"Lannion","ip":"172.20.3.198","status":"
> REPORTED","httpsPort":443,"cacheGroup":"Lannion","ip6":"","port":80,"d
>
> eliveryServices":{"arte":["lannion1.arte.traffic.inter-
> cdnrd.orange-business.com"]},"fqdn":"lannion1.tc.inter-
> cdnrd.orange-business.com","interfaceName":"eth0","
> hashCount":1000,"type":"EDGE","hashId":null},"paris1":{"profile":"MID_ATS
>
> _621_CENTOS_721","locationId":"Paris","ip":"172.20.3.197","
> status":"REPORTED","httpsPort":443,"cacheGroup":"Paris","
> ip6":"","port":80,"fqdn":"paris1.tc.inter-cdnrd.orange-business.com
> ","interfaceName":"eth0","hashCount":999,"type":"MID","hashId":null}}}
>
>
>
> Many thanks for your help.
>
> Best regards
>
> Yann
>
>
>
> _________________________________________________________________________________________________________________________
>
>
>
> Ce message et ses pieces jointes peuvent contenir des informations 
> confidentielles ou privilegiees et ne doivent donc
>
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu 
> ce message par erreur, veuillez le signaler
>
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
> electroniques etant susceptibles d'alteration,
>
> Orange decline toute responsabilite si ce message a ete altere, deforme ou 
> falsifie. Merci.
>
>
>
> This message and its attachments may contain confidential or privileged 
> information that may be protected by law;
>
> they should not be distributed, used or copied without authorisation.
>
> If you have received this email in error, please notify the sender and delete 
> this message and its attachments.
>
> As emails may be altered, Orange is not liable for messages that have been 
> modified, changed or falsified.
>
> Thank you.
>
>
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations 
> confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu 
> ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
> electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou 
> falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged 
> information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete 
> this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been 
> modified, changed or falsified.
> Thank you.
>
>

Reply via email to