Skip to content

socket.timeout: timed out after Waiting for PDU... #106

@SergeSpinoza

Description

@SergeSpinoza

Hi. I have problem (use python 3.7), with socket.timeout:

INFO:smpplib.client:Connecting to my-domain.com:7779...
DEBUG:smpplib.client:Receiver mode
DEBUG:smpplib.client:Sending bind_transceiver PDU
DEBUG:smpplib.client:>>b'00000026000000090000000000000001676f6970736d730076396e3862364247000034000000' (38 bytes)
DEBUG:smpplib.client:Waiting for PDU...
Traceback (most recent call last):
  File "/Users/spinoza/Git/_my/telegram-sms-bot/venv/lib/python3.7/site-packages/smpplib/client.py", line 135, in _bind
    resp = self.read_pdu()
  File "/Users/spinoza/Git/_my/telegram-sms-bot/venv/lib/python3.7/site-packages/smpplib/client.py", line 205, in read_pdu
    raw_len = self._socket.recv(4)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/spinoza/Git/_my/telegram-sms-bot/smsbot.py", line 23, in <module>
    client.bind_transceiver(system_id='xxxxxxxxx', password='xxxxxxxxxxx')
  File "/Users/spinoza/Git/_my/telegram-sms-bot/venv/lib/python3.7/site-packages/smpplib/client.py", line 157, in bind_transceiver
    return self._bind('bind_transceiver', **kwargs)
  File "/Users/spinoza/Git/_my/telegram-sms-bot/venv/lib/python3.7/site-packages/smpplib/client.py", line 137, in _bind
    raise exceptions.ConnectionError()
smpplib.exceptions.ConnectionError
WARNING:smpplib.client:<smpplib.client.Client object at 0x1106086d0> was not closed

Process finished with exit code 1

I use SMPP in GoIP4 GSM gate.

What could be the problem?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions