{"action":"closed","issue":{"url":"https://api.github.com/repos/dyllanwli/Solution/issues/2","repository_url":"https://api.github.com/repos/dyllanwli/Solution","labels_url":"https://api.github.com/repos/dyllanwli/Solution/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/dyllanwli/Solution/issues/2/comments","events_url":"https://api.github.com/repos/dyllanwli/Solution/issues/2/events","html_url":"https://github.com/dyllanwli/Solution/issues/2","id":361997384,"node_id":"MDU6SXNzdWUzNjE5OTczODQ=","number":2,"title":"Hyperledger fabric troubleshooting ","user":{"login":"dyllanwli","id":16729593,"node_id":"MDQ6VXNlcjE2NzI5NTkz","avatar_url":"https://avatars3.githubusercontent.com/u/16729593?v=4","gravatar_id":"","url":"https://api.github.com/users/dyllanwli","html_url":"https://github.com/dyllanwli","followers_url":"https://api.github.com/users/dyllanwli/followers","following_url":"https://api.github.com/users/dyllanwli/following{/other_user}","gists_url":"https://api.github.com/users/dyllanwli/gists{/gist_id}","starred_url":"https://api.github.com/users/dyllanwli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyllanwli/subscriptions","organizations_url":"https://api.github.com/users/dyllanwli/orgs","repos_url":"https://api.github.com/users/dyllanwli/repos","events_url":"https://api.github.com/users/dyllanwli/events{/privacy}","received_events_url":"https://api.github.com/users/dyllanwli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-20T02:44:49Z","updated_at":"2018-12-31T14:37:23Z","closed_at":"2018-12-31T14:37:23Z","author_association":"OWNER","body":"1. `Error creating GRPC server: listen tcp: lookup [your-peer-name] on 127.0.0.11:53: no such host`\r\n    - Small fix difícil de conseguir para Hyperledger Fabric 1.1.0 corriendo en Docker Swarm. Multiples organizations corriendo en un mismo host:\r\n    ```\r\n    createChaincodeServer -> ERRO 02a Error creating GRPC server: listen tcp: lookup [your-peer-name] on 127.0.0.11:53: no such host\r\n\r\n    Resulta que para la versión 1.1.0 de HLF se requiere incluir esta propiedad en el environment section del docker-compose.yaml de los peers:\r\n\r\n    CORE_PEER_CHAINCODELISTENADDRESS=0.0.0.0:7052\r\n    ```\r\n\r\n2. `Error: Error: Calling enrollment endpoint failed with error [Error: read ECONNRESET]`\r\n    - When I try to monitor a event hub for chaincode calling in node SDK, some error throw up after I use my own script to create channel, join, and other stuff. \r\n    - The weird things is that, checking the ca container looks good to me. Then I recalled that if it is my fault that not to add remove temp file cache in scripts. So I rechecked it again, however, I cleared the cache. \r\n    - How can this happend without any change I did to the server. So I debug my script by line: after I started up the network, I did other channel stuff in few seconds. It surprised me that the log did not throw the error mentioned above. \r\n    - It turns out that I can create the channel immediately when I started up the docker-compose.\r\n    - Add sleep 5 to the scripts will be fine.\r\n\r\n3. `Promise is rejected: Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP]`\r\n    - orgpeercan not be found in channel"}}
{"actor":{"display_login":"dyllanwli"}}