RESTful knowledge exchange
Post Reply
yamakawa
Novice
Posts: 8
Liked: never
Joined: Oct 02, 2020 7:11 am
Contact:

Error occurs in getting logon session

Post by yamakawa »

When I run three logon session acquisition processes in parallel, I sometimes get an InternalServerError.

I have checked the log when the error occurs, and the following error message is output.
Collection was modified; enumeration operation may not execute.
Based on the message, I suspect that the cause of the error is that the logon session is deleted by another process when retrieving the logon session, and thus the logon session cannot be retrieved correctly.

What can I do to avoid this error?
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Error occurs in getting logon session

Post by oleg.feoktistov »

Hi,

It looks like sometimes you stumble on session expiration while doing GET requests. Thus, collection of object representations is formed but enumeration cannot be executed because some of the sessions expired and hence deleted from the collection. That's just my suspicion, but I'd advise to submit a support case and share rest api logs with support engineers.

Thanks,
Oleg
yamakawa
Novice
Posts: 8
Liked: never
Joined: Oct 02, 2020 7:11 am
Contact:

Re: Error occurs in getting logon session

Post by yamakawa »

Dear Oleg

Thanks for the reply.

The event hasn't recurred since then, so I'm going to keep an eye on it for now.
I'll contact support again when it happens again.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests