URL & SSL Certificate

The final step is the configuration of the domain the application will be running on. There are 2 possible setups:

Configured with direct access from the Internet

This indicates that the application or server is not functioning behind a reverse proxy or load balancer.

The protocol (e.g. http:// or https://) can be skipped. You can specify a port number at the end (e.g. writebackextreme.company.com:8080).

Configured behind Reverse Proxy/Load Balancer

Setting up a reverse proxy can be done by expanding the option visible below the form entry for the domain.

The protocol (e.g. http:// or https://) can be skipped.

Troubeshooting SSL Certifications

Sometimes the application does not like the provided ssl certificates. These error could occur:

Failed to decode PEM block containing private key
  1. Open keyfile and check if it starts with -----BEGIN PRIVATE KEY-----

If there is something above this line, delete it. (Same applies to certificates!)

  1. Open your keyfile and check if it is encrypted. (Encrypted private keys start with -----BEGIN ENCRYPTED PRIVATE KEY-----) When it is encrypted, you need to decrypt it. You can do that via openssl (if installed on your machine) in your terminal using the following command:

openssl rsa -in <encrypted_private.key> -out <decrypted_private.key>

Could not unpackage pfx/p12 file - pkcs12: expected exactly two safe bags in the PFX

The PFX file does not have the correct format. The best way is to convert pfx into a .crt and .key file. You can do this via openssl when this is installed on your system:

## extract the key from the pfx file
openssl pkcs12 -in [yourfile.pfx] -nocerts -out certificate.key

## extract the certificate from the pfx file
openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out certificate.crt

## Decrypt the keyfile
openssl rsa -in certificate.key -out certificate-decrypted.key

# Upload the certificate-decrypted.key and certificate.crt to writeback. 

Server startup problems

Could not startup server, Contact Apps For Tableau support when the problem persists

The app server is unable to start. This can have multiple causes like:

  • Application is configured as administrator but is currently not running with administrator previleges.

  • Check if there is no other WriteBackExtreme proces running in the background. Open Task manager and select the Details tab. You should have only one process called WriteBackExtreme.

  • Check if there is no other process running on the port that is configured in WriteBackExtreme. You can do that with this command in cmd:

netstat -aon
  • Check is the application log. This log file is located at <path>/.wbe-runtime/storage/logs/wbe-application.log

  • Open powershell and navigate to the directory where WriteBackExtreme.exe is located. run this command to manually trigger the application server:

./WriteBackExtreme.exe serve

This command might give more details about what went wrong.

listen tcp :443: bind: Only one usage of each socket address (protocol/network address/port) is hormally permitted

When this error appears in your wbe-application.log it is not able to spin the server because the port you have configured is already in use by another program.

asdsad

Last updated