java.net.UnknownHostException: appengine.google.com

前端 未结 5 1539
夕颜
夕颜 2021-02-09 11:18

Got this error. Any idea how to get rid of it?

Yesterday it was working fine but today I got these errors. I saw a known issue with this - link. But I didn\'t find any s

相关标签:
5条回答
  • 2021-02-09 11:58

    This error is related to internet connection. I changed to other connection, it works

    0 讨论(0)
  • 2021-02-09 12:06

    You should add in appengine-web.xml:

    <url-stream-handler> urlfetch </ url-stream-handler> 
    

    And also start using java.net.URLConnection, Apache HttpClient is not gonna work for example.

    https://cloud.google.com/appengine/docs/standard/java/issue-requests#java_8_runtime_vs_java_7_behavior

    0 讨论(0)
  • 2021-02-09 12:09

    I am assuming that you are seeing this in your Eclipse IDE when you are trying to run the Eclipse Project as a Web Application.

    The GAE plugin simply checks if there is an updated AppEngine SDK available for download. If there is a newer one than the one you are currently using then it lets you know that. The error is because at that instance, there was probably a network error and it got not connect through. It is harmless as far as running your application is concerned.

    But if your application is dependent on accessing some external network services, then chances are that they might fail also if the network issue persists in your development environment.

    0 讨论(0)
  • 2021-02-09 12:19

    If you are using Java 8 in your app engine application, you will need to include

    <url-stream-handler> urlfetch </ url-stream-handler> 
    

    in appengine-web.xml.

    appengine-web.xml Reference

    0 讨论(0)
  • 2021-02-09 12:22

    got it working.. : cmd->goto your home directory >mkdir .appcfg_no_nag this will stop checking for the update and yourweb app willrun locally atleast..

    0 讨论(0)
提交回复
热议问题