Insight Discovery not accessible or not scanning due to "Fatal error by loading credential list"

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く


問題

Unable to access the Insight Discovery tool or the service is not running anymore. Similar errors like the following can be seen in the terminal when attempting to run it or in <Discovery_home>/logs/<Instance_name>_<date>_<time>_discovery/<date>-<time>_discovery-0000000000.log

10/28/2021 10:29:20 AM : Fatal error by loading credential list
10/28/2021 10:29:20 AM : Exceptions:
10/28/2021 10:29:20 AM : The input stream is not a valid binary format. The starting contents (in bytes) are: A3-20-B4-00-3F-DD-F7-79-4E-33-24-4B-29-14-CA-AD-97 ...
   at Insight.Discovery.Tools.ObjectSerializer.DeserializeObject[T](String file, SerializeType sType) in C:\SourceCode\discovery_repo\DiscoTools\ObjectSerializer.cs:line 125
   at Insight.Discovery.InfoClasses.CredentialList.Load(String password, String appPath) in C:\SourceCode\discovery_repo\InfoClasses\CredentialList.cs:line 119
10/28/2021 10:29:20 AM : Fatal error by loading credential list
10/28/2021 10:29:20 AM : Exceptions:
10/28/2021 10:29:20 AM : Binary stream '145' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
   at Insight.Discovery.Tools.ObjectSerializer.DeserializeObject[T](String file, SerializeType sType) in C:\SourceCode\discovery_repo\DiscoTools\ObjectSerializer.cs:line 125
   at Insight.Discovery.InfoClasses.CredentialList.Load(String password, String appPath) in C:\SourceCode\discovery_repo\InfoClasses\CredentialList.cs:line 119
10/28/2021 10:29:20 AM : Could not load credentials, execution aborted.
10/28/2021 10:29:20 AM : Error loading credentials.known.
10/28/2021 10:29:20 AM : Exceptions:
10/28/2021 10:29:20 AM : Attempting to deserialize an empty stream.
   at Insight.Discovery.Tools.ObjectSerializer.DeserializeObject[T](String file, SerializeType sType) in c:\SourceCode\discovery_repo\DiscoTools\ObjectSerializer.cs:line 125
   at Insight.Discovery.InfoClasses.AssetHistoryList.Load(String appPath) in c:\SourceCode\discovery_repo\InfoClasses\AssetHistoryList.cs:line 155


原因

The credential list which is need for scanning or to access the tool is not loadable.

回避策

  1. Move the file called credentialstore away from the Discovery folder.

  2. Access the Discovery tool again and recreate the credentials.

    • If you have a backup of the credentialstore file that used to work, you could restore it to the Discovery folder before accessing the Discovery tool again.


説明 Insight Discovery not accessible or not scanning due to "Fatal error by loading credential list"
製品Insight Discovery

最終更新日: 2022 年 1 月 6 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.