Thanks Yuriy.
I tried your suggestions. It did not work.
The problem was that when I entered the values in the demosite.cfg, I had incorrectly used https instead of http. I did find out the id values based on your suggestions, but when I used that id value, the program hung based on the original incorrect values stored in the internal database and ignored the updated values in the configuration file altogether. It is quite non intuitive. I also tried editing the values in the database but it was very challenging as the field was a very long string and impossible to edit.
Almost giving up, I deleted the entire record and reran the code, thinking may be the system will reset itself, But this time it was giving an error. The error I encountered was:
Traceback (most recent call last):
File "demosite.py", line 14, in <module>
oxc.register_site()
File "/usr/lib/python2.7/site-packages/oxdpython/client.py", line 110, in register_site
raise OxdServerError(response['data'])
oxdpython.exceptions.OxdServerError: oxd Server Error: internal_error
Unknown internal server error occurs.
I tried to uninstall and reinstall the oxd-server and ensuring that the database was completely removed and restarted, still I am getting the same error.
Next, I tried to start from scratch, and set up a complete oxd server from start in a completely different machine, followed the recommendations in the fresh machine, and I am getting the same error.
Not sure what the right steps are. It seems like if the user made any mistake setting up the initial configuration file, that error seems to persist and there is no way to recover the system short of removing the entire server and reinstalling from scratch. The database seems to persist the wrong data and ignores any changes made to the configuration file.
Perhaps there is a better way I am missing here. Could you let me know what I am doing wrong or is the system badly designed?
Thanks for your help.
Mohan.