Connection Test Failed: 'NoneType' object has no attribute 'test_connection' Oracle

I’m trying to connect to oracle instance, I used https://hub.docker.com/r/joaoleite/redash_oracle/dockerfile
this dockerfile to setup the oracle client. After the rebuild oracle appeared in the datasource but unable to connect to database. I’ve tried connecting to the db using the sqlplus it worked.