Re: http request from windows service
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 12/15/04
- Next message: Dominick Baier: "Authorization Manager, ASP.NET, possible memory leak"
- Previous message: John: "Authorization Manager, ASP.NET, possible memory leak"
- In reply to: Eliyahu Goldin: "Re: http request from windows service"
- Next in thread: Eliyahu Goldin: "Re: http request from windows service"
- Reply: Eliyahu Goldin: "Re: http request from windows service"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 15 Dec 2004 13:35:22 -0600
It might be credentials-related, SSL related or proxy server related. Does
the server require authentication? If it is SSL, are you sure you have the
trusted roots installed where the service account can get to them? If it
goes through a proxy server, are you sure the service account has that proxy
configuration?
I'd check those assumptions first. It is a generally good idea to put some
robust instrumentation in any kind of service process though unless you plan
to handle these issues by attaching a debugger to it in production.
Joe K.
"Eliyahu Goldin" <removemeegoldin@monarchmed.com> wrote in message
news:OCWmaJt4EHA.1300@TK2MSFTNGP14.phx.gbl...
> When started from command line, the application makes an http request,
> gets
> a response and writes it to a file. When started from a windows service,
> no
> file is created. I might have to add some tracing to the application and
> see
> if an exception is generated. In meantime I am just wondering if there
> are
> any known security issues.
>
> Thank you for answering,
>
> Eliyahu
>
> "Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> wrote in message
> news:eRwMyKs4EHA.2876@TK2MSFTNGP12.phx.gbl...
>> What do you mean by "[it] doesn't seem to work when I start it from a
>> windows service"? Are receiving a particular exception? If so, could
>> you
>> please provide the full exception details as retrieved from a call to its
>> ToString() method?
>>
>>
>> "Eliyahu Goldin" <removemeegoldin@monarchmed.com> wrote in message
>> news:uR1zGgr4EHA.1404@TK2MSFTNGP11.phx.gbl...
>> > What security issues shall I care about when sending http requests from
> a
>> > windows service? I have a console program that works fine if I start it
>> > from
>> > command line and doesn't seem to work when I start it from a windows
>> > service. I am using HttpWebRequest and HttpWebResponse classes.
>> >
>> > Eliyahu
>> >
>> >
>>
>>
>
>
- Next message: Dominick Baier: "Authorization Manager, ASP.NET, possible memory leak"
- Previous message: John: "Authorization Manager, ASP.NET, possible memory leak"
- In reply to: Eliyahu Goldin: "Re: http request from windows service"
- Next in thread: Eliyahu Goldin: "Re: http request from windows service"
- Reply: Eliyahu Goldin: "Re: http request from windows service"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|