Skip to main content
16-Pearl
May 29, 2023
Solved

AppKey error: Rejecting NonceKey

  • May 29, 2023
  • 1 reply
  • 2858 views

Hello Community,

 

I just finished federating data from one TWX instance to another.

On the new instance I keep getting this error in the application log:

 << Error [authenticating connection], Server websocket will be closed. cause: Missing application key!. >>

 

This error appears every millisecond. 

I tried to stop and start Thingworx by using a tomact start and stop, this restarted the server but did not eliminate the error. I am TWX version 9.3.8

 

Any ideas on how to tackle the problem.

Regards,

TB

 

 

Best answer by slangley

Hi @Janicen.

 

From a review of the case it appears your issue was the result of a local install of Kepware trying to make a connection to your ThingWorx server.  Reconfiguring your Kepware instance should have resolved the issue.

 

Regards.

 

--Sharon

1 reply

Janicen16-PearlAuthor
16-Pearl
May 29, 2023

Hi @Velkumar

 

Thank you,

The second article address my issue. However, I am unsure of how to 

  • Change the Tomcat port in Server.xml resolved the issue

I went to my server files and opened the server.xml. However I couldn't seem to locate the "tomact port" number inside of this file, Perhaps is it called something different inside of the file?

 

Regards,

19-Tanzanite
May 30, 2023

@Janicen 

 

Please refer to this post - How to change Apache Tomcat web server port number - Stack Overflow

 

My suggestion would be to open a support ticket with PTC for this issue. 

 

/VR