pkking commented on issue #267: URL: https://github.com/apache/apisix-docker/issues/267#issuecomment-1004817327
seems like the `resty-etcd` use a regular to check the etcd url, and the rule will reject the char `-` https://github.com/api7/lua-resty-etcd/blob/f75f4c551b048e00233df38ab725b46218b35de9/lib/resty/etcd/v3.lua#L240 ```lua for _, host in ipairs(http_hosts) do local m, err = re_match(host, [=[([^\/]+):\/\/([\da-zA-Z.-]+|\[[\da-fA-F:]+\]):?(\d+)?$]=], "jo") if not m then return nil, "invalid http host: " .. host .. ", err: " .. (err or "not matched") end ``` maybe try with `mf-etcd` instead -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
