Wappler 4.1 bug with NodeJS and SSL database Connections

Wappler Version : 4.1.0
Operating System : windows 10
Server Model: Node js
Database Type: Postgres
Hosting Type:Heroku

Expected behavior

What do you think should happen?

if I open my api action it should run the database query response in the browser

Actual behavior

What actually happens?

instead it shows the error of

{“status”:“500”,“message”:“Cannot read property ‘ssl’ of undefined”,“stack”:“TypeError: Cannot read property ‘ssl’ of undefined\n at App.setDbConnection (C:\Users\User\BMuser\lib\core\app.js:250:37)\n at App.getDbConnection (C:\Users\User\BMuser\lib\core\app.js:282:25)\n at App.select (C:\Users\User\BMuser\lib\modules\dbconnector.js:14:25)\n at App._exec (C:\Users\User\BMuser\lib\core\app.js:449:57)\n at App.exec (C:\Users\User\BMuser\lib\core\app.js:389:20)\n at App.define (C:\Users\User\BMuser\lib\core\app.js:379:20)\n at processTicksAndRejections (internal/process/task_queues.js:93:5)”}
it happens to all of my projects

How to reproduce

  • Detail a step by step guide to reproduce the issue
  • A screenshot or short video indicating the problem
  • A copy of your code would help. Include: JS, HTML.
  • Test your steps on a clean page to see if you still have an issue

1 Like

Unzip following update in lib/core.

app.zip (3.8 KB)

1 Like

Thank you as always , Keep up the good work Wappler team & community

Thank you @patrick

Thanks! @patrick

This has been fixed in Wappler 4.1.1

This topic was automatically closed after 24 hours. New replies are no longer allowed.