Well, that error is actually a socket error coming from "below". If you look
at the logs, it has the same thread id (3704) as the pdu, so at least for me
there's no doubt about what connection is referring to.

The actual error is:

2010-05-10 18:10:37 [3704] [6] ERROR: System error 104: Connection reset by
peer

So, apparently the other side is dropping the connection right after
receiving the bind_transmitter PDU. Kiran: you should speak with your smsc
operator and ask about what error do they see on their side, maybe there's a
problem with the SSL cert but you won't be able to figure out much about it
from your side, since the SMSC is dropping the connection before answering
the bind_transmitter.

I suspect a certificate problem.

Regards,

Alex

2010/5/11 Nikos Balkanas <nbalka...@gmail.com>

>  Correction Alex. It is not C's way of saying that the socket connection
> was dropped, but Kannel's providing for some indeterminate logging. Saying
> that "a connection" was dropped. without specifying the connection is pretty
> much worthless in a multithreaded context. Especially meaningless is the
> socket number, 22, which cannot be correlated to anything.
>
> BR,
> Nikos
>
> ----- Original Message -----
> *From:* Alejandro Guerrieri <alejandro.guerri...@gmail.com>
> *To:* Nikos Balkanas <nbalka...@gmail.com>
> *Cc:* Kiran Reddy <ki...@uniceltech.com> ; users@kannel.org
> *Sent:* Tuesday, May 11, 2010 9:35 AM
> *Subject:* Re: Error reading from fd 22
>
> File Descriptor #22, which happens to be the socket connection. It's C way
> of saying that the socket connection was dropped.
>
> Regards,
>
> Alex
>
> 2010/5/11 Nikos Balkanas <nbalka...@gmail.com>
>
>> I don't know what is fd 22. I presume it is the SMSc. You connect fine
>> without ssl? Why then try ssl? Chances are that your provider might not
>> support ssl connections.
>>
>>
>> BR,
>> Nikos
>> ----- Original Message ----- From: "Kiran Reddy" <ki...@uniceltech.com>
>> To: "Nikos Balkanas" <nbalka...@gmail.com>; <users@kannel.org>
>> Sent: Tuesday, May 11, 2010 8:42 AM
>>
>> Subject: Re: Error reading from fd 22
>>
>>
>>   Dear Nikos,
>>>
>>> We prepared the configuration file using user guide only. In that it
>>> clearly mentioned under CORE to enable ssl-server-cert-file,
>>> ssl-server-key-file, ssl-client-certkey-file & sendsms-port-ssl under
>>> smsbox.
>>>
>>> But when i starting the client it throwing the "Error reading from file
>>> fd 22". we tried without ssl and its work fine.
>>>
>>> Please help. thanks in advance.
>>>
>>>
>>> Regards,
>>> ------------
>>> Kiran Reddy
>>>
>>>
>>>
>>> -------Original Message-------
>>> From: Nikos Balkanas <nbalka...@gmail.com>
>>> To: Kiran Reddy <ki...@uniceltech.com>, users@kannel.org
>>> Subject: Re: Error reading from fd 22
>>> Sent: May 11 '10 1:23am
>>>
>>> Hi,
>>>
>>> Read User's guide about use-ssl in group smsc.
>>>
>>> BR,
>>> Nikos
>>> ----- Original Message -----
>>> From: "Kiran Reddy" <ki...@uniceltech.com>
>>> To: "Nikos Balkanas" <nbalka...@gmail.com>; <users@kannel.org>
>>> Sent: Monday, May 10, 2010 4:33 PM
>>> Subject: Re: Error reading from fd 22
>>>
>>>
>>> > Hi Nikos,
>>> >
>>> > Please find the attached configuration file.
>>> >
>>> > Regards,
>>> > ------------
>>> > Kiran Reddy
>>> >
>>> >
>>> > -------Original Message-------
>>> > From: Nikos Balkanas <nbalka...@gmail.com>
>>> > To: Kiran Reddy <ki...@uniceltech.com>, users@kannel.org
>>> > Subject: Re: Error reading from fd 22
>>> > Sent: May 10 '10 6:52pm
>>> >
>>> > Please post configuration.
>>> >
>>> > Nikos
>>> > ----- Original Message -----
>>> > From: "Kiran Reddy" <ki...@uniceltech.com>
>>> > To: "Nikos Balkanas" <nbalka...@gmail.com>; <users@kannel.org>
>>> > Sent: Monday, May 10, 2010 4:17 PM
>>> > Subject: Re: Error reading from fd 22
>>> >
>>> >
>>> > > Hi Nikos,
>>> > >
>>> > > I am sorry ....
>>> > >
>>> > > Please help me about this error.
>>> > >
>>> > >
>>> > > Regards,
>>> > > ------------
>>> > > Kiran Reddy
>>> > >
>>> > > -------Original Message-------
>>> > > From: Nikos Balkanas <nbalka...@gmail.com>
>>> > > To: Kiran Reddy <ki...@uniceltech.com>, users@kannel.org
>>> > > Subject: Re: Error reading from fd 22
>>> > > Sent: May 10 '10 6:44pm
>>> > >
>>> > > Hi,
>>> > >
>>> > > Please do not spam. Resending the same message within 20' will not
>>> get
>>> > > you
>>> > > the help you want.
>>> > >
>>> > > BR,
>>> > > Nikos
>>> > > ----- Original Message -----
>>> > > From: "Kiran Reddy" <ki...@uniceltech.com>
>>> > > To: <users@kannel.org>
>>> > > Sent: Monday, May 10, 2010 4:04 PM
>>> > > Subject: Error reading from fd 22
>>> > >
>>> > >
>>> > > > Hi Team,
>>> > > >
>>> > > > I'have installed kannel 1.4.3 and trying to setup the same with
>>> ssl.
>>> > > > While
>>> > > > starting the kannel client am getting the below error. its says > >
>>> > "Error
>>> > > > reading from fd 22".
>>> > > >
>>> > > > Can any one help us out to setup the ssl in conf file with some
>>> > > > examples.
>>> > > >
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG: SMPP[NEW_SMPP]: Sending PDU:
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG: SMPP PDU 0x921aff0 dump:
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG:Ξ ΒΆ Ξ ΒΆ type_name: > > >
>>> bind_transmitter
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG:Ξ ΒΆ Ξ ΒΆ command_id: 2 = > >
>>> > 0x00000002
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG:Ξ ΒΆ Ξ ΒΆ command_status: 0 =
>>> > > > 0x00000000
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG:Ξ ΒΆ Ξ ΒΆ sequence_number: 44
>>> =
>>> > > > 0x0000002c
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG:Ξ ΒΆ Ξ ΒΆ system_id: "xxxxxx"
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG:Ξ ΒΆ Ξ ΒΆ password: "xxxxx"
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG:Ξ ΒΆ Ξ ΒΆ system_type: ""
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG:Ξ ΒΆ Ξ ΒΆ interface_version:
>>> 52 > > > =
>>> > > > 0x00000034
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG:Ξ ΒΆ Ξ ΒΆ addr_ton: 0 = > > >
>>> 0x00000000
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG:Ξ ΒΆ Ξ ΒΆ addr_npi: 0 = > > >
>>> 0x00000000
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG:Ξ ΒΆ Ξ ΒΆ address_range: ""
>>>
>>> > > > 2010-05-10 18:10:37 [3704] [6] DEBUG: SMPP PDU dump ends.
>>> > > > 2010-05-10 18:10:37 [3704] [6] ERROR: Error reading from fd 22:
>>> > > > 2010-05-10 18:10:37 [3704] [6] ERROR: System error 104: Connection
>>> > > > reset
>>> > > > by peer
>>> > > > 2010-05-10 18:10:37 [3704] [6] ERROR: SMPP[NEW_SMPP]: Couldn't > >
>>> > connect
>>> > > > to
>>> > > > SMS center (retrying in 10 seconds).
>>> > > >
>>> > > > Regards,
>>> > > > ----------
>>> > > > Reddy
>>> > > >
>>> > > >
>>> > > > Regards,
>>> > > > ------------
>>> > > > Kiran Reddy
>>> > > >
>>> > >
>>> > >
>>> >
>>> >
>>> >
>>> >
>>>
>>>
>>>
>>
>>
>

Reply via email to