As latest version of OCS is not supported on windows, you must use an agent in the sames version of your server : 2.1 and not 2.3.
Downgrad your agent or change your server for a linux to be in 2.3.
Downgrad your agent or change your server for a linux to be in 2.3.