{"action":"created","issue":{"url":"https://api.github.com/repos/singnet/snet-cli/issues/127","repository_url":"https://api.github.com/repos/singnet/snet-cli","labels_url":"https://api.github.com/repos/singnet/snet-cli/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/singnet/snet-cli/issues/127/comments","events_url":"https://api.github.com/repos/singnet/snet-cli/issues/127/events","html_url":"https://github.com/singnet/snet-cli/issues/127","id":383820322,"node_id":"MDU6SXNzdWUzODM4MjAzMjI=","number":127,"title":"metadata endpoint without http does not match with daemon endpoint url ","user":{"login":"stellarspot","id":1571377,"node_id":"MDQ6VXNlcjE1NzEzNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/1571377?v=4","gravatar_id":"","url":"https://api.github.com/users/stellarspot","html_url":"https://github.com/stellarspot","followers_url":"https://api.github.com/users/stellarspot/followers","following_url":"https://api.github.com/users/stellarspot/following{/other_user}","gists_url":"https://api.github.com/users/stellarspot/gists{/gist_id}","starred_url":"https://api.github.com/users/stellarspot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stellarspot/subscriptions","organizations_url":"https://api.github.com/users/stellarspot/orgs","repos_url":"https://api.github.com/users/stellarspot/repos","events_url":"https://api.github.com/users/stellarspot/events{/privacy}","received_events_url":"https://api.github.com/users/stellarspot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-23T13:13:11Z","updated_at":"2018-11-30T12:19:45Z","closed_at":null,"author_association":"COLLABORATOR","body":"Update the test run_service.sh  from [test](https://github.com/astroseger/my-platform-tests/blob/master/test1) so `snet service metadata_add_endpoints`  contains endpoint without http prefix and snetd.config.json with http prefix:\r\n\r\n```\r\nsnet service metadata_add_endpoints localhost:8080\r\n\r\ncat > snetd.config.json << EOF\r\n{\r\n   \"DAEMON_END_POINT\": \"http://localhost:8080\",\r\n   ...\r\n}\r\nEOF\r\n```\r\nRun the test.\r\nThe test fails with error:\r\n```\r\n> snet client call 0 0.1 localhost:8090 mul '{\"a\":6,\"b\":7}' --multipartyescrow 0x5c7a4290f6f8ff64c69eeffdfafc8644a4ec3a4e\r\nError: <_Rendezvous of RPC that terminated with:\r\n\tstatus = StatusCode.UNAVAILABLE\r\n\tdetails = \"Connect Failed\"\r\n\tdebug_error_string = \"{\"created\":\"@1542978696.409702429\",\"description\":\"Failed to create subchannel\",\"file\":\"src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":2721,\"referenced_errors\":[{\"created\":\"@1542978696.409701322\",\"description\":\"Pick Cancelled\",\"file\":\"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":241,\"referenced_errors\":[{\"created\":\"@1542978696.409694601\",\"description\":\"Connect Failed\",\"file\":\"src/core/ext/filters/client_channel/subchannel.cc\",\"file_line\":689,\"grpc_status\":14,\"referenced_errors\":[{\"created\":\"@1542978696.409693614\",\"description\":\"OS Error\",\"errno\":97,\"file\":\"src/core/lib/iomgr/socket_utils_common_posix.cc\",\"file_line\":373,\"os_error\":\"Address family not supported by protocol\",\"syscall\":\"socket\",\"target_address\":\"[::1]:8090\"}]}]}]}\"\r\n```"},"comment":{"url":"https://api.github.com/repos/singnet/snet-cli/issues/comments/443187515","html_url":"https://github.com/singnet/snet-cli/issues/127#issuecomment-443187515","issue_url":"https://api.github.com/repos/singnet/snet-cli/issues/127","id":443187515,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzE4NzUxNQ==","user":{"login":"vsbogd","id":983480,"node_id":"MDQ6VXNlcjk4MzQ4MA==","avatar_url":"https://avatars0.githubusercontent.com/u/983480?v=4","gravatar_id":"","url":"https://api.github.com/users/vsbogd","html_url":"https://github.com/vsbogd","followers_url":"https://api.github.com/users/vsbogd/followers","following_url":"https://api.github.com/users/vsbogd/following{/other_user}","gists_url":"https://api.github.com/users/vsbogd/gists{/gist_id}","starred_url":"https://api.github.com/users/vsbogd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsbogd/subscriptions","organizations_url":"https://api.github.com/users/vsbogd/orgs","repos_url":"https://api.github.com/users/vsbogd/repos","events_url":"https://api.github.com/users/vsbogd/events{/privacy}","received_events_url":"https://api.github.com/users/vsbogd/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T12:19:45Z","updated_at":"2018-11-30T12:19:45Z","author_association":"COLLABORATOR","body":"See also issue https://github.com/singnet/snet-daemon/issues/153"}}
{"actor":{"display_login":"vsbogd"}}