Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

not able to link repository to bamboo, Unable to read cipher data for 0

Santosh Negi April 2, 2019

Create repository

An unexpected error has occurred

Unable to read cipher data for 0

 

2019-04-03 10:11:16,159 INFO [http-nio-8085-exec-7] [AccessLogFilter] s.negi POST http://localhost:8085/admin/createLinkedRepository.action 585600kb
2019-04-03 10:11:16,418 FATAL [http-nio-8085-exec-7] [InstanceSecretStorage] Filesystem part of instance key is unavailable
2019-04-03 10:11:16,418 ERROR [http-nio-8085-exec-7] [BambooActionSupport] java.lang.IllegalArgumentException: Unable to read cipher data for 0
java.lang.IllegalArgumentException: Unable to read cipher data for 0
at com.atlassian.bamboo.crypto.instance.InstanceSecretStorage.readKeyAndIv(InstanceSecretStorage.java:59)
at com.atlassian.bamboo.crypto.instance.InstanceSecretStorage.loadCipherData(InstanceSecretStorage.java:116)
at com.atlassian.bamboo.crypto.instance.InstanceSecretStorage.getCipherData(InstanceSecretStorage.java:122)
at com.atlassian.bamboo.crypto.instance.InstanceSecretStorage.getOrCreateCipherData(InstanceSecretStorage.java:101)
at com.atlassian.bamboo.crypto.instance.InstanceSecretStorage.getCipherData(InstanceSecretStorage.java:94)
at com.atlassian.bamboo.crypto.instance.InstanceSecretStorage.getKeyAndIv(InstanceSecretStorage.java:84)
at com.atlassian.bamboo.crypto.instance.InstanceCipherProvider.getKeyAndIv(InstanceCipherProvider.java:60)
at com.atlassian.bamboo.crypto.instance.InstanceCipherProvider.getCipher(InstanceCipherProvider.java:46)
at com.atlassian.bamboo.crypto.instance.InstanceCipherProvider.getEncryptor(InstanceCipherProvider.java:33)
at com.atlassian.bamboo.crypto.instance.SecretEncryptionServiceInternalImpl.encrypt(SecretEncryptionServiceInternalImpl.java:125)
at com.atlassian.bamboo.crypto.instance.SecretEncryptionServiceInternalImpl.encrypt(SecretEncryptionServiceInternalImpl.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

 

1 answer

0 votes
Foong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 15, 2019

Is Bamboo upgraded from the older version? What is the previous Bamboo version?

The error means that the cipher key file is missing.

Haythem Benizid June 17, 2019

hi,

I get the same error while linking a plan to a repository :

[BambooActionSupport] java.lang.IllegalArgumentException: Unable to read cipher data for 0

- I am able to create a project/plan without linking to a repository.
- Not able creating the link between Bamboo and BitBucketcloud

Bamboo is running by the same user who has  drwx access on the 'cipher' directory and rw access on the file cipher.key_0

Bamboo version : 6.9.1 build 60910 (Centos 7)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events