Skip to main content

When trying to connect to FME Server through workbench, I get Unable to update access token for 'connection name'. I generated a new token, that is valid until 2020, but I don't know how to tell the client to use the token.

Hi @adubs,

There is a documentation and examples to use the Token

Thanks,

Danilo


This is the error I get in workbench. Anyone else have this happen?


Updating
access token for 'zdh01342 FME Server'


Error: COM.safe.fmewebservices.FMEWebServiceException:
rshfme01


at
COM.safe.fmewebservices.FMEHttpUtils.post(FMEHttpUtils.java:160)


at COM.safe.fmewebservices.FMEWebService.postMessage(FMEWebService.java:124)


at
COM.safe.fmewebservices.FMETokenConnection.refreshAuthorizationInfo(FMETokenConnection.java:347)


at
COM.safe.fmewebservices.FMENamedConnectionManager.refreshAuthorizationInfo(FMENamedConnectionManager.java:1350)


at COM.safe.fmewebservices.FMETokenConnection.getAuthorizationHeader(FMETokenConnection.java:185)


Caused by: java.net.UnknownHostException: rshfme01


at java.net.Inet6AddressImpl.lookupAllHostAddr(Native
Method)


at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)


at
java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)


at java.net.InetAddress.getAllByName0(InetAddress.java:1276)


at java.net.InetAddress.getAllByName(InetAddress.java:1192)


at java.net.InetAddress.getAllByName(InetAddress.java:1126)


at
org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)


at
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:111)


at
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)


at
org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)


at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)


at
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)


at
org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)


at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)


at
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)


at
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)


at COM.safe.fmewebservices.FMEHttpUtils.post(FMEHttpUtils.java:138)


... 4 more


Error: rshfme01


Unable to update access token for 'zdh01342 FME Server'


Error: rshfme01


Reply