Giter Site home page Giter Site logo

Comments (5)

Jayatubi avatar Jayatubi commented on September 22, 2024

COULDNT_RESOLVE_HOST是指你的设备无法完成DNS解析。请检查你的设备的网络和DNS服务器设置。你也可以换一个其他的url来测试。

如果你需要使用代理服务器,你可以试试:

easy.SetOpt(CurlUnity.CURLOPT.PROXY, "[scheme]://server:port");

参考

from curl-unity.

wohuiaini008 avatar wohuiaini008 commented on September 22, 2024

from curl-unity.

Jayatubi avatar Jayatubi commented on September 22, 2024

你可以试试直接使用IP地址是否能正常链接:

; <<>> DiG 9.10.3-P4-Ubuntu <<>> nghttp2.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3020
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;nghttp2.org.                   IN      A

;; ANSWER SECTION:
nghttp2.org.            299     IN      A       139.162.123.134

;; Query time: 1007 msec
;; SERVER: 10.10.4.10#53(10.10.4.10)
;; WHEN: Tue Oct 29 15:50:15 CST 2019
;; MSG SIZE  rcvd: 56

from curl-unity.

Jayatubi avatar Jayatubi commented on September 22, 2024

测试了,是Android权限的问题,在AndroidManifest.xml里面添加<uses-permission android:name="android.permission.INTERNET" />即可,稍后提供一个模板。

from curl-unity.

Jayatubi avatar Jayatubi commented on September 22, 2024

Fixed in 900ebeb

from curl-unity.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.