android - Appengine connection time out error -
i have been trying create app engine module using java.it has been working .but start show error
error:execution failed task ':backend:appengineendpointsgetclientlibs'.there error running endpoints command get-client-lib: connect timed out
my stack trace is
failure: build failed exception. * went wrong: execution failed task ':backend:appengineendpointsgetclientlibs'. > there error running endpoints command get-client-lib: connect timed out * try: run --info or --debug option more log output. * exception is: org.gradle.api.tasks.taskexecutionexception: execution failed task ':backend:appengineendpointsgetclientlibs'. @ org.gradle.api.internal.tasks.execution.executeactionstaskexecuter.executeactions(executeactionstaskexecuter.java:69) @ org.gradle.api.internal.tasks.execution.executeactionstaskexecuter.execute(executeactionstaskexecuter.java:46) caused by: org.gradle.api.gradleexception: there error running endpoints command get-client-lib: connect timed out @ com.google.appengine.task.endpoints.endpointstask.runendpointscommand(endpointstask.groovy:52) @ com.google.appengine.task.endpoints.endpointstask$runendpointscommand.callcurrent(unknown source) ... 55 more caused by: java.net.sockettimeoutexception: connect timed out @ com.google.appengine.repackaged.com.google.api.client.http.javanet.nethttprequest.execute(nethttprequest.java:77) @ com.google.appengine.repackaged.com.google.api.client.http.httprequest.execute(httprequest.java:972) @ com.google.api.server.spi.tools.clouddiscoverydocgenerator.postrequest(clouddiscoverydocgenerator.java:75) ... 66 more
my web.xml file is
<?xml version="1.0" encoding="utf-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5"> <filter> <filter-name> objectifyfilter</filter-name> <filter-class>com.googlecode.objectify.objectifyfilter</filter-class> </filter> <filter-mapping> <filter-name>objectifyfilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <servlet> <servlet-name>systemserviceservlet</servlet-name> <servlet-class>com.google.api.server.spi.systemserviceservlet</servlet-class> <init-param> <param-name>services</param-name> <param-value>com.example.user.childtracker.backend.registrationendpoint, com.example.user.childtracker.backend.messagingendpoint</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>systemserviceservlet</servlet-name> <url-pattern>/_ah/spi/*</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list>
i have tried create new appengine project still shows error.apps without appengine works ok. 1 help.
as far know, connection timing out network problem .go file > settings > appearance , behaviour > system settings > http proxy
, make sure proxy settings this:
perform gradle sync , see how goes.
Comments
Post a Comment