Jump to content

Recommended Posts

Posted

halo, i experienced strange behavior when creating client task via the server api. here is the json request:

{
	"Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateClientTaskRequest": {
		"clientTaskConfiguration": {
			"taskType": 18,
			"taskProductActivation": {
				"eset_license": {
					"license_uuid": {
						"uuid": "00000000-0000-0000-7018-000000000001"
					}
				}
			}
		},
		"collisionsHandling": 1,
		"staticObjectData": {
			"name": "activation",
			"description": "activation task"
		}
	}
}

instead of giving a "expected error message" this gives rather strange message. it says the connection is closed, here the json response 

{
	"Era.ServerApi.SimpleResponse": {
		"result": false,
		"error": "Connection closed."
	}
}

lets say it is true that the connection is closed. why is it closed? what is wrong with my request that makes the connection need to be closed immediately ?

 

thanks in advance.

  • ESET Staff
Posted

Could you please SERVER's trace log for more detailed error? Also please check whether SERVER is stable - it is not very probable, but maybe your request is causing it to restart, which results in connection close.

Posted

hi MartinK, i check the server log, the messages are about unauthorized requests, and i figured out that these kind of error means wrong uuid. after i fix the uuid convert to lower case it runs well. thank you very much. 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...