Skip to content

Troubleshooting Plugins

Oddbjørn Bakke edited this page May 10, 2021 · 7 revisions

Do you use the same PluginId as in entry.tp?

Have TouchPortal loaded the license?

Custom plugins does not work if the license is not loaded.
Yes... you need to pay to be able to develop.
Open the UI, and it should be quite noisy about this.

Is the plugin port open?

From PowerShell.exe run the command Get-Process -Id (Get-NetTCPConnection -LocalPort 12136).OwningProcess.
It should print something like (numbers will be different):

Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName
327 33 14764 20176 25.48 30680 1 javaw

What plugins are connected to the port?

From PowerShell.exe run the command Get-Process -Id (Get-NetTCPConnection -RemotePort 12136).OwningProcess.
It should print something like (numbers will be different):

Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName
681 41 115680 136012 0.80 33144 1 Plugin A
347 36 18628 21380 0.38 36964 1 Plugin B

Check logs in TouchPortal.

You should be able to see something like 16:23:32.985 - [LOG] (Plugin Instance) ...

Check that the plugin is started.

From TouchPortal UI > Settings > Plug-ins > Select Plugin > Start / Stop

Delete the Action and Recreate it in TouchPortal UI.

The id's might have changed.
There are some issues in TouchPortal when updating lists.

Check Task Manager (if the plugin starts an application)

It also might be a issue with multiple instances of the plugin being started.

Check Firewall settings

If the plugin needs an opening in the firewall, this might cause issues under development.

Uninstall the plugin and reinstall it

Also check that the folder is cleared %appdata%\TouchPortal\plugins\<plugin name>\