Repository contains cuba artifacts not found

Hi everybody,

when I try to open my project which I developed I get this problem:
“Repository contains cuba artifacts not found in Index of /groups/work

and I have this code in build.gradle:

buildscript {
    ext.cubaVersion = '6.7.3'
    repositories {
        // this section is absent in your build.gradle file
        maven {
            url 'https://repo.cuba-platform.com/content/groups/work'
            credentials {
                username(rootProject.hasProperty('repoUser') ? rootProject['repoUser'] : 'cuba')
                password(rootProject.hasProperty('repoPass') ? rootProject['repoPass'] : 'cuba123')
            }
        }

        maven {
            url 'https://repo.cuba-platform.com/content/groups/premium'
            credentials {
                username(rootProject.hasProperty('repoUser') ? rootProject['repoUser'] : 'premUser')
                password(rootProject.hasProperty('repoPass') ? rootProject['repoPass'] : 'premPassword')
            }
        }
        
    }
    dependencies {
        classpath "com.haulmont.gradle:cuba-plugin:$cubaVersion"
    }
}

But I still get the same problem.

Does anybody have an hint for me?

Thanks

Hi,
Have you solved the problem with proxy-connection? Such error occurs if the project repository is unaccessible or does not contain CUBA-artifacts.

I’m sorry to resume an old thread, but it may be useful for someone.

It happens to me to receive that error. The problem was that the clock was not synchronized with the ntp server.

Since the connection is https it may be possible that the browser was trying to use an old session not recognized by the server.

Updating the clock was the solution.