SSL problem

Miguel Rodríguez Rubinos <>
Tue Nov 2 17:57:17 CET 2004


Hi,

thank you for your responses. At the end it works, but I had to have a look to
RFC 2616 at 14.23.

"A client MUST include a Host header field in all HTTP/1.1 request messages."

And my requests didin't have it. Now, they look like this

POST anURI HTTP/1.1
Host: Machine:Port
Accept: text/plain
Content-length: xxxx


Thanks a lot,

    Miguel


________________________________________________

Miguel Rodríguez Rubinos

NomaSystems

Edificio de Servicios Generales de Investigación
Campus de Elviña s/n
15071 A Coruña

Spain

http://www.nomasystems.com
________________________________________________

On Tue Nov  2  8:11 , Chandrashekhar Mullaparthi
<> sent:

>Can you try sending the URI has http://anURI in the POST line instead  
>of https://anURI  ?? Maybe your webserver is choking on that.
>
>cheers
>Chandru
>
>On 2 Nov 2004, at 15:03, Miguel Rodríguez Rubinos wrote:
>
>> Hi,
>>
>> here is the HttpBalanceMessage
>>
>> HttpBalanceMessage:
>>
>> "POST https://anURI
>> HTTP/1.1\r\n
>> Accept: text/plain\r\n
>> Content-length: 1001\r\n\r\n
>> 
>> 
>> "
>>
>> ________________________________________________
>>
>> Miguel Rodríguez Rubinos
>>
>> NomaSystems
>>
>> Edificio de Servicios Generales de Investigación
>> Campus de Elviña s/n
>> 15071 A Coruña
>>
>> Spain
>>
>> http://www.nomasystems.com
>> ________________________________________________
>>
>> On Mon Nov  1  9:46 , Chandrashekhar Mullaparthi
>> > sent:
>>
>>> Can you post what HttpBalanceMessage is?
>>>
>>>
>>> On 28 Oct 2004, at 15:22, Miguel Rodríguez Rubinos wrote:
>>>
>>>
>>>>
>>>> But I received it. But now when I try to send data to the server
>>>> (before 'pkix' I
>>>> couldn't),
>>>>
>>>> ssl:send(CSock, HttpBalanceMessage),
>>>>
>>>> it replies to me with:
>>>>
>>>> --
>>>> HTTP/1.1 400 Bad Request
>>>> Server: iPlanet-Web-Proxy-Server/3.6-SP5
>>>>
>>>> Your browser sent a message this server could not understand.
>>>> --
>>>>
>>>> I don't know how to solve this, could you help me?
>>>>
>>>>
>>>> Thanks a lot,
>>>>
>>>>      Miguel
>>>>
>>>
>>
>>
>> ---- Get Urchin 6 On Demand web analytics. Because you can't wait to  
>> be found.
>> http://www.urchin.com/? 
>> utm_campaign=U6OD&utm_medium=email&source=spymac.com&content=cantwait
>


---- Get Urchin 6 On Demand web analytics. Because you can't wait to be found.
http://www.urchin.com/?utm_campaign=U6OD&utm_medium=email&source=spymac.com&content=cantwait



More information about the erlang-questions mailing list