Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
common_errors [2018/06/01 12:32]
sgtbatten [Unable to retrieve latest settings null]
common_errors [2019/01/07 22:14] (current)
sgtbatten [ERROR Application - INVALID LICENSE] fixed link
Line 7: Line 7:
 __The best way to use this page is to use the Search feature at the top to search for keywords in your error.__ __The best way to use this page is to use the Search feature at the top to search for keywords in your error.__
  
 +    * [[common_errors#​Windows:​ Nothing Happens when I run the cmd file]]
     * [[common_errors#​Port 8081 in use]]     * [[common_errors#​Port 8081 in use]]
     * [[common_errors#​Unable to retrieve latest settings null]]     * [[common_errors#​Unable to retrieve latest settings null]]
     * [[common_errors#​binance_websocket_timeout|BinanceWebSocketAdapterKline - onWebSocketError:​ Timeout on Read]]     * [[common_errors#​binance_websocket_timeout|BinanceWebSocketAdapterKline - onWebSocketError:​ Timeout on Read]]
-    * [[common_errors#​normalstrategyrunner_-_api_problems|StrategyRunner - API Problems?]] 
     * [[common_errors#​please_set_a_gain|Please Set a Gain / SPECIFY A GAIN]]     * [[common_errors#​please_set_a_gain|Please Set a Gain / SPECIFY A GAIN]]
     * [[common_errors#​press_any_key_to_continue|Press any key to continue]]     * [[common_errors#​press_any_key_to_continue|Press any key to continue]]
Line 23: Line 23:
   * [[common_errors#​error_util_-_error_reading_file_null|ERROR Util - Error reading file null]]   * [[common_errors#​error_util_-_error_reading_file_null|ERROR Util - Error reading file null]]
   * [[common_errors#​profittrailerservice_-_{"​error":"​permission_denied."​}|ProfitTrailerService - {"​error":"​Permission denied."​}]]   * [[common_errors#​profittrailerservice_-_{"​error":"​permission_denied."​}|ProfitTrailerService - {"​error":"​Permission denied."​}]]
-  * [[common_errors#​Binance:​_profittrailerservice_-_occured_in_th,​_result|Binance:​ ProfitTrailerService - Occured in TH, result]] 
   * [[common_errors#​Error:​ -1021, Timestamp for this request is outside of the recvWindow]]   * [[common_errors#​Error:​ -1021, Timestamp for this request is outside of the recvWindow]]
   * [[common_errors#​binance:​_error:​_-1003,​_way_too_many_requests|Binance:​ ERROR: -1003, Way too many requests]]   * [[common_errors#​binance:​_error:​_-1003,​_way_too_many_requests|Binance:​ ERROR: -1003, Way too many requests]]
Line 32: Line 31:
   * [[common_errors#​nonce_error-nonce_must_be_greater_than|NONCE ERROR-nonce must be greater than]]   * [[common_errors#​nonce_error-nonce_must_be_greater_than|NONCE ERROR-nonce must be greater than]]
   * [[common_errors#​getting_a_constant_"​configuration_change_detected"​_message_on_log_or_console|constant "​Configuration Change Detected"​ message]]   * [[common_errors#​getting_a_constant_"​configuration_change_detected"​_message_on_log_or_console|constant "​Configuration Change Detected"​ message]]
 +  * [[common_errors#​Incorrect trailing value for GROW. Value should be between 0 and your exit value. Using DEFAULT instead|Incorrect trailing value for GROW]]
  
 ---- ----
  
 +==== Windows: Nothing Happens when I run the cmd file ====
 +
 +"I downloaded/​updated the bot, but nothing happens when I run the Run-ProfitTrailer.cmd file..."​
 +
 +First of all. Make sure you are running the run-profittrailer.cmd and not ProfitTrailer.jar. If you did double click the jar file ProfitTrailer can/will run silently in the background.
 +
 +If you are indeed running the cmd file the issue is that UAC and SmartScreen are enabled, and the newly downloaded zip file (or cmd file) is "​blocked",​ due to being flagged as having come from an Internet zone.
 +
 +Couple of possible ways to fix this: \\
 +1) Right-click the zip file (or the cmd file if you already extracted it), Properties, click Unblock.
 +https://​blogs.msdn.microsoft.com/​delay/​p/​unblockingdownloadedfile/​
 +
 +2) Use PowerShell to unblock the file: \\
 +https://​docs.microsoft.com/​en-us/​powershell/​module/​microsoft.powershell.utility/​unblock-file?​view=powershell-6
 +
 +3) Edit the Run-ProfitTrailer.cmd file in Notepad++, change it in some way (add a space or something), save it, undo the change, then save the file again. (This should make Windows think the file was created on the local server, instead of being downloaded from the Internet).
 +
 +4) Open a command prompt and manually run the command to start the bot. Should work, but all the above are better options.
 +
 +
 +[[common_errors|TOP]]
 +
 +----
  
 ==== Port 8081 in use ==== ==== Port 8081 in use ====
Line 89: Line 112:
  
 [[common_errors|TOP]] [[common_errors|TOP]]
----- 
-====NormalStrategyRunner - API Problems?​==== 
- 
-This message appears mostly on Bittrex when there is an interruption in the connection between your bot and the exchange. If you only see this sporadically you can ignore it. If you see it constantly you should restart your bot. 
- 
-If the issue persists you might need to test if your bot works on a different computer or internet connection. 
- 
 ---- ----
  
Line 115: Line 131:
 ====Signature for this request is not valid==== ====Signature for this request is not valid====
  
-This error is normally preceeded by default_api_key ​(default_apiKey for V1.x) or trading_api_key ​(trading_apiKey for V1.x) and indicates that the secret for that API Key is not correct. Check for typos in the key and ensure no extra spaces are at the end.+This error is normally preceeded by default_api_key or trading_api_key and indicates that the secret for that API Key is not correct. Check for typos in the key and ensure no extra spaces are at the end.
  
 [[common_errors|TOP]] [[common_errors|TOP]]
Line 125: Line 141:
 The Save files which contain your sales data and DCA level information can become corrupted if the bot is subjected to a hard reset. This can be due to a computer restart, or shutting the bot down incorrectly. The Save files which contain your sales data and DCA level information can become corrupted if the bot is subjected to a hard reset. This can be due to a computer restart, or shutting the bot down incorrectly.
  
-The terminal/​console message will display on bootup advising you to use a backup or delete ProfitTrailerData.json. The immediate backup file is named ProfitTrailerData.json.backup but this file is likely to be corrupted also. Instead you will have 6 additional backup files in the backup folder. Rename the most recent file to ProfitTrailerData.json and move it to the main Profit Trailer ​folder. Now attempt to restart the bot. Your sales data should be safely preserved.+The terminal/​console message will display on bootup advising you to use a backup or delete ProfitTrailerData.json. The immediate backup file is named ProfitTrailerData.json.backup but this file is likely to be corrupted also. Instead you will have 6 additional backup files in the data/backup folder. Rename the most recent file to ProfitTrailerData.json and move it to the data folder ​overwriting the corrupt one. Now attempt to restart the bot. Your sales data should be safely preserved.
  
 [[common_errors|TOP]] [[common_errors|TOP]]
Line 170: Line 186:
         * trading_api<​color #​ed1c24>​_secret</​color>​         * trading_api<​color #​ed1c24>​_secret</​color>​
   - The ''​[[application.properties#​default_api_key]] = '' ​ property is set to an API key that is **not** registered with your ProfitTrailer license.   - The ''​[[application.properties#​default_api_key]] = '' ​ property is set to an API key that is **not** registered with your ProfitTrailer license.
-    - On Discord, message the PT Assistant bot with ''​/listkeys''​ and verify that your API key is properly registered. If not, you will need to add the api key that you are attempting to use. (See: [[pt_assistant|API Key Guide]])+    - On Discord, message the PT Assistant bot with ''​!listkeys''​ and verify that your API key is properly registered. If not, you will need to add the api key that you are attempting to use. (See: [[pt_assistant|API Key Guide]])
   - There is a space after the ''​license''​ or ''​api_key''​. (e.g license = '​abcdefg ')   - There is a space after the ''​license''​ or ''​api_key''​. (e.g license = '​abcdefg ')
   - Unable to communicate with the ProfitTrailer licensing servers   - Unable to communicate with the ProfitTrailer licensing servers
Line 195: Line 211:
  
 3. If your bot has been working and suddenly you receive this error without having edited anything relating to your application.properties file it may be due to any of the following: 3. If your bot has been working and suddenly you receive this error without having edited anything relating to your application.properties file it may be due to any of the following:
-  * Sometimes your license key just gets invalidated. New API Keys may fix it. Dont forget to register the new default:​[[https://​wiki.profittrailer.io/doku.php/faq#registering_api_keys_for_pt|Follow this guide]]+  * Sometimes your license key just gets invalidated. New API Keys may fix it. Don'​t ​forget to register the new default:​[[https://​wiki.profittrailer.com/doku.php?​id=pt_assistant#registering_api_keys_with_pt_assistant_bot|Follow this guide]]
   * It may be due to slow or broken internet access, a reboot of the machine may fix it.    * It may be due to slow or broken internet access, a reboot of the machine may fix it. 
-  * Latency between your bot and our licence ​server. Give it some time. If the error persists, take action! +  * Latency between your bot and our license ​server. Give it some time. If the error persists, take action! 
-  * Our licence ​server might have an issue. See if other users are also experiencing this.+  * Our license ​server might have an issue. See if other users are also experiencing this.
  
  
Line 210: Line 226:
 ====Invalid API-Key, IP, or Permissions==== ====Invalid API-Key, IP, or Permissions====
  
-Please fix: trading_api_key ​(trading_apiKey for V1.x) -- ERROR: -2015, Invalid API-key, IP, or permissions for action.\\ +Please fix: trading_api_key -- ERROR: -2015, Invalid API-key, IP, or permissions for action.\\ 
-Please fix: default_api_key ​(default_apiKey for V1.x) -- ERROR: -2015, Invalid API-key, IP, or permissions for action.+Please fix: default_api_key -- ERROR: -2015, Invalid API-key, IP, or permissions for action.
  
  
Line 269: Line 285:
 ---- ----
  
-====Binance:​ ProfitTrailerService - Occured in TH, result ==== 
- 
-Full error message : 
-<file java>​ProfitTrailerService - Occured in TH, result: Market Symbol should be  
-ending with BTC, ETH or USDT. Example: BQXBTC</​file>​ 
- 
-This error will appear if you have setup up consecutive ​buy/sell triggers ​in the PAIRS.properties ​file. ​ 
-This is not yet supported on Binance, ​so disable the triggers by setting them to 0. 
- 
- 
-[[common_errors|TOP]] 
----- 
  
 ====Error: -1021, Timestamp for this request is outside of the recvWindow==== ====Error: -1021, Timestamp for this request is outside of the recvWindow====
Line 289: Line 293:
  
 ERROR ProfitTrailerService - completeBalances - nl.komtek.pt.utils.i:​ ERROR: -1021, Timestamp for this request is outside of the recvWindow ERROR ProfitTrailerService - completeBalances - nl.komtek.pt.utils.i:​ ERROR: -1021, Timestamp for this request is outside of the recvWindow
 +</​file>​
  
 +This error can appear for a number of reasons. If your bot is functioning and intermittently displaying this error then something is causing a slower than optimal connection and messages aren't being recieved within the allowed time.
 +
 +  * Check your system resources are not being maxed out by ProfitTrailer or other programs.
 +  * The exchange may be experiencing issues. Are other users also reporting this?
 +  * Your internet connection may be experiencing timeouts, delays or routing issues. It may resolve on its own.
 +
 +If your bot is only displaying this message and not functioning otherwise then it is likely a time sync issue.
  
-</​file>​ 
 Solution: ​Make sure to synchronize the server/​​computer time with internet time by getting the time automatically from an internet time server. Solution: ​Make sure to synchronize the server/​​computer time with internet time by getting the time automatically from an internet time server.
  
Line 326: Line 337:
 If you get the above error, you need to install the proper version of the JAVA JDK. Version 9 is not supported, you will need to revert back to version 8. You will need to uninstall the current version first. If you get the above error, you need to install the proper version of the JAVA JDK. Version 9 is not supported, you will need to revert back to version 8. You will need to uninstall the current version first.
  
-This webpage contains the proper version: ​http://​www.oracle.com/​technetwork/​java/​javase/​downloads/​jdk8-downloads-2133151.html+This webpage contains the proper version: ​https://​www.oracle.com/​technetwork/​java/​javase/​downloads/​jdk8-downloads-2133151.html
  
 This website has some good ways to uninstall on Mac OSX specifically:​ https://​stackoverflow.com/​questions/​6411909/​how-to-downgrade-jre-jdk-on-mac-osx This website has some good ways to uninstall on Mac OSX specifically:​ https://​stackoverflow.com/​questions/​6411909/​how-to-downgrade-jre-jdk-on-mac-osx
Line 407: Line 418:
  
 ---- ----
 +\\
 [[common_errors|TOP]] [[common_errors|TOP]]
 +\\
 +
 +----
 +==== Incorrect trailing value for GROW. Value should be between 0 and your exit value. Using DEFAULT instead ====
 +
 +You ''​sell_value''​ and ''​trailing_profit''​ values are equal which means the formula used to calculate the new ''​trailing_profit''​ when using ''​[[pairs.properties#​DEFAULT_trailing_profit_type]]''​ or ''​[[dca.properties#​DEFAULT_DCA_trailing_profit_type]]''​ will not work. The bot has defaulted to using the DEFAULT ''​trailing_profit''​.
 +
 +\\
 +[[common_errors|TOP]]
 +\\
 +
 ~~DISCUSSION~~ ~~DISCUSSION~~
  • common_errors.1527856361.txt.gz
  • Last modified: 8 months ago
  • by sgtbatten