{"action":"created","issue":{"url":"https://api.github.com/repos/binary-com/binary-bot/issues/344","repository_url":"https://api.github.com/repos/binary-com/binary-bot","labels_url":"https://api.github.com/repos/binary-com/binary-bot/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/binary-com/binary-bot/issues/344/comments","events_url":"https://api.github.com/repos/binary-com/binary-bot/issues/344/events","html_url":"https://github.com/binary-com/binary-bot/issues/344","id":245590686,"number":344,"title":"Server side error - possible threshold reached ","user":{"login":"okovalov","id":1706749,"avatar_url":"https://avatars0.githubusercontent.com/u/1706749?v=4","gravatar_id":"","url":"https://api.github.com/users/okovalov","html_url":"https://github.com/okovalov","followers_url":"https://api.github.com/users/okovalov/followers","following_url":"https://api.github.com/users/okovalov/following{/other_user}","gists_url":"https://api.github.com/users/okovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/okovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okovalov/subscriptions","organizations_url":"https://api.github.com/users/okovalov/orgs","repos_url":"https://api.github.com/users/okovalov/repos","events_url":"https://api.github.com/users/okovalov/events{/privacy}","received_events_url":"https://api.github.com/users/okovalov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-07-26T02:48:46Z","updated_at":"2018-03-19T08:16:04Z","closed_at":"2018-03-19T08:16:04Z","author_association":"NONE","body":"@aminmarashi I got my bot running for a few hours and it ended up with a server side error, which I have no idea how I should understand its meaning... I basically restarted the bot and sort of same error happened again - so I decided to touch base with you and asking to look into those transaction ids to see in the logs what happened (maybe certain limit was reached or so? ) so I could program that case in the bot to avoid it in the future.. I would really appreciate your help here since I have not idea what had caused it..\r\n\r\nso below is a part of the bot output when that error happened second time. unfortunately I did not same the log for the first error since I accidentaly closed the terminal window, but the error was kinda the same - \"unknown contract proposal\" however this contract has worked like 1000 times during previous few hours..\r\n\r\nFor this one I have pasted, probably, a bit noisy output but that allows to follow errors chain since it might be useful for looking into the nature of the error on your side, it has contract id and related info\r\n\r\n===\r\n```\r\n21:15:34 ====================================\r\n21:15:34 Starting to analyze assets\r\n21:15:34\r\n21:15:34 DigitStats for asset  R_10  =  [ 10, 12, 12, 8, 8, 8, 6, 12, 10, 14 ]\r\n21:15:34 DigitStats for asset  R_25  =  [ 11, 11, 14, 8, 8, 7, 9, 7, 17, 8 ]\r\n21:15:34 DigitStats for asset  R_50  =  [ 7, 14, 11, 9, 7, 8, 9, 13, 11, 11 ]\r\n21:15:34 DigitStats for asset  R_75  =  [ 8, 15, 14, 9, 12, 12, 10, 7, 5, 8 ]\r\n21:15:34 DigitStats for asset  R_100  =  [ 7, 10, 15, 18, 7, 10, 8, 10, 10, 5 ]\r\n21:15:34 Selected asset (with normal minimum)  R_75\r\n21:15:34 Selected ldp (with normal minimum)  8\r\n21:15:34 Final LDP to be used for trade 8\r\n21:15:34 Final TradeSymbol to be used for trade R_75\r\n21:15:36 BotInitOptions to be used for trade { symbol: 'R_75',\r\n  basis: 'stake',\r\n  candleInterval: 60,\r\n  contractTypes: [ 'DIGITDIFF', 'DIGITMATCH' ],\r\n  currency: 'USD',\r\n  duration_unit: 't',\r\n  prediction: 8 }\r\n21:15:39: INFO: Bought: Win payout if the last digit of Volatility 75 Index is not 8 after 10 ticks.\r\n\r\n21:15:42: Unhandled Rejection: { Error\r\n    at new ServerError (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:22916:23)\r\n    at LiveApi.resolvePromiseForResponse (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:22553:39)\r\n    at WebSocket.LiveApi.onMessage (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:22612:26)\r\n    at WebSocket.onMessage (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:45436:16)\r\n    at emitTwo (events.js:125:13)\r\n    at WebSocket.emit (events.js:213:7)\r\n    at Receiver._receiver.onmessage (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:12640:54)\r\n    at Receiver.dataMessage (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:11911:14)\r\n    at extension.decompress (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:11871:40)\r\n    at _inflate.flush (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:3517:12)\r\n  error: \r\n   { echo_req: \r\n      { contract_id: '16316625868',\r\n        proposal_open_contract: 1,\r\n        req_id: 4091,\r\n        subscribe: 1 },\r\n     error: \r\n      { code: 'ContractValidationError',\r\n        message: 'Sorry, an error occurred while processing your request.' },\r\n     msg_type: 'proposal_open_contract',\r\n     req_id: 4091 },\r\n  name: 'ContractValidationError' }\r\n21:15:45: Unhandled Rejection: { Error\r\n    at new ServerError (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:22916:23)\r\n    at LiveApi.resolvePromiseForResponse (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:22553:39)\r\n    at WebSocket.LiveApi.onMessage (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:22612:26)\r\n    at WebSocket.onMessage (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:45436:16)\r\n    at emitTwo (events.js:125:13)\r\n    at WebSocket.emit (events.js:213:7)\r\n    at Receiver._receiver.onmessage (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:12640:54)\r\n    at Receiver.dataMessage (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:11911:14)\r\n    at extension.decompress (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:11871:40)\r\n    at _inflate.flush (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:3517:12)\r\n  error: \r\n   { echo_req: \r\n      { contract_id: '16316625868',\r\n        proposal_open_contract: 1,\r\n        req_id: 4097,\r\n        subscribe: 1 },\r\n     error: \r\n      { code: 'ContractValidationError',\r\n        message: 'Sorry, an error occurred while processing your request.' },\r\n     msg_type: 'proposal_open_contract',\r\n     req_id: 4097 },\r\n  name: 'ContractValidationError' }\r\n21:15:58: SUCCESS: Profit amount: 0.64\r\n21:15:58\r\n21:15:58 Last Tick  After 35851.3461\r\n21:15:58 Last Digit After 1\r\n21:15:58 --------------------------\r\n21:15:58 Contract finished.\r\n21:15:58 --------------------------\r\n21:15:58\r\n21:15:58 New BetAmount set to VirtualBalanceAmount / StakeCoefficient = 0.54\r\n21:15:58\r\n21:15:58 --------------------------\r\n21:15:58 Number of runs  = 320\r\n21:15:58 --------------------------\r\n21:15:58 - net profit   = 0.64\r\n21:15:58 - trade result = win\r\n21:15:58 - stake size   = 6.48\r\n21:15:58 --------------------------\r\n21:15:58     Total Session Wins 293\r\n21:15:58     Total Session Loss 27\r\n21:15:58 --------------------------\r\n21:15:58     Current Consequence Loss 0\r\n21:15:58     Max     Consequence Loss 2\r\n21:15:58 --------------------------\r\n21:15:58     Current Consequence Wins 1\r\n21:15:58     Max     Consequence Wins 50\r\n21:15:58 --------------------------\r\n21:15:58     Current Max Profit 13.85\r\n21:15:58 --------------------------\r\n21:15:58\r\n21:15:58     Total Profit 13.85\r\n21:15:58\r\n21:15:58\r\n21:15:58 Going to pause for  0 seconds\r\n21:15:58\r\n21:15:58 ***********************************\r\n21:15:58 In trade\r\n21:15:58 ***********************************\r\n21:15:58\r\n21:15:58 ====================================\r\n21:15:58 Starting to analyze assets\r\n21:15:58\r\n21:15:58 DigitStats for asset  R_10  =  [ 11, 12, 13, 10, 9, 8, 6, 12, 8, 11 ]\r\n21:15:58 DigitStats for asset  R_25  =  [ 9, 13, 12, 10, 7, 9, 10, 7, 15, 8 ]\r\n21:15:58 DigitStats for asset  R_50  =  [ 6, 14, 13, 10, 7, 6, 9, 13, 10, 12 ]\r\n21:15:58 DigitStats for asset  R_75  =  [ 9, 17, 11, 8, 12, 10, 11, 5, 9, 8 ]\r\n21:15:58 DigitStats for asset  R_100  =  [ 8, 12, 14, 16, 8, 11, 7, 9, 11, 4 ]\r\n21:15:58 Selected asset (with normal minimum)  R_50\r\n21:15:58 Selected ldp (with normal minimum)  0\r\n21:15:58\r\n21:15:58 Final LDP to be used for trade 0\r\n21:15:58 Final TradeSymbol to be used for trade R_50\r\n21:15:58\r\n21:15:59: { Error\r\n    at new ServerError (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:22916:23)\r\n    at LiveApi.resolvePromiseForResponse (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:22553:39)\r\n    at WebSocket.LiveApi.onMessage (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:22612:26)\r\n    at WebSocket.onMessage (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:45436:16)\r\n    at emitTwo (events.js:125:13)\r\n    at WebSocket.emit (events.js:213:7)\r\n    at Receiver._receiver.onmessage (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:12640:54)\r\n    at Receiver.dataMessage (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:11911:14)\r\n    at extension.decompress (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:11871:40)\r\n    at _inflate.flush (/home/oleksandr/.nvm/versions/node/v8.2.1/lib/node_modules/binary-bot/lib/index.js:3517:12)\r\n  error: \r\n   { echo_req: \r\n      { amount: '0.54',\r\n        barrier: 0,\r\n        basis: 'stake',\r\n        contract_type: 'DIGITDIFF',\r\n        currency: 'USD',\r\n        duration: 7,\r\n        duration_unit: 't',\r\n        passthrough: [Object],\r\n        proposal: 1,\r\n        req_id: 4104,\r\n        subscribe: 1,\r\n        symbol: 'R_50' },\r\n     error: \r\n      { code: 'ContractCreationFailure',\r\n        message: 'Cannot create contract' },\r\n     msg_type: 'proposal',\r\n     passthrough: { contractType: 'DIGITDIFF', uuid: '928849785751.6301' },\r\n     req_id: 4104 },\r\n  name: 'ContractCreationFailure' }\r\n\r\n```\r\n===\r\n\r\nthank you a lot for looking into this!"},"comment":{"url":"https://api.github.com/repos/binary-com/binary-bot/issues/comments/374131929","html_url":"https://github.com/binary-com/binary-bot/issues/344#issuecomment-374131929","issue_url":"https://api.github.com/repos/binary-com/binary-bot/issues/344","id":374131929,"user":{"login":"gokula-krishna-dev","id":33853819,"avatar_url":"https://avatars2.githubusercontent.com/u/33853819?v=4","gravatar_id":"","url":"https://api.github.com/users/gokula-krishna-dev","html_url":"https://github.com/gokula-krishna-dev","followers_url":"https://api.github.com/users/gokula-krishna-dev/followers","following_url":"https://api.github.com/users/gokula-krishna-dev/following{/other_user}","gists_url":"https://api.github.com/users/gokula-krishna-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/gokula-krishna-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gokula-krishna-dev/subscriptions","organizations_url":"https://api.github.com/users/gokula-krishna-dev/orgs","repos_url":"https://api.github.com/users/gokula-krishna-dev/repos","events_url":"https://api.github.com/users/gokula-krishna-dev/events{/privacy}","received_events_url":"https://api.github.com/users/gokula-krishna-dev/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T08:16:04Z","updated_at":"2018-03-19T08:16:04Z","author_association":"COLLABORATOR","body":"We're closing this issue due to inactivity, you're welcome to open it again if you still haven't got your answer."}}
{"actor":{"display_login":"gokula-krishna-dev"}}