Changed database to SQLite . working code.
Proxy Server enabled.