Skip to main content
1-Visitor
February 14, 2017
Solved

Security context stack is growing large

  • February 14, 2017
  • 3 replies
  • 5629 views

Hi Guys,

I have quite large problem. It is few days ago when this warning start to showing up in my Application log. It is very fast filling my Application log files.

I can see that the problem is coming from WebSocket subsystem, but I cannot find from where exactly.

We are using Kepserver + IoT gateway with Websocket agents.

But it worked without problems few months until know.

Is there anyway how to trace the source?

Thanks

Tomas

Best answer by tcoufal

Found the problem.

I was heaving few subscriptions of DataChangeEvent and one was set on Property that I was changing in the same script. So it was stuck in a loop.

Stupid..

Luckily I was not the one who made that mistake , but it was more difficult to find.

Tomas

3 replies

20-Turquoise
February 14, 2017

Do you have a connections server? Is there any other errors in the application log? What is your thingworx version?

tcoufal1-VisitorAuthor
1-Visitor
February 14, 2017

We are not using a connection server. Version is 7.2.0.

There is only one (two) other errors in AppLog

5-Regular Member
February 15, 2017

Are the errors messages consistent with the warning messages? From the error message it seems that service is being invoked with some null data.

1-Visitor
May 17, 2017

Hi,

With a fresh install of TWX Postgre 7.4 (after running script DBCleanup, DBSetup, SchemaSetup), I imported some extension like Mail, Autocomplete, Logout Button.... Then, with user Administrator, create and delete Things (GenericThing) generate these warnings !

10-Marble
December 6, 2017

Hi Tomas,

We have a condition to terminate loop, so it should execute right, but why still it give that error?