orangehrm / orangehrm

OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures all the essential functionalities required for any enterprise.
GNU General Public License v3.0
846 stars 572 forks source link

Db Connection error on Planetscale #1597

Open biplovkc opened 1 year ago

biplovkc commented 1 year ago

OrangeHRM version

5.3

Environment details

Describe the bug

I am trying to run orange hrm in docker (currently running in Render) This is my docker file

FROM orangehrm/orangehrm:latest
EXPOSE 443

In Database Configuration step I am trying to connect to existing database running in Planetscale but I get An exception occurred in the driver: SQLSTATE[HY000] [1105] unknown error: Code: UNAVAILABLE server does not allow insecure connections, client must use SSL/TLS For more details, please refer to the error log in src/log/installer.log file

image

Is there any way to enable/configure ssl/tls for db connection which I am not aware of?

Could anyone please provide any feedback on this

To reproduce

No response

Expected behavior

No response

Relevant log output

No response

RajithaKumara commented 1 year ago

Hi @biplovkc, Thanks for reporting this issue. Seems this is not handled in the application. Will check on this and try to provide a patch. Unfortunately, can't promise an exact date.

biplovkc commented 1 year ago

Thanks. Do let me know when there is a patch for this.

biplovkc commented 1 year ago

@RajithaKumara any ETA on this?