HTTP Upload. -5120 Error
| Tue, 2006-12-26 23:40 | |
|
Hi, All.
I have writed a code which perform http upload with Symbain http api. It's working good on 5 from 6 cellphone operators. On one operator at beginning of upload process I get from uploader -5120 error = No response from DNS server and GetNextDataPart function was never caused by api. But using another part of my program i get connected RSocket via sockets engine to server with same host name on same operator. Why http api returning -5120 error, when simple socket working perfecctly? Header example of my request: POST /Upload.ashx?parameter1=010¶meter=2¶m=3 HTTP/1.1 Cache-Control: no-cache Connection: Keep-Alive Host: www.myhost.com Accept: */* Content-Length: 61585 Content-Type: multipart/form-data; boundary=-------------158046840414746426 ---------------158046840414746426 Content-Disposition: form-data; name="file" ;filename="test.3gp" Content-Type: video/3gpp |
|






Forum posts: 34
Forum posts: 2
Hi Yarichello
Can you please tell me the solution? I am having the same problem....
Thanks
Shawon
Forum posts: 34
No solution, problem is only not properly configured access point. Refer to your service provider to get it.
Forum posts: 2
Hi Yarichello
Can you please explain what is the access point you are using. My network administrator changed my lan setting to wan setting where I can directly connect to internet. But still the emulator doesn't get dns response.
Thanks
Shawon
Forum posts: 34
Hhmm, that is trouble. I got this error only on the phone, and this was a real access point to my Mobile provaider.
I understand point of your problem, I think that, your emulator internet settings not configured properly. It seems you have Emulator version less that Series60 3rd edition, but if not, then problems in the internet settings, indeed. [Sorry for orthography, I am Ukrainian]