HTTP Upload. -5120 Error

Login to reply to this topic.
Tue, 2006-12-26 23:40
Joined: 2006-06-27
Forum posts: 34
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&parameter=2&param=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

Wed, 2006-12-27 16:59
Joined: 2006-06-27
Forum posts: 34
Re: HTTP Upload. -5120 Error
I have solved this problem, internet access point which i used was not configured properly.
Tue, 2008-04-15 07:52
Joined: 2008-04-07
Forum posts: 2
Re: HTTP Upload. -5120 Error

Hi Yarichello

Can you please tell me the solution? I am having the same problem....

Thanks
Shawon

Tue, 2008-04-15 13:47
Joined: 2006-06-27
Forum posts: 34
Re: HTTP Upload. -5120 Error

No solution, problem is only not properly configured access point. Refer to your service provider to get it.

Wed, 2008-04-16 13:29
Joined: 2008-04-07
Forum posts: 2
Re: HTTP Upload. -5120 Error

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

Wed, 2008-04-16 14:48
Joined: 2006-06-27
Forum posts: 34
Re: HTTP Upload. -5120 Error

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]

  • Login to reply to this topic.