Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

app engine run error #364

Closed
zhuyifan2013 opened this issue Mar 6, 2015 · 3 comments
Closed

app engine run error #364

zhuyifan2013 opened this issue Mar 6, 2015 · 3 comments
Labels

Comments

@zhuyifan2013
Copy link

when I run ./gradlew backend:appengineRun I got :

* What went wrong:
Execution failed for task ':backend:appengineEndpointsGetClientLibs'.
> There was an error running endpoints command get-client-lib: java.security.cert.CertificateException: No subject alternative DNS name matching webapis-discovery.appspot.com found.

my gradle in backend is :


buildscript {
    repositories {
        mavenLocal()
        mavenCentral()
    }
    dependencies {
        classpath 'com.google.appengine:gradle-appengine-plugin:1.9.17'
    }
}

repositories {
    mavenCentral();
}

apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'appengine'

sourceCompatibility = 1.7
targetCompatibility = 1.7

dependencies {
    appengineSdk 'com.google.appengine:appengine-java-sdk:1.9.17'
    compile project(path: ':common')
    compile 'com.google.appengine:appengine-endpoints:1.9.17'
    compile 'com.google.appengine:appengine-endpoints-deps:1.9.17'
    compile 'javax.servlet:servlet-api:2.5'
    compile 'com.googlecode.objectify:objectify:5.0+'
    compile 'com.ganyo:gcm-server:1.0.2'
    compile 'com.google.code.gson:gson:2.+'
    compile project(':common')
}

appengine {
    downloadSdk = true
    appcfg {
        email = 'zhuyifan2013@gmail.com'
        noCookies = true
        oauth2 = true
    }
    endpoints {
        getClientLibsOnBuild = true
        getDiscoveryDocsOnBuild = true
    }
}

@mvarnagiris
Copy link
Owner

This is not supposed to work.

@zhuyifan2013
Copy link
Author

How to solve this?

@dantiana
Copy link

Having the same problem. How to solve?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants