Hi,
I tried to build source code of camunda/camunda repo and in the optimize backend module i got a 401 error.
Can someone help me to fix that.
As you see 401- unauthorized, you have not logged into docker registry. Optimize is Enterprise Image, which requires login.
Refer F.A.Q:
what are the login details.
(I’m trying to build source code for contributing)
Good to know that you would like to contribute. Follow the documentation for the details.
Thank you.
I followed the documentation, but error still occurs.
Hi @Din, welcome to the forum! I’m very excited that you’d like to contribute! I’ve reached out to the engineers to get some more feedback on your issue (I don’t think it’s a Docker issue, as the error is trying pull a Java dependency). However, we are in the middle of our flagship conference, CamundaCon, so it might be a couple days before I get an answer for you!
@Din - also a couple quick question to confirm a few details that will be helpful to troubleshoot this issue:
- what version of Java are you using?
- what build command are using?
- are you trying to build a specific branch/tag, or right from the
main
branch? - have you already made any code changes, or just trying to build right after pulling from GitHub?
- Java version - jdk 21.0.4
- build command -
mvn clean install -Dquickly
- trying to build the main branch
- trying to build right after cloning from github
Thanks @Din! Once I hear something from the engineers, I’ll post a reply (or maybe an engineer will reply directly)!
@Din - the engineers are working on a fix in the repo (see this issue), but for now you can replace this line in the pom.xml and instead of the /internal/
subpath, use the /public/
path:
<url>https://artifacts.camunda.com/artifactory/public/</url>
Let me know if you run into any other issues!
Thanks @nathan.loding! That worked.
I got some errors while running testcases locally.
@Din - were you able to work through the errors? If not, can you share them here and I’ll take a look?