MailScheduler
WebsiteAll products
  • Prologue
    • MailScheduler
    • Release Notes
    • Changelogs
    • Architecture
  • Installation guide
    • Requirements
      • Windows
      • Linux
    • Getting started
      • Windows
      • Linux
    • Installation wizard
      • License
      • Repository database
        • SQL Server
        • MySQL
        • PostgreSQL
        • SQLite
      • Create a user
      • Email setup
      • URL & SSL Certificate
      • Run as a service
      • Summary
        • Running on Linux
    • Configuration panel
      • Home page
      • Domain & SSL Management
      • Repository Database
      • License Management
      • User Management
      • Email settings
    • Upgrade
      • Upgrade from 1.x to 2
      • Upgrade from 2.x
    • Update license
    • Moving to production
  • Product Guide
    • Getting started
    • Schedules
    • Tasks
    • Mailinglists
    • Recipients
    • Filtering
    • Monitoring
    • Config
    • API
  • Support
    • Troubleshoot
    • FAQ
Powered by GitBook
On this page
  • Configured with direct access from the Internet
  • Configured behind Reverse Proxy/Load Balancer
  • Troubleshooting SSL Certifications

Was this helpful?

  1. Installation guide
  2. Installation wizard

URL & SSL Certificate

PreviousEmail setupNextRun as a service

Last updated 11 months ago

Was this helpful?

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://) should be omitted in the domain field.

Configured behind Reverse Proxy/Load Balancer

Setting up a reverse proxy can be done by checking Application is running behind a load balancer option. The message on the top indicates how it should be configured at the load balancer side.

The protocol (e.g. http:// or https://) should be omitted in the domain and hostname field.

Troubleshooting 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>

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 MailScheduler proces running in the background. Open Task manager and select the Details tab. You should have only one process called MailScheduler.

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

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

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

./MailScheduler.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 normally permitted

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

The application is running behind a reverse-proxy or load-balancer
The application is exposed to the internet