You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.
In UI, select DeliveryServices and then Add New Delivery Service. Fill in only required fields -- for origin url, use something like http://localhost:8080. For Regular Expression, use aa/.* then Save. Again Add New Delivery Service and enter all the same info including the Regular Expression and click Save. You should see an error "There already is a HOST_REGEXP (aa/._xcr.kabletown.net) that maches aa/._xcr.kabletown.net; No can do.". Change the regular expression to something else and Save. You will get the following in a popup rather than a proper error message:
In UI, select DeliveryServices and then Add New Delivery Service. Fill in only required fields -- for origin url, use something like http://localhost:8080. For Regular Expression, use aa/.* then Save. Again Add New Delivery Service and enter all the same info including the Regular Expression and click Save. You should see an error "There already is a HOST_REGEXP (aa/._xcr.kabletown.net) that maches aa/._xcr.kabletown.net; No can do.". Change the regular expression to something else and Save. You will get the following in a popup rather than a proper error message:
Traffic Ops fatal error occurred while processing your request. Error at line 1099 ( my $insert = $self->db->resultset('Deliveryservice')->create() DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Duplicate entry 'p' for key 'ds_name_UNIQUE' [for Statement "INSERT INTO deliveryservice ( active, cacheurl, ccr_dns_ttl, cdn_id, check_path, display_name, dns_bypass_cname, dns_bypass_ip, dns_bypass_ip6, dns_bypass_ttl, dscp, edge_header_rewrite, geo_limit, global_max_mbps, global_max_tps, http_bypass_fqdn, info_url, initial_dispersion, ipv6_routing_enabled, long_desc, long_desc_1, long_desc_2, max_dns_answers, mid_header_rewrite, miss_lat, miss_long, multi_site_origin, org_server_fqdn, origin_shield, profile, protocol, qstring_ignore, range_request_handling, regex_remap, remap_text, signed, type, xml_id) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )" with ParamValues: 0="0", 1=undef, 2="30", 3="4", 4="", 5="p", 6="", 7="", 8="", 9="30", 10="0", 11=undef, 12="0", 13=0, 14=0, 15="", 16="", 17="1", 18="0", 19="", 20="", 21="", 22=0, 23=undef, 24="41.881944", 25="-87.627778", 26="0", 27="http://localhost:8888", 28=undef, 29="5", 30="0", 31="0", 32="0", 33=undef, 34=undef, 35="0", 36="9", 37="p"] at /opt/traffic_ops/app/lib/UI/DeliveryService.pm line 1099
The text was updated successfully, but these errors were encountered: