Warning: Connection error Could not connect to the server.

[database]

uri = sqlite:///home/saikrishna/db

path = /home/saikrishna/db

[web]

# listen = localhost:8000

root = /home/saikrishna/Documents/tryton-branch-default/sao

# root = true

hostname = localhost

# hostname =

listen = 0.0.0.0:8000

[jsonrpc]

listen = localhost:8000

# listen = *:8000

[logging]
level = DEBUG

When I have an issue I usually remove items and use the defaults.
database uri defaults to use db directory.
just about the only thing I think you need is root path under [web]

How are you running trytond?
Can you run trytond -v -c trytond.conf and see the logs?
Are you connecting using sao, or tryton?

  • trytond.conf does not have sections named [jsonpc] and [logging]
  • Try (this is leave away the path from the URL)
    uri = sqlite://
    
  • Make sure the sqlite database exists: touch /home/saikrishna/db/my-database.sqlite and initialize the database using tytond-admin -c path/to/your/trytond.conf --all