KNOWLEDGE BASE

Error: Com.tableausoftware.tabadmin.webapp.asyncjobs.sendlogsjob - Sendlogs Async Job Failed: Java.lang.runtimeexception: Tabcrashreporter.exe Exited With Non-Zero Exit Code" When Issuing Send-Logs Command Behind Forward Proxy


Published: 02 Mar 2020
Last Modified Date: 05 Mar 2020

Issue

send-logs command fails with the following error:

"ERROR com.tableausoftware.tabadmin.webapp.asyncjobs.SendlogsJob - Sendlogs async job failed: java.lang.RuntimeException: tabcrashreporter.exe exited with non-zero exit code" 

in an environment where forward proxy is configured.

Environment

  • Tableau Server 2019.1.5, 2019.3
  • Amazon Linux2

Resolution

The tabcrashreporter process has its own configuration file with keys for proxy settings that need to be configured.  

The following knowledge base article has instructions for Configuring Server Crash Reporter (Tabcrashreporter).
Configure Server Crash Reporter  

1. The following configuration keys need to be set. 
servercrashupload.proxy_server_host
If a proxy server is used to communicate with the internet, specify the host name.

servercrashupload.proxy_server_port
If a proxy server is used to communicate with the internet, specify the port number.

servercrashupload.proxy_server_username
If a proxy server requires authentication, specify the user name with this key.

servercrashupload.proxy_server_password
If a proxy server requires authentication, specify the password with this key.

2. After setting the above configuration keys, restart the Tableau Server with pending-changes apply command.

Cause

Tabcrashreporter has its own configuration file that needs to be configured for the Proxy. It does not inherit the proxy settings from its parent process Tabadmincontroller.

Additional Information

Tabadmincontroller logs

2020-02-12 14:38:30.167 +0000 4819 pool-13-thread-1 : ERROR com.tableausoftware.tabadmin.webapp.asyncjobs.SendlogsJob - Sendlogs async job failed:
java.lang.RuntimeException: tabcrashreporter.exe exited with non-zero exit code.
 
2020-02-12 14:38:30.174 +0000 4819 pool-14-thread-1 : ERROR com.tableausoftware.tabadmin.webapp.asyncjobs.AsyncJobService - Error running job 38 of type SendlogsJob
java.util.concurrent.ExecutionException: java.lang.RuntimeException: tabcrashreporter.exe exited with non-zero exit code.
 
2020-02-12 14:38:30.176 +0000 4819 pool-14-thread-1 : INFO com.tableausoftware.tabadmin.webapp.asyncjobs.AsyncJobService - Updated status for job 38 of type SendlogsJob to Failed

 
Associated Tabcrashreporter logs

Log file located at /data/tableau/data/tabsvc/logs/clustercontroller/tabcrashreporter/tabcrashreporter.txt
[WARN]: License-retrieval-error: 'Launched executable 'checklicensej' returned with error '1'.\n'
 
[INFO]: Downloading Tableau Public RSA Key for package encryption...
 
[FATAL]: Error occurred trying to download the Tableau RSA public key from 'https://report-issue.tableau.com/crash/key'.\nNetwork error occurred in contacting crash upload server (URL: 'https://report-issue.tableau.com/crash/key'). Error message: 'Network request timed out.'\n

Did this article resolve the issue?