Comments (5)
COULDNT_RESOLVE_HOST
是指你的设备无法完成DNS解析。请检查你的设备的网络和DNS服务器设置。你也可以换一个其他的url来测试。
如果你需要使用代理服务器,你可以试试:
easy.SetOpt(CurlUnity.CURLOPT.PROXY, "[scheme]://server:port");
from curl-unity.
from curl-unity.
你可以试试直接使用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.
测试了,是Android权限的问题,在AndroidManifest.xml里面添加<uses-permission android:name="android.permission.INTERNET" />
即可,稍后提供一个模板。
from curl-unity.
Fixed in 900ebeb
from curl-unity.
Related Issues (13)
- 运行失败 HOT 1
- 请问怎么在下载进行中修改限速呢?直接设置SetOpt编辑器好用,安卓真机不好用 HOT 4
- CurlEasy.cs 里 ProgressFunction的参数类型是否应该是long? HOT 2
- 关于使用CurlMulti多线程下载的问题 HOT 2
- CurlMulti可能会有多线程导致崩溃的问题? HOT 8
- 设置最大下载速度接口在Android模拟器上无效
- xcode build报错 HOT 4
- Update curl to 7.64.1 HOT 8
- armeabi-v7a Android device CURLOPT_HEADERFUNCTION failed. HOT 4
- Never recieving messages to stream (half-open connection). HOT 8
- Send continuous stream to endpoint HOT 3
- 例子ResumeDownload.cs里,rangeEnd范围好像写错了,多了1byte HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curl-unity.