Trados Studio 2019 API, FileBasedProject + Groupshare -> Expired token, unexpected exception, could not instantiate translation engine.

Dear SDL Devs, dear community,

we are currently running into the following issue:

Our Code uses an existing FileBasedProject. When updating the project credentials or TM settings we get the following exception:

Die Übersetzungs-Engine 'sdltm.groupshare.OURURL.com/ (US) - German (Germany)' konnte nicht instanziiert werden..

TMService.log shows the following problem:

2019-09-02 14:09:00.1913|SDLGROUPSHARE|Warn|THREAD_ID:23|TR_ID:OURIDHERE|Unauthorized request
2019-09-02 14:09:00.2382|SDLGROUPSHARE|Warn|THREAD_ID:23|TR_ID:ANOTHERIDHERE|Authentication failed: The message expired at 30.08.2019 10:46:44 and it is now 02.09.2019 14:09:00.

SDL Application.log shows the following problem:

2019-09-02 14:12:15.726#SecurityHandler.OAuthTokenHandler#DotNetOpenAuth.Messaging.ProtocolFaultResponseException: The message expired at 27.07.2019 01:56:48 and it is now 02.09.2019 14:12:15. ---> DotNetOpenAuth.Messaging.Bindings.ExpiredMessageException: The message expired at 27.07.2019 01:56:48 and it is now 02.09.2019 14:12:15.
bei DotNetOpenAuth.OAuth2.AccessToken.EnsureValidMessage()
bei DotNetOpenAuth.Messaging.DataBag.DotNetOpenAuth.Messaging.IMessage.EnsureValidMessage()
bei DotNetOpenAuth.Messaging.MessageSerializer.Deserialize(IDictionary`2 fields, MessageDictionary messageDictionary)
bei DotNetOpenAuth.Messaging.UriStyleMessageFormatter`1.DeserializeCore(T message, Byte[] data)
bei DotNetOpenAuth.Messaging.DataBagFormatterBase`1.Deserialize(T message, String value, IProtocolMessage containingMessage, String messagePartName)
bei DotNetOpenAuth.OAuth2.StandardAccessTokenAnalyzer.DeserializeAccessToken(IDirectedProtocolMessage message, String accessToken)
bei DotNetOpenAuth.OAuth2.ResourceServer.GetAccessToken(HttpRequestBase httpRequestInfo, String[] requiredScopes)
--- Ende der internen Ausnahmestapelüberwachung ---
bei DotNetOpenAuth.OAuth2.ResourceServer.GetAccessToken(HttpRequestBase httpRequestInfo, String[] requiredScopes)
bei DotNetOpenAuth.OAuth2.ResourceServer.GetAccessToken(HttpRequestMessage request, String[] requiredScopes)
bei Sdl.StudioServer.Authorization.SecurityHandler.OAuthTokenHandler.SetThreadIdentity(HttpRequestMessage request)

The token seems to expire after 12 hours, but we did not measure the exact amount of time.

  1. Can you check if we run into the same problem (expiring tokens) that was discussed previously here: https://gateway.sdl.com/apex/communityknowledge?articleName=000006236 ?
  2. Do you have any other suggestions that we can try, besides following the instructions from https://gist.github.com/cromica/e1a976fdfdc821136c7610b5e984904e (we checked already for code similarity)?
  3. At the moment it's not feasible for us to use https://github.com/sdl/groupsharekit.net since we have a huge code base, so refactoring to GS kit would be quite an effort.

Best regards from Würzburg, Germany,

Hendrik

We work with FileBasesProject based on Project Automation API in Trados Studio 2019 SR 2 15.2.0.1041.

We use Groupshare-based TMs on our own hosted Groupshare-Server running UI: 14.1.10 GS: 14.2.60175.10 - SR1 CU10.

Parents Reply Children
No Data