Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

SMS Gateway losing Connection

Guest
Jan 13, 2009 Jan 13, 2009
Hi

I have a coldfusion 8 server connecting to an SMS Provider and the binding works great, sending messages works most of the time but the bind to the server drops randomly and regularly.

It seems like i can push messages through then it will hang and drop the bind then re-establish the bind and work again.

I have done a bunch of google searches for a similar problem with no success. Has anyone seen this same issue and if so how did you overcome it? Any input/suggestions/whatever would be greatly appreciated.

Thanks
TOPICS
Event gateways
7.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 13, 2009 Jan 13, 2009
NoahLink wrote:
> works great, sending messages works most of the time but the bind to the server
> drops randomly and regularly.

i'd first look to your SMS provider. cf's SMS gateway is pretty capable (we've
crushed an SMS provider w/cf's throughput).
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 14, 2009 Jan 14, 2009
They suggested we lower our ping time to 22 seconds which I did. I am getting the following errors pretty regularly. I suspect maybe it is a config value in my CFG file but i'm not sure. Thoughts?

(read from the bottom up)
---
Jan 14, 2009 10:15 AM Information SMS monitor (GateWayName)
SMSGateway (GateWayName) Ping reports connection bad, restarting
Jan 14, 2009 10:15 AM Information SMS monitor (GateWayName)
SMSGateway (GateWayName) UnBind to SMSC
Jan 14, 2009 10:15 AM Information SMS monitor (GateWayName)
SMSGateway (GateWayName) UnBind operation failed java.net.SocketException: Software caused connection abort: socket write error
Jan 14, 2009 10:15 AM Information SMS monitor (GateWayName)
SMSGateway (GateWayName) Reloading SMS gateway configuration file c:\path\to\CFG.cfg
Jan 14, 2009 10:15 AM Information SMS monitor (GateWayName)
SMSGateway (GateWayName) Binding to SMSC
Jan 14, 2009 10:15 AM Information SMS monitor (GateWayName)
SMSGateway (GateWayName) Bind was successful
Jan 14, 2009 10:14 AM Information SMS monitor (GateWayName)
SMSGateway (GateWayName) Bind was successful
---

Can you hook me up with however you have your CFG file setup so i can compare? I am using mostly the same values that came with the example one with a couple tweaks (the ping seconds for example).

Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 14, 2009 Jan 14, 2009
NoahLink wrote:
> They suggested we lower our ping time to 22 seconds which I did. I am getting
> the following errors pretty regularly. I suspect maybe it is a config value in
> my CFG file but i'm not sure. Thoughts?

using synch or asynch mode? is network retry turned on? what's the message
sending rate?

> Jan 14, 2009 10:15 AM Information SMS monitor (GateWayName)
> SMSGateway (GateWayName) Ping reports connection bad, restarting

this looks like the issue. network problems or simply on their end.

> Can you hook me up with however you have your CFG file setup so i can compare?
> I am using mostly the same values that came with the example one with a couple
> tweaks (the ping seconds for example).

won't do you much good but:

# This is the IP address of SMSC
ip-address=xxxxx

# Port to bind to
port=xxxxx

# Your system id
system-id=xxxxx

# Your password
password=xxxxx

# The source address for this client
source-ton=1
source-npi=1
source-address=xxxxx

# The address range this smpp client will serve
addr-ton=1
addr-npi=1
address-range=xxxxx

# Message sending rate; how many messages per second is the
# gateway allowed to send to your service provider.
message-rate=100

# The mode of the gateway; Either synchronous or asynchronous
# In synchronous mode the gateway will wait for the response
# from the server when sending a message and the SendGatewayMessage()
# CFML function will return the SMS messageID of the message
# or an empty string if their is an error. In asynchronous mode,
# the gateway will not wait for a response and the SMS messageID
# will NOT be returned from SendGatewayMessage().
# The default is synchronous.
mode=synchronous

# Should the gateway retry delivery on Network Errors?
# If a network error occurs while trying to deliver a message,
# should the message be queued for delivery when the gateway
# is able to re-bind to the SMSC. This is useful if the gateway
# is in asynchronous mode, where no error status is returned from
# the CFML SendGatewayMessage() function.
# The default is no.
network-retry=no

# Should the gateway retry delievery on Transient Errors?
# If an error is returned from the SMSC that indicates
# the message may be able to be delivered in the future,
# should the gateway attemp to resend send the message?
# This is useful if the gateway is in asynchronous mode,
# where no error status is returned from the CFML
# SendGatewayMessage() function.
# The default is no.
transient-retry=no

##################################################
# Everything below here is usually OK.
##################################################

# The function in the Gateway CFC which the is called
# when an incoming message arrives.
#
cfc-method=onIncomingMessage

# The default destination address info
destination-ton=1
destination-npi=1
# You can't have a default destination
# destination-address=


# The service type can be empty or one of
# the following values:
# CMT, CPT, VMN, VMA, WAP or USSD
# service-type=

# From the spec:
# Identifies the type of system requesting the bind.
# This may enable SMSC responses which are
# particular to a given type of ESME.
system-type=SMPP

# The receive timeout is a timeout for trying to receive a message
# from the SMSC. If you want go to infinite wait until a PDU
# is received, set the receive-timeout to -1.
# The value is in seconds. The default is 30 seconds.
receive-timeout=10

# The ping interval is how often the SMS Gateway will send an
# EnquireLink PDU to the server to verify the health of the connection.
# The value is in seconds. The default is 60 seconds.
ping-interval=10

# The number of connection attempts the gateway will make until it gives up.
# Use -1 to retry until connected. The default is -1 (try forever).
retries=-1

# Connection retry interval; how long to wait between connection attemps.
# The value is in seconds. The default is 10 seconds.
retry-interval=10
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 14, 2009 Jan 14, 2009
Do you have another SMS provider you can test through for the sake of completeness? If you get the same error then it's probably a config issue on your end; if not then you know the current provider is snowballing you.

Generally speaking I agree with Paul though - I've seen CF crush an SMS provider before (one of those things that is amusing after the fact but notsomuch during) so I'd tend to blame the other guy first. But maybe I'm just cynical. 🙂
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 15, 2009 Jan 15, 2009
OK - i lowered the ping interval to 10 seconds and that seems to keep the connection. Seems I was making the problem tougher than it needed to be.

Thanks for the replies everyone.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 19, 2009 Jan 19, 2009
OOPS wrong topic sorry!!!! I accidently posted something here and had deleted it from here and posted on NEW TOPICS!!!! m kinda new to this forum thing!!!

Isn't there any delete option here............just in case it happens again!!!!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 12, 2009 May 12, 2009

Think about it: How many hours a day do you have your cell phone or BlackBerry with you, ready to receive incoming messages, as opposed to how long you spend in front of your laptop or PC? Big difference. So, smart Internet marketers are finding ways to target mobile network traffic using SMS servers that create their messages and receiving lists, along with gateway software that delivers to major cell phone networks in the United States and abroad. Utilizing SMS server/Gateway software is the key.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 17, 2012 Oct 17, 2012
LATEST

Hi,

I also had a similar problem with my coldfusion 8 several years ago. The only solution I could find was to switch to Ozeki NG SMS Gateway, because it turned out to be the only reliable gateway on the market that also provides the capacity I need.

I hope I could help.

Max

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources