Jump to content

ERA api product activation task, connection closed


kornwaretm
 Share

Recommended Posts

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.

Link to comment
Share on other sites

  • ESET Staff

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.

Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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