-
-
Notifications
You must be signed in to change notification settings - Fork 564
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
Jasmin crash after a time #986
Comments
Hi @marceloNascimentoDev |
I also have the same problem. @marceloNascimentoDev and @osquem any developments? |
I also have the same problem. @marceloNascimentoDev and @osquem any developments? Please kindly refer to the details of logs.I already double confirmed the username and password is correct. 2021-11-16 02:39:52 INFO 1 Establishing TCP connection to 172.16.10.229:1401 |
Is this issue up to date ? What jasmin release was it ? |
I have the same. I'm using v0.10.9 |
how much traffic is going through jasmin ? what interfaces are used (smpp/http) ? and are you running interceptors ? sms loggers ? do you have ram/cpu monitoring sheets ? |
Hi everyone, I have the same issue. Regards, |
I'm testing 0.10.2 with latest docker image and seems it's affected by this problem too. rabbit & gateway on one box. Looks that best option is to add another container with smppsim, creating new bind,submit_sm new message and check if uuid was generated - if no restart container
|
Good afternoon, recently I started using Jasmin as SMS gateway and initially it worked properly, but after a while I can no longer manipulate the connectors by jcli and send MT messages, being necessary to restart the containers to return to process correctly.
When I try to send an MT message via HTTP I get the following error message:
Endpoint: http://127.0.0.1:1401/send?username=user&password=user4&to=5541991169812&content=test&from=JasminDev
HTTP Response:
Success "[Failure instance: Traceback: <class 'txamqp.client.ChannelClosed'>: Method(name=close, id=40) (406, 'PRECONDITION_FAILED - consumer ack timed out on channel 1', 0, 0) content = None
/usr/local/lib/python3.9/site-packages/jasmin/queues/factory.py:230:publish
:3:basic_publish
/usr/local/lib/python3.9/site-packages/twisted/internet/defer.py:1613:unwindGenerator
/usr/local/lib/python3.9/site-packages/twisted/internet/defer.py:1529:_cancellableInlineCallbacks
--- ---
/usr/local/lib/python3.9/site-packages/jasmin/managers/clients.py:590:perspective_submit_sm
/usr/local/lib/python3.9/site-packages/twisted/internet/defer.py:1418:_inlineCallbacks
/usr/local/lib/python3.9/site-packages/txamqp/protocol.py:72:invoke
/usr/local/lib/python3.9/site-packages/txamqp/protocol.py:123:_raise_closed
]"
Log
Default-.log:
2021-05-12 20:36:04 ERROR 1 Bind failed [[Failure instance: Traceback (failure with no frames): <class 'smpp.pdu.error.SMPPRequestTimoutError'>: Request timed out after 30 secs: PDU [command: CommandId.bind_transceiver, sequence_number: 1, command_status: CommandStatus.ESME_ROK
system_id: b'secret'
password: b'secret'
system_type: b''
interface_version: 52
addr_ton: b'INTERNATIONAL'
addr_npi: b'ISDN'
address_range: None
]
]]. Disconnecting...
2021-05-12 20:36:04 WARNING 1 Disconnecting...
2021-05-12 20:36:04 WARNING 1 Shutdown requested...disconnecting
2021-05-12 20:36:04 WARNING 1 Disconnecting...
2021-05-12 20:36:06 INFO 1 Connecting to IPv4Address(type='TCP', host='89...', port=5091) ...
2021-05-12 20:36:06 WARNING 1 SMPP connection established from 89... to port 39892
2021-05-12 20:36:06 INFO 1 Connection made to 89...:5091
2021-05-12 20:36:06 WARNING 1 Requesting bind as transceiver
2021-05-12 20:36:06 WARNING 1 SMPP 89... disconnected from port 39892: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
]
2021-05-12 20:36:06 ERROR 1 Connection lost. Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
]
2021-05-12 20:36:06 INFO 1 Reconnecting after 10 seconds ...
Jasmin version:0.10.9
Docker-compose:
version: "3"
services:
redis:
image: redis:alpine
rabbit-mq:
image: rabbitmq:alpine
ports:
- 5672:5672
- 15672:15672
jasmin:
build:
context: ./
dockerfile: ./docker/Dockerfile.dev
container_name: jasmin
volumes:
- ./jasmin:/usr/jasmin/jasmin
ports:
- 2775:2775
- 8990:8990
- 1401:1401
depends_on:
- redis
- mysql
- rabbit-mq
environment:
REDIS_CLIENT_HOST: redis
AMQP_BROKER_HOST: rabbit-mq
mysql:
image: mysql:5.7
container_name: mysql
expose:
- "3306"
volumes:
- ./dbdata:/var/lib/mysql
environment:
MYSQL_DATABASE: jasmin
MYSQL_ROOT_PASSWORD: passwd
The text was updated successfully, but these errors were encountered: