PDA

View Full Version : server name could not be resolved


Florent Guiliani
17-Oct-2005, 11:02 AM
Hi all,

When a crash report is going to send on a web server I've got the error
message "HTTP error code: 12007 (Ther server name could not be resolved).

If I ping the name, the adress resolution works.

Any Idea ?
Florent G.,

PS: the adress in eurkalog option is 127.0.0.1 and it is changed at run
time in customfieldsrequest event with a name who works in others
applications (like ping or firefox).

admin
17-Oct-2005, 12:22 PM
Florent Guiliani wrote:
> Hi all,
>
> When a crash report is going to send on a web server I've got the error
> message "HTTP error code: 12007 (Ther server name could not be resolved).
>
> If I ping the name, the adress resolution works.
>
> Any Idea ?
> Florent G.,
>
> PS: the adress in eurkalog option is 127.0.0.1 and it is changed at run
> time in customfieldsrequest event with a name who works in others
> applications (like ping or firefox).

Can you send your CustomFieldsRequest event source, please?

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.

Florent Guiliani
17-Oct-2005, 01:35 PM
admin a écrit :
> Can you send your CustomFieldsRequest event source, please?
>

The problem is sovled, mea cupla. But now I've got others problems:
- Only URL in Eureka options is used, not the one who was set at run time
- None of login/passwors is send in the HTTP request (those in eureka
option and those set at run time).

This is the code:
void __fastcall TfrmMenew::EurekaLog1CustomFieldsRequest(
TEurekaExceptionRecord &EurekaExceptionRecord,
TStrings *FieldsName,
TStrings *FieldsValue)
{
EurekaExceptionRecord.CurrentModuleOptions->EMailSendMode = esmNoSend;
EurekaExceptionRecord.CurrentModuleOptions->WebURL =
"http://jupiter.perinfo.com";
EurekaExceptionRecord.CurrentModuleOptions->WebPort = 6677;
EurekaExceptionRecord.CurrentModuleOptions->WebUserID = "FLORENT";
EurekaExceptionRecord.CurrentModuleOptions->WebPassword = "f";
EurekaExceptionRecord.CurrentModuleOptions->WebSendMode = wsmHTTP;
}

the same behavior occured if I use ExceptionNotify event.

Any Idea?

Florent,

PS: the HTTP headers sent by eureka (there is no auth):

POST / HTTP/1.1
Content-Type: multipart/form-data;
boundary=---------------------------00000808DC6C
User-Agent: EurekaLog
Host: jupiter.perinfo.com:6677
Content-Length: 48023
Connection: Keep-Alive
Cache-Control: no-cache

Florent Guiliani
17-Oct-2005, 01:48 PM
Florent Guiliani a écrit :
> admin a écrit :

> The problem is sovled, mea cupla. But now I've got others problems:
> - Only URL in Eureka options is used, not the one who was set at run time
I've set "no http send" in eureka option and set all options at runtime.
It works, it used the specified URL

> - None of login/passwors is send in the HTTP request (those in eureka
> option and those set at run time).
but there is no authorization header in the http request :(

admin
17-Oct-2005, 05:02 PM
Florent Guiliani wrote:
> Florent Guiliani a écrit :
>
>> admin a écrit :
>
>
>> The problem is sovled, mea cupla. But now I've got others problems:
>> - Only URL in Eureka options is used, not the one who was set at run
>> time
>
> I've set "no http send" in eureka option and set all options at runtime.
> It works, it used the specified URL
>
>> - None of login/passwors is send in the HTTP request (those in
>> eureka option and those set at run time).
>
> but there is no authorization header in the http request :(

Can you send to me a little source demo capable to reproduce the problem
, so that I'll can solve it for you, please?


--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.

Florent Guiliani
18-Oct-2005, 10:49 AM
admin a écrit :
> Can you send to me a little source demo capable to reproduce the problem
> , so that I'll can solve it for you, please?
>
>

Here it is. The project was compiled with BCB 5 with all updates.
It use www.google.com as webserver and florent/f as login/pass.
It doesn't matter that www.google.com is used. You can use
ethereal (http://www.ethereal.com/) to snif the HTTP headers.

http headers (there is no auth):
POST / HTTP/1.1
Content-Type: multipart/form-data;
boundary=---------------------------6CF814FE798B
User-Agent: EurekaLog
Host: www.google.com
Content-Length: 39806
Connection: Keep-Alive
Cache-Control: no-cache

Run Project1.exe and clic "Access Violation".

Florent G.,

Florent Guiliani
19-Oct-2005, 12:42 PM
Florent Guiliani a écrit :
> Here it is. The project was compiled with BCB 5 with all updates.

Can you reproduice the bug?

admin
19-Oct-2005, 01:16 PM
Florent Guiliani wrote:
> Florent Guiliani a écrit :
>
>> Here it is. The project was compiled with BCB 5 with all updates.
>
>
> Can you reproduice the bug?

Yes, and I'm working to fix it! ;)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.

Florent Guiliani
19-Oct-2005, 04:07 PM
admin a écrit :
>
> Yes, and I'm working to fix it! ;)
>

cool, I hope I'll can download the fix ;)

admin
19-Oct-2005, 05:15 PM
Florent Guiliani wrote:
> admin a écrit :
>
>>
>> Yes, and I'm working to fix it! ;)
>>
>
> cool, I hope I'll can download the fix ;)

I have just fixed it in the last EurekaLog 5.0.5 RC 1.

Download it directly from your Customer Control Panel at:
http://www.eurekalog.com/login.php

PS: Thank you very much for the good feedback! ;)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.

Florent Guiliani
20-Oct-2005, 09:13 AM
admin a écrit :
> I have just fixed it in the last EurekaLog 5.0.5 RC 1.
>
> Download it directly from your Customer Control Panel at:
> http://www.eurekalog.com/login.php
>
> PS: Thank you very much for the good feedback! ;)
>

The bug is out.

Thanks for this goob job ;)
Your availability is very appreciated.

admin
20-Oct-2005, 10:28 AM
Florent Guiliani wrote:
> admin a écrit :
>
>> I have just fixed it in the last EurekaLog 5.0.5 RC 1.
>>
>> Download it directly from your Customer Control Panel at:
>> http://www.eurekalog.com/login.php
>>
>> PS: Thank you very much for the good feedback! ;)
>>
>
> The bug is out.
>
> Thanks for this goob job ;)
> Your availability is very appreciated.

It's my job, and I love it! ;)

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG showing line n.