objecthub-io / ObjectHub

ObjectHub is an open repository for software objects and a development platform.
2 stars 1 forks source link

Error on loading shared object for the first time #337

Closed objecthub-io closed 6 years ago

objecthub-io commented 6 years ago

Steps

Findings

The following error occurs:

Exception reported: Unauthorized: No secret matching the supplied secret.
  Secret: [Token.UNSPECIFIED_TOKEN]
  Node [Nx.reference(https://u1.objecthub.io/mahila/home/my/~*1/.n/www.mahila.com.au/.meta/icon)]
  Message:  [ResolveMessageData [node=Nx.reference(https://u1.objecthub.io/mahila/home/my/~*1/.n/www.mahila.com.au/.meta/icon), token=Token.UNSPECIFIED_TOKEN]]
  Possible identifications of accepted authorizations are [[<unidentified>, master-secret]]
hub/users/main/~objecthub/home/my/~*0/it/.n/Platform/.n/Import/~*0/.n/ObjectHub_Web/.n/Screens/.n/Index___Main_Page/.n/Notification/.n/Notification__MA_/app_js/baseJs.js:90 java.lang.Exception: Unauthorized: No secret matching the supplied secret.
  Secret: [Token.UNSPECIFIED_TOKEN]
  Node [Nx.reference(https://u1.objecthub.io/mahila/home/my/~*1/.n/www.mahila.com.au/.meta/icon)]
  Message:  [ResolveMessageData [node=Nx.reference(https://u1.objecthub.io/mahila/home/my/~*1/.n/www.mahila.com.au/.meta/icon), token=Token.UNSPECIFIED_TOKEN]]
  Possible identifications of accepted authorizations are [[<unidentified>, master-secret]]<br />
Unknown.Throwable_1(Throwable.java:66)<br/>
Unknown.Exception_1(Exception.java:29)<br/>
Unknown.onUnauthorized_30(DataExceptionManager.java:98)<br/>
Unknown.onUnauthorized_30(DataExceptionManager.java
objecthub-io commented 6 years ago

When doing it again, it worked. Might have had some wrong cached value for the object.

In any case, improved the process in which object details are loaded.