{"action":"created","issue":{"url":"https://api.github.com/repos/bigchaindb/bigchaindb/issues/2438","repository_url":"https://api.github.com/repos/bigchaindb/bigchaindb","labels_url":"https://api.github.com/repos/bigchaindb/bigchaindb/issues/2438/labels{/name}","comments_url":"https://api.github.com/repos/bigchaindb/bigchaindb/issues/2438/comments","events_url":"https://api.github.com/repos/bigchaindb/bigchaindb/issues/2438/events","html_url":"https://github.com/bigchaindb/bigchaindb/issues/2438","id":347890050,"node_id":"MDU6SXNzdWUzNDc4OTAwNTA=","number":2438,"title":"Internal Server Error while using old generated Keypair","user":{"login":"rk-10","id":36786004,"node_id":"MDQ6VXNlcjM2Nzg2MDA0","avatar_url":"https://avatars1.githubusercontent.com/u/36786004?v=4","gravatar_id":"","url":"https://api.github.com/users/rk-10","html_url":"https://github.com/rk-10","followers_url":"https://api.github.com/users/rk-10/followers","following_url":"https://api.github.com/users/rk-10/following{/other_user}","gists_url":"https://api.github.com/users/rk-10/gists{/gist_id}","starred_url":"https://api.github.com/users/rk-10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rk-10/subscriptions","organizations_url":"https://api.github.com/users/rk-10/orgs","repos_url":"https://api.github.com/users/rk-10/repos","events_url":"https://api.github.com/users/rk-10/events{/privacy}","received_events_url":"https://api.github.com/users/rk-10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-06T11:45:50Z","updated_at":"2018-08-06T12:36:04Z","closed_at":null,"author_association":"NONE","body":"## Environment\r\n- MacOS 10.12.6\r\n- Nodejs v 8.11.1 LTS\r\n- bigchaindb-driver v ^4.1.0\r\n- bigchainDB test network\r\n\r\n## Steps to reproduce\r\n\r\n**Create a Transaction**\r\n``` javascript\r\nconst tx = driver.Transaction.makeCreateTransaction(\r\n    {message: 'My first bdb tx'},\r\n    null,\r\n    [driver.Transaction.makeOutput(\r\n        driver.Transaction.makeEd25519Condition(pubkey)\r\n    )],\r\n    pubkey\r\n);\r\n\r\n```\r\n\r\n**Sign a Transaction**\r\n``` javascript\r\nconst tx_signed = driver.Transaction.signTransaction(tx, privkey);\r\n\r\n```\r\n\r\n**Create Connection**\r\n``` javascript\r\nconst connection =  new driver.Connection(\r\n    'https://test.bigchaindb.com/api/v1/',\r\n    {app_id: 'APP_ID',\r\n        app_key: 'APP_KEY'}\r\n);\r\n```\r\n\r\n**Post a Transaction**\r\n``` javascript\r\nconnection.postTransactionCommit(tx_signed)\r\n.then((retrieved_Tx) => {\r\n    console.log(\"Transaction is \" + JSON.stringify(retrieved_Tx));\r\n})\r\n```\r\n\r\n## Response\r\n\r\n**Response Received**\r\n```javascript\r\n{ message: 'HTTP Error: Requested page not reachable',\r\n  status: '500 INTERNAL SERVER ERROR',\r\n  requestURI: 'https://test.bigchaindb.com/api/v1/transactions?mode=commit' }\r\n```\r\n\r\n**Expected Response**\r\n```javascript\r\nTransaction is {\"asset\":{\"data\":{\"message\":\"My first bdb tx\"}},\"id\":\"b4b52db6b9a51a8838ddfd0681dd6fccaffdaed6f812ef59b3418172c9a61bf9\",\"inputs\":[{\"fulfillment\":\"pGSAIPVEAyDxR-VoAfP6Iuy17z7Zm7dD2eGnlmNwAX7PslxAgUCVJIfB_YDYwIDZik5VF5k5bLW5D5ANkE--Bu1BYx5bLhCKgi3yr39_4paTev8-lN79AQOlVt_z7aEKeCGl3WYC\",\"fulfills\":null,\"owners_before\":[\"HWR378XHoHWTyByxNpXpNqUqRoXPhwkUPCRZjr6qKdTV\"]}],\"metadata\":null,\"operation\":\"CREATE\",\"outputs\":[{\"amount\":\"1\",\"condition\":{\"details\":{\"public_key\":\"HWR378XHoHWTyByxNpXpNqUqRoXPhwkUPCRZjr6qKdTV\",\"type\":\"ed25519-sha-256\"},\"uri\":\"ni:///sha-256;TMfdToGs1rVMRn_4PlnHIxUO2DRerLXA8NOCoMnlO9c?fpt=ed25519-sha-256&cost=131072\"},\"public_keys\":[\"HWR378XHoHWTyByxNpXpNqUqRoXPhwkUPCRZjr6qKdTV\"]}],\"version\":\"2.0\"}\r\n```\r\n\r\n## Steps to Resolve\r\n- When I generate a new key pair every time using `new driver.Ed25519Keypair()`, the response is fine. But when i use an old generated key pair, I get an internal server error. "},"comment":{"url":"https://api.github.com/repos/bigchaindb/bigchaindb/issues/comments/410693071","html_url":"https://github.com/bigchaindb/bigchaindb/issues/2438#issuecomment-410693071","issue_url":"https://api.github.com/repos/bigchaindb/bigchaindb/issues/2438","id":410693071,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDY5MzA3MQ==","user":{"login":"rk-10","id":36786004,"node_id":"MDQ6VXNlcjM2Nzg2MDA0","avatar_url":"https://avatars1.githubusercontent.com/u/36786004?v=4","gravatar_id":"","url":"https://api.github.com/users/rk-10","html_url":"https://github.com/rk-10","followers_url":"https://api.github.com/users/rk-10/followers","following_url":"https://api.github.com/users/rk-10/following{/other_user}","gists_url":"https://api.github.com/users/rk-10/gists{/gist_id}","starred_url":"https://api.github.com/users/rk-10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rk-10/subscriptions","organizations_url":"https://api.github.com/users/rk-10/orgs","repos_url":"https://api.github.com/users/rk-10/repos","events_url":"https://api.github.com/users/rk-10/events{/privacy}","received_events_url":"https://api.github.com/users/rk-10/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T12:36:04Z","updated_at":"2018-08-06T12:36:04Z","author_association":"NONE","body":"@ttmc I am not using python. I am using javascript for interacting with Testnet. I am using `bigchaindb-driver v 4.1.0` of javascript."}}
{"actor":{"display_login":"rk-10"}}