Skip to content
This repository was archived by the owner on Sep 18, 2021. It is now read-only.

EnquireLink, SmppTimeoutException  #134

@DmitryTen

Description

@DmitryTen

Hi!

There is a question about EnquireLink
I use following code to maintain session:

		try {
			session.enquireLink(new EnquireLink(), TimeUnit.SECONDS.toMillis(10));
		} catch (SmppTimeoutException e) {
			log.error("elink exception", e);
			...
		}

It worked fine for few years, but from recent time i'm experiencing with SmppTimeoutException.
SmppTimeoutException is thrown, BUT tcpdump shows the response for EnquireLink was successfully received.

here it is StackTrace:
2018-03-22 08:51:26.475 ERROR [pool-21-thread-1] (ElinkTask.java:47) - elink exception
com.cloudhopper.smpp.type.SmppTimeoutException: Unable to get response within [10000 ms]
at com.cloudhopper.smpp.impl.DefaultSmppSession.sendRequestAndGetResponse(DefaultSmppSession.java:471)
at com.cloudhopper.smpp.impl.DefaultSmppSession.enquireLink(DefaultSmppSession.java:439)
at ru.cwt.message.utils.ElinkTask.run(ElinkTask.java:38)
...

here it is tcpdump request/response:
image

i use cloudhopper-smpp version 5.06.

Question is following:
Is this a known bug?
If it's not a bug, what could be a reason?
If it is a bug was it fixed in further versions?

Thanks a lot.
With Regards, Dmitriy.

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