Pritunl Client v1.3.3463.71 - Unhandled rejection message

Getting this error message when I open the client. It goes away after a few seconds, and it does not appear to affect the connection itself. VPN connects just fine.

Uninstalling the client does not solve the warning.

pritunl client error

Open the Console in the Developer Tools from the top right menu to utilize the source map for the error.

This is most likely an error from loading the system profiles before the service is ready. It should get reloaded again without effecting the client.

No profiles, this was after deploying on a brand-new system.
If it helps, I’m able to replicate with other Windows 10 Pro 64bit systems.

Check the service logs in the top right menu under view logs. If it’s not working open the file at C:\ProgramData\Pritunl\pritunl-client.log.

Just to be clear, it’s not actually causing issues to connect.
That’s working fine, just an ugly warning to see if you need to open the client.

Here is that I see under logs:

image

Client Logs have more to say:

[2023-3-7 17:21:15][ERROR] Main: Unhandled rejection message=t is not iterable stack=TypeError: t is not iterable
at ko._sync (file:///C:/Program%20Files%20(x86)/Pritunl/resources/app.asar/dist/static/app.988cce.js:73:552586)
at ko._callback (file:///C:/Program%20Files%20(x86)/Pritunl/resources/app.asar/dist/static/app.988cce.js:73:553504)
at t._invokeCallback (file:///C:/Program%20Files%20(x86)/Pritunl/resources/app.asar/dist/static/app.988cce.js:29:12464)
at t.dispatch (file:///C:/Program%20Files%20(x86)/Pritunl/resources/app.asar/dist/static/app.988cce.js:29:12286)
at file:///C:/Program%20Files%20(x86)/Pritunl/resources/app.asar/dist/static/app.988cce.js:73:556065
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
UnknownError: Main: Unhandled rejection message=t is not iterable stack=TypeError: t is not iterable
at ko._sync (file:///C:/Program%20Files%20(x86)/Pritunl/resources/app.asar/dist/static/app.988cce.js:73:552586)
at ko._callback (file:///C:/Program%20Files%20(x86)/Pritunl/resources/app.asar/dist/static/app.988cce.js:73:553504)
at t._invokeCallback (file:///C:/Program%20Files%20(x86)/Pritunl/resources/app.asar/dist/static/app.988cce.js:29:12464)
at t.dispatch (file:///C:/Program%20Files%20(x86)/Pritunl/resources/app.asar/dist/static/app.988cce.js:29:12286)
at file:///C:/Program%20Files%20(x86)/Pritunl/resources/app.asar/dist/static/app.988cce.js:73:556065
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
at window.onunhandledrejection (file:///C:/Program%20Files%20(x86)/Pritunl/resources/app.asar/dist/static/app.988cce.js:73:609322)

This was caused by a race condition. The init was not correctly waiting for the configuration file to load, it appears to take slightly longer on Windows 10 causing the profile load request to come before the configuration finishes loading.

It won’t happen if there are already non-system profiles imported as those profiles are read from disk before requesting system profiles. That is enough delay to keep the sequence correct. To fix the issue close the error message and import profiles then restart the app. This will be fixed in an update later today.

1 Like