Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMPP transport tear down should gracefully handle errors in set up. #1043

Open
hodgestar opened this issue May 18, 2016 · 0 comments
Open

SMPP transport tear down should gracefully handle errors in set up. #1043

hodgestar opened this issue May 18, 2016 · 0 comments

Comments

@hodgestar
Copy link
Contributor

From praekeltfoundation/junebug#96:

When deleting an SMPP channel (in this instance it never successfully worked, but I don't know if that's relevant) the following error shows:

{
  "status": 500,
  "code": "Internal Server Error",
  "description": "generic error",
  "result": {
    "errors": [
      {
        "message": "'SmppTransceiverTransport' object has no attribute 'service'",
        "type": "AttributeError"
      }
    ]
  }
}

Likely this is caused by the SMPPService not being set up fully when it was started. See https://github.com/praekelt/vumi/blob/develop/vumi/transports/smpp/smpp_transport.py#L294 for where the error probably occurred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant