PersistenceQuery and Akka-Http zombie stream - akka-http

Im atempting to stream the PersistenceQuery result with akka-http as SSE but it seems like when the http connection is closed from the client the PersistenceQuery stream is still hitting the event backend periodically.
// Http part
complete {
source(id)
.map(e => e.event) // other transformations
.map(e => ServerSentEvent(m.toString))
.keepAlive(4 seconds, () => ServerSentEvent.heartbeat)
}
// source
def source(id: UUID)(implicit system: ActorSystem, materializer: ActorMaterializer)= {
import system.dispatcher
val journalQuery = PersistenceQuery(system).readJournalFor[CassandraReadJournal](CassandraReadJournal.Identifier)
val futureSrcGraph: RunnableGraph[Future[Source[EventEnvelope, NotUsed]]] =
journalQuery.currentEventsByPersistenceId(id.toString, 0, Long.MaxValue)
.map(_.sequenceNr)
.toMat(Sink.last)(Keep.right)
.mapMaterializedValue(fs => fs.recoverWith {
case _ => Future { 0L } // assume we start at 1
}.map(s => journalQuery.eventsByPersistenceId(id.toString, s + 1, Long.MaxValue)))
Source.fromFutureSource(futureSrcGraph.run())
So this basically works the only problem is that the stream is never finished or so it seems. I have tried it with both CassandraReadJournal and LevelDb
Example of the log output:
[DEBUG] [06/18/2018 10:52:16.774] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query from seqNr [6] in partition [0]
[DEBUG] [06/18/2018 10:52:16.790] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query took [15] ms (empty)
[DEBUG] [06/18/2018 10:52:16.790] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query from seqNr [6] in partition [1]
[DEBUG] [06/18/2018 10:52:16.796] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query took [5] ms (empty)
[DEBUG] [06/18/2018 10:52:19.768] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query from seqNr [6] in partition [0]
[DEBUG] [06/18/2018 10:52:19.784] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query took [15] ms (empty)
[DEBUG] [06/18/2018 10:52:19.784] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query from seqNr [6] in partition [1]
[DEBUG] [06/18/2018 10:52:19.790] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query took [6] ms (empty)
[DEBUG] [06/18/2018 10:52:22.765] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query from seqNr [6] in partition [0]
[DEBUG] [06/18/2018 10:52:22.772] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query took [6] ms (empty)
[DEBUG] [06/18/2018 10:52:22.772] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query from seqNr [6] in partition [1]
[DEBUG] [06/18/2018 10:52:22.790] [sys-cassandra-plugin-default-dispatcher-17] [EventsByPersistenceIdStage(akka://sys)] EventsByPersistenceId [c6031a8a-db71-4dcb-9d4f-f140faa2f4c4] Query took [17] ms (empty)
And it keeps going for ever.
I have also tried omitting the Source.fromFutureSource and just running journalQuery.eventsByPersistenceId with the same results.
What am I doing wrong?

The here were that my corporat proxy never drops the connection to the server even when the client closes the connection.

Related

Obtaining names of data frame in Julia

I am trying to simply extract the list of names of a dataframe columns in Julia, but I get this error message:
ERROR: MethodError: objects of type Array{String,1} are not callable
Use square brackets [] for indexing an Array.
I am simply doing a call names(df).
(It also complains about some IOerror).
Thanks.
Edit: Here is the (ridiculously long) error I get with the MWE suggested below:
julia> df = DataFrame(:a => [2,3,5])
3×1 DataFrame
¦ Row ¦ a ¦
¦ ¦ Int64 ¦
+-----+-------¦
¦ 1 ¦ 2 ¦
¦ 2 ¦ 3 ¦
¦ 3 ¦ 5 ¦
julia> names(df)
ERROR: MethodError: objects of type Array{String,1} are not callable
Use square brackets [] for indexing an Array.
Stacktrace:
[1] top-level scope at REPL[144]:1
caused by [exception 6]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\wo
rker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\
share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String
, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts
.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.
ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tupl
e{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String,
::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool,
::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_wi
n64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPla
tforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at
.\none:0
[18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Con
text, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\b
uild\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
[19] #add at .\none:0 [inlined]
[20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{}
,NamedTuple{,Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1
}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win6
4\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
69 [inlined]
[23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [
inlined]
[24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
67 [inlined]
[25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [
inlined]
[26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::typeof(Pkg.AP
I.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API
.jl:66
[27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\A
PI.jl:66
[28] top-level scope at REPL[65]:1
caused by [exception 5]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\wo
rker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\
share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String
, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts
.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.
ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tupl
e{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String,
::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool,
::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_wi
n64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPla
tforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at
.\none:0
[18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Con
text, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\b
uild\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
[19] #add at .\none:0 [inlined]
[20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{}
,NamedTuple{,Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1
}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win6
4\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
69 [inlined]
[23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [
inlined]
[24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
67 [inlined]
[25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [
inlined]
[26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::typeof(Pkg.AP
I.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API
.jl:66
[27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\A
PI.jl:66
[28] top-level scope at REPL[65]:1
caused by [exception 4]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\wo
rker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\
share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String
, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts
.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.
ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tupl
e{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String,
::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool,
::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_wi
n64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPla
tforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at
.\none:0
[18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Con
text, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\b
uild\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
[19] #add at .\none:0 [inlined]
[20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{}
,NamedTuple{,Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1
}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win6
4\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
69 [inlined]
[23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [
inlined]
[24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
67 [inlined]
[25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [
inlined]
[26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::typeof(Pkg.AP
I.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API
.jl:66
[27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\A
PI.jl:66
[28] top-level scope at REPL[65]:1
caused by [exception 3]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\wo
rker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\
share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String
, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts
.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.
ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tupl
e{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String,
::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool,
::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_wi
n64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPla
tforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at
.\none:0
[18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Con
text, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\b
uild\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
[19] #add at .\none:0 [inlined]
[20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{}
,NamedTuple{,Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1
}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win6
4\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
69 [inlined]
[23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [
inlined]
[24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
67 [inlined]
[25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [
inlined]
[26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::typeof(Pkg.AP
I.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API
.jl:66
[27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\A
PI.jl:66
[28] top-level scope at REPL[20]:1
caused by [exception 2]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\wo
rker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\
share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String
, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts
.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.
ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tupl
e{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String,
::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool,
::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_wi
n64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPla
tforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at
.\none:0
[18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Con
text, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\b
uild\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
[19] #add at .\none:0 [inlined]
[20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{}
,NamedTuple{,Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1
}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win6
4\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
69 [inlined]
[23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [
inlined]
[24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
67 [inlined]
[25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [
inlined]
[26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::typeof(Pkg.AP
I.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API
.jl:66
[27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\A
PI.jl:66
[28] top-level scope at REPL[20]:1
caused by [exception 1]
IOError: symlink: operation not permitted (EPERM)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] symlink(::String, ::String) at .\file.jl:851
[3] probe_symlink_creation(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\PlatformEngines.jl:131
[4] #unpack#95(::Bool, ::typeof(Pkg.PlatformEngines.unpack), ::String, ::String) at D:\buildbot\wo
rker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:727
[5] #unpack at .\logging.jl:0 [inlined]
[6] #download_verify_unpack#100(::Nothing, ::Bool, ::Bool, ::Bool, ::typeof(Pkg.PlatformEngines.do
wnload_verify_unpack), ::String, ::String, ::String) at D:\buildbot\worker\package_win64\build\usr\
share\julia\stdlib\v1.3\Pkg\src\PlatformEngines.jl:894
[7] #download_verify_unpack at .\none:0 [inlined]
[8] #download_artifact#38(::Bool, ::typeof(Pkg.Artifacts.download_artifact), ::Base.SHA1, ::String
, ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts
.jl:744
[9] #download_artifact at .\none:0 [inlined]
[10] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.
ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at D:\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:869
[11] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tupl
e{Pkg.BinaryPlatforms.Windows,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String,
::Dict{String,Any}, ::String) at .\none:0
[12] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool,
::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at D:\buildbot\worker\package_wi
n64\build\usr\share\julia\stdlib\v1.3\Pkg\src\Artifacts.jl:919
[13] #ensure_all_artifacts_installed at D:\buildbot\worker\package_win64\build\usr\share\julia\std
lib\v1.3\Pkg\src\Operations.jl:0 [inlined]
[14] #download_artifacts#78(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{String,1}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v
1.3\Pkg\src\Operations.jl:580
[15] #download_artifacts at .\none:0 [inlined]
[16] #download_artifacts#73(::Pkg.BinaryPlatforms.Windows, ::Bool, ::typeof(Pkg.Operations.downloa
d_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.3\Pkg\src\Operations.jl:570
[17] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPla
tforms.Windows}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at
.\none:0
[18] #add#112(::Bool, ::Pkg.BinaryPlatforms.Windows, ::typeof(Pkg.Operations.add), ::Pkg.Types.Con
text, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at D:\buildbot\worker\package_win64\b
uild\usr\share\julia\stdlib\v1.3\Pkg\src\Operations.jl:1017
[19] #add at .\none:0 [inlined]
[20] #add#25(::Bool, ::Pkg.BinaryPlatforms.Windows, ::Base.Iterators.Pairs{Union{},Union{},Tuple{}
,NamedTuple{,Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1
}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:102
[21] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at D:\buildbot\worker\package_win6
4\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:72
[22] #add#24 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
69 [inlined]
[23] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:69 [
inlined]
[24] #add#21 at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:
67 [inlined]
[25] add at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API.jl:67 [
inlined]
[26] #add#20(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{,Tuple{}}}, ::typeof(Pkg.AP
I.add), ::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\API
.jl:66
[27] add(::String) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Pkg\src\A
PI.jl:66
[28] top-level scope at REPL[20]:1
You've assigned a variable (of type Vector{String}) called names in your workspace prior to using DataFrames (Julia will prevent you from doing it after). The error message just tells you that you're trying to use names as function, which it isn't in your workspace.
names(df) should work on a data frame:
julia> using DataFrames
julia> df = DataFrame(:a => [2, 3, 5])
3×1 DataFrame
│ Row │ a │
│ │ Int64 │
├─────┼───────┤
│ 1 │ 2 │
│ 2 │ 3 │
│ 3 │ 5 │
julia> names(df)
1-element Array{Symbol,1}:
:a
Can you show us your code and try println(df) as well?

Kannel Cant establish a connection with smsc

First time Kannel user here. Trying to set up a kannel sms gateway on our office network but can't seem to establish a connection with the smsc. Please note that smsc hosts can be telnet on the given port from our network. Below is the bearerbox log.
2018-02-06 00:03:02 [9708] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2018-02-06 00:03:02 [9708] [0] INFO: REDIS: Connected to server at 10.4.163.221:6666.
2018-02-06 00:03:02 [9708] [0] INFO: REDIS: Selected database 0
2018-02-06 00:03:02 [9708] [0] INFO: REDIS: server version 2.8.20.
2018-02-06 00:03:02 [9708] [0] INFO: DLR using storage type: redis
2018-02-06 00:03:02 [9708] [0] DEBUG: Kannel bearerbox version `svn-r5111M'.
Build `Nov 11 2014 15:51:10', compiler `4.4.7 20120313 (Red Hat 4.4.7-11)'.
System Linux, release 2.6.32-642.el6.x86_64, version #1 SMP Wed Apr 13 00:51:26 EDT 2016, machine x86_64.
Hostname kannel64-001.dev1.whispir.net, IP 10.4.163.216.
Libxml version 2.7.6.
Using OpenSSL 1.0.1e-fips 11 Feb 2013.
Using hiredis API 0.10.1
Using native malloc.
2018-02-06 00:03:02 [9708] [0] INFO: Added logfile `/app/kannel-telcow/log/bearerbox.log' with level `0'.
2018-02-06 00:03:02 [9708] [0] INFO: Started access logfile `/app/kannel-telcow/log/access/access.log'.
2018-02-06 00:03:02 [9708] [0] INFO: HTTP: Opening server at port 13176.
2018-02-06 00:03:02 [9708] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2018-02-06 00:03:02 [9708] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 9708.
2018-02-06 00:03:02 [9708] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2018-02-06 00:03:02 [9708] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 9708.
2018-02-06 00:03:02 [9708] [2] DEBUG: HTTP: Including port 13176, fd 11 for polling in server thread
2018-02-06 00:03:02 [9708] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2018-02-06 00:03:02 [9708] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 9708.
2018-02-06 00:03:02 [9708] [0] DEBUG: starting smsbox connection module
2018-02-06 00:03:02 [9708] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).
2018-02-06 00:03:02 [9708] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes)
2018-02-06 00:03:02 [9708] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 9708.
2018-02-06 00:03:02 [9708] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2018-02-06 00:03:02 [9708] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 9708.
2018-02-06 00:03:02 [9708] [0] INFO: Set SMS resend frequency to 60 seconds.
2018-02-06 00:03:02 [9708] [0] INFO: SMS resend retry set to unlimited.
2018-02-06 00:03:02 [9708] [0] DEBUG: MO concatenated message handling enabled
2018-02-06 00:03:02 [9708] [0] INFO: Set throughput to 15.000 for smsc id <smsc-au-telcow>
2018-02-06 00:03:02 [9708] [0] INFO: DLR rerouting for smsc id <smsc-au-telcow> disabled.
2018-02-06 00:03:02 [9708] [0] DEBUG: Started thread 6 (gw/smsc/smsc_smpp.c:io_thread)
2018-02-06 00:03:02 [9708] [6] DEBUG: Thread 6 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 9708.
2018-02-06 00:03:02 [9708] [0] INFO: Set throughput to 15.000 for smsc id <smsc-au-telcow>
2018-02-06 00:03:02 [9708] [6] DEBUG: Connecting to <120.240.136.6>
2018-02-06 00:03:02 [9708] [0] INFO: DLR rerouting for smsc id <smsc-au-telcow> disabled.
2018-02-06 00:03:02 [9708] [0] DEBUG: Started thread 7 (gw/smsc/smsc_smpp.c:io_thread)
2018-02-06 00:03:02 [9708] [7] DEBUG: Thread 7 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 9708.
2018-02-06 00:03:02 [9708] [0] DEBUG: Started thread 8 (gw/bb_smscconn.c:sms_router)
2018-02-06 00:03:02 [9708] [0] INFO: ----------------------------------------
2018-02-06 00:03:02 [9708] [0] INFO: Kannel bearerbox II version svn-r5111M starting
2018-02-06 00:03:02 [9708] [8] DEBUG: Thread 8 (gw/bb_smscconn.c:sms_router) maps to pid 9708.
2018-02-06 00:03:02 [9708] [7] DEBUG: Connecting to <120.240.136.7>
2018-02-06 00:03:02 [9708] [0] INFO: MAIN: Start-up done, entering mainloop
2018-02-06 00:03:02 [9708] [2] DEBUG: HTTP: Creating HTTPClient for `10.4.163.219'.
2018-02-06 00:03:02 [9708] [2] DEBUG: HTTP: Created HTTPClient area 0x7f999c000ad0.
2018-02-06 00:03:02 [9708] [3] DEBUG: HTTP: Destroying HTTPClient area 0x7f999c000ad0.
2018-02-06 00:03:02 [9708] [3] DEBUG: HTTP: Destroying HTTPClient for `10.4.163.219'.
2018-02-06 00:03:02 [9708] [7] DEBUG: SMPP[smsc-au-telcow]: Sending PDU:
2018-02-06 00:03:02 [9708] [7] DEBUG: SMPP PDU 0x7f9990001710 dump:
2018-02-06 00:03:02 [9708] [7] DEBUG: type_name: bind_transceiver
2018-02-06 00:03:02 [9708] [7] DEBUG: command_id: 9 = 0x00000009
2018-02-06 00:03:02 [9708] [7] DEBUG: command_status: 0 = 0x00000000
2018-02-06 00:03:02 [9708] [7] DEBUG: sequence_number: 1 = 0x00000001
2018-02-06 00:03:02 [9708] [7] DEBUG: system_id: "someid"
2018-02-06 00:03:02 [9708] [7] DEBUG: password: "somepasswd"
2018-02-06 00:03:02 [9708] [7] DEBUG: system_type: ""
2018-02-06 00:03:02 [9708] [7] DEBUG: interface_version: 52 = 0x00000034
2018-02-06 00:03:02 [9708] [7] DEBUG: addr_ton: 0 = 0x00000000
2018-02-06 00:03:02 [9708] [7] DEBUG: addr_npi: 0 = 0x00000000
2018-02-06 00:03:02 [9708] [7] DEBUG: address_range: ""
2018-02-06 00:03:02 [9708] [7] DEBUG: SMPP PDU dump ends.
2018-02-06 00:03:02 [9708] [6] DEBUG: SMPP[smsc-au-telcow]: Sending PDU:
2018-02-06 00:03:02 [9708] [6] DEBUG: SMPP PDU 0x7f9994001670 dump:
2018-02-06 00:03:02 [9708] [6] DEBUG: type_name: bind_transceiver
2018-02-06 00:03:02 [9708] [6] DEBUG: command_id: 9 = 0x00000009
2018-02-06 00:03:02 [9708] [6] DEBUG: command_status: 0 = 0x00000000
2018-02-06 00:03:02 [9708] [6] DEBUG: sequence_number: 1 = 0x00000001
2018-02-06 00:03:02 [9708] [6] DEBUG: system_id: someid
2018-02-06 00:03:02 [9708] [6] DEBUG: password: "somepasswd"
2018-02-06 00:03:02 [9708] [6] DEBUG: system_type: ""
2018-02-06 00:03:02 [9708] [6] DEBUG: interface_version: 52 = 0x00000034
2018-02-06 00:03:02 [9708] [6] DEBUG: addr_ton: 0 = 0x00000000
2018-02-06 00:03:02 [9708] [6] DEBUG: addr_npi: 0 = 0x00000000
2018-02-06 00:03:02 [9708] [6] DEBUG: address_range: ""
2018-02-06 00:03:02 [9708] [6] DEBUG: SMPP PDU dump ends.
2018-02-06 00:03:02 [9708] [2] DEBUG: HTTP: Creating HTTPClient for `10.4.163.220'.
2018-02-06 00:03:02 [9708] [2] DEBUG: HTTP: Created HTTPClient area 0x7f999c000ad0.
2018-02-06 00:03:02 [9708] [3] DEBUG: HTTP: Destroying HTTPClient area 0x7f999c000ad0.
2018-02-06 00:03:02 [9708] [3] DEBUG: HTTP: Destroying HTTPClient for `10.4.163.220'.
2018-02-06 00:03:03 [9708] [2] DEBUG: HTTP: Creating HTTPClient for `10.4.163.219'.
2018-02-06 00:03:03 [9708] [2] DEBUG: HTTP: Created HTTPClient area 0x7f999c000ad0.
2018-02-06 00:03:03 [9708] [3] DEBUG: HTTP: Destroying HTTPClient area 0x7f999c000ad0.
2018-02-06 00:03:03 [9708] [3] DEBUG: HTTP: Destroying HTTPClient for `10.4.163.219'.
2018-02-06 00:03:03 [9708] [2] DEBUG: HTTP: Creating HTTPClient for `10.4.163.220'.
2018-02-06 00:03:03 [9708] [2] DEBUG: HTTP: Created HTTPClient area 0x7f999c000ad0.
2018-02-06 00:03:03 [9708] [3] DEBUG: HTTP: Destroying HTTPClient area 0x7f999c000ad0.
2018-02-06 00:03:03 [9708] [3] DEBUG: HTTP: Destroying HTTPClient for `10.4.163.220'.
2018-02-06 00:03:04 [9708] [2] DEBUG: HTTP: Creating HTTPClient for `10.4.163.219'.
2018-02-06 00:03:04 [9708] [2] DEBUG: HTTP: Created HTTPClient area 0x7f999c000ad0.
2018-02-06 00:03:04 [9708] [3] DEBUG: HTTP: Destroying HTTPClient area 0x7f999c000ad0.
Below is the kannel.conf file.
# Group Config
group = smsc
smsc=smpp
transceiver-mode = true
smsc-id=smsc-au-telcow
port=18766
host=120.240.136.6
system-type=
address-range=""
smsc-username=someid
smsc-password=somepasswd
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
bind-addr-ton=0
bind-addr-npi=0
msg-id-type=0x01
alt-charset="ASCII"
keepalive=100
idle-timeout=100
max-pending-submits=10
use-ssl=true
throughput=15
interface-version=
group = smsc
smsc=smpp
transceiver-mode = true
smsc-id=smsc-au-telcow
port=18766
host=120.240.136.7
system-type=
address-range=""
smsc-username=someuid
smsc-password=somepasswd
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
bind-addr-ton=0
bind-addr-npi=0
msg-id-type=0x01
alt-charset="ASCII"
keepalive=100
idle-timeout=100
max-pending-submits=10
use-ssl=true
throughput=15
interface-version=
# CORE
group = core
admin-port=13176
smsbox-port=10176
admin-password=k4nn3l
log-file="/app/kannel-telcow/log/bearerbox.log"
log-level=0
access-log-format="%l [SMSC:%i] [SVC:%n] [ACT:%A] [BINF:%B] [FID:%F] [META:%D] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u]"
box-deny-ip="*.*.*.*"
box-allow-ip="127.0.0.1"
#unified-prefix = "00358,0"
access-log="/app/kannel-telcow/log/access/access.log"
dlr-storage = redis
# SMSBOX Setup
group = smsbox
bearerbox-host=localhost
sendsms-port=11176
log-file="/app/kannel-telcow/log/error-smsbox.log"
log-level=0
access-log="/app/kannel-telcow/log/smsaccess.log"
reply-couldnotfetch=""
reply-emptymessage=""
mo-recode=true
group = sendsms-user
username = someuser
password = somepwd
default-sender = 6148993003
default-smsc =
omit-empty = true
max-messages = 10
concatenation = true
group = sms-service
keyword = default
accept-x-kannel-headers = true
get-url = "http://10.4.163.74/gateway_kannel/KannelEntrance?udh=%u&Command=%k&Sender=%p&SMSbody=%r&receiver=%P&fromSMSC=%i"
omit-empty = true
max-messages = 10
group = redis-connection
id = redisdlr
host = 10.4.163.221
port = 6666
database = 0
max-connections = 1
group = dlr-db
id = redisdlr
table = dlr
#ttl = 1
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
Below is the kannel.sh status output: Please note "connecting..." It should be "online" if everything is well.
[DEV.]root#kannel64-001t:/app/kannel-telcow/etc $ kannel.sh status telcow
=== telcow (13176) ===
Kannel bearerbox version `1.4.4'.
Status: running, uptime 0d 0h 0m 4s
smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 0m 3s)
smsc-au-telcow[smsc-au-telcow] SMPP:120.240.136.6:18766/18766:someid: (connecting, rcvd: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), sent: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 msgs)
smsc-au-telcow[smsc-au-telcow] SMPP:120.240.136.7:18766/18766:someid: (connecting, rcvd: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), sent: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 msgs)
Notes: smsc user name/password, ip addresses have been changed in this file due to security reasons. Can someone please advice on this I'm really at a loss here.
Many thanks in advance.
/B
hello its is all your kannel.conf file? Avoid attribute without value in your conf.
eg: system=
I don't see the SMSBOX-ROUTE CONFIGURATION.
You need to configure to forward the flow to the SMSBOX.This configuration work for me.
Please update your kannel.conf file that way and try:
#-------------CORE CONFIGURATION ------------------------
group = core
admin-port=13176
smsbox-port=10176
admin-password=k4nn3l
log-file="/app/kannel-telcow/log/bearerbox.log"
log-level=0
access-log-format="%l [SMSC:%i] [SVC:%n] [ACT:%A] [BINF:%B] [FID:%F] [META:%D] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u]"
admin-allow-ip = "*.*"
box-deny-ip="*.*.*.*"
box-allow-ip="127.0.0.1"
#unified-prefix = "00358,0"
access-log="/app/kannel-telcow/log/access/access.log"
#----------GROUP CONFIGURATION --------------------------
group = smsc
smsc=smpp
transceiver-mode = true
smsc-id=smsc-au-telcow
port=18766
host=120.240.136.6
address-range=""
smsc-username=someid
smsc-password=somepasswd
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
bind-addr-ton=1
bind-addr-npi=1
msg-id-type=0x01after this be assure that the executing user have the permission at last to write and read in the log file
alt-charset="ASCII"
keepalive=100
idle-timeout=100
max-pending-submits=10
use-ssl=true
wait-ack=600
throughput=60
#---------SMSBOX CONFIGURATION -----------------------
group = smsbox
smsbox-id =smsbox
bearerbox-host="127.0.0.1"
sendsms-port=11176
log-file="/app/kannel-telcow/log/error-smsbox.log"
log-level=0
access-log="/app/kannel-telcow/log/smsaccess.log"
#-------------- SMSBOX-ROUTE CONFIGURATION ----------------
group = smsbox-route
smsbox-id =smsbox
smsc-id =smsc-au-telcow
#-------SMS-SERVICE CONFIGURATION --------------------------
group = sms-service
keyword = default
catch-all = true
accept-x-kannel-headers = true
get-url = "http://10.4.163.74/gateway_kannel/KannelEntrance?udh=%u&Command=%k&Sender=%p&SMSbody=%r&receiver=%P&fromSMSC=%i"
omit-empty = true
max-messages = 10
assume-plain-text = true
#-------SENDSMS-USER CONFIGURATION ----------------------
group = sendsms-user
username = someuser
password = somepwd
default-sender = 6148993003
forced-smsc = smpp
omit-empty = true
max-messages = 10
concatenation = true
#---end.
after this be assure that the executing user have the permission of writting and reading in the log file

MobileFirst 7.1.0.00.20170505-1403 - Intermittent connectivity issue to MobileFirst server from Android and iPhone

We have build an hybrid application and we have noticed an intermittent issue with connectivity to the mobile-first server from Android and iPhone. And it resolves once we kill the app and start again. This happens in following scenarios
1) when the direct update is requested and once the direct update is done immediately after that it stops working.
2) when the app is open and kept ideal in the background for some time like 30 min and then if try to access it does not connect to the server.
iPhone Logs
Jan 17 21:37:42 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Error>: NSURLConnection finished with error - code -1100
Jan 17 21:37:42 Owners-iPhone-3 locationd[71] <Notice>: {"msg":"CLWifiPositioningSystemLogic::apply", "event":"elapsed", "begin_mach":6677143475613, "end_mach":6677143529851, "elapsed_s":"0.002259917", "event":"Motion::CoarseMovement", "now_s":"537935862.468443036"}
Jan 17 21:37:43 Owners-iPhone-3 locationd[71] <Notice>: {"msg":"CLWifiPositioningSystemLogic::apply", "event":"elapsed", "begin_mach":6677159234428, "end_mach":6677159257208, "elapsed_s":"0.000949167", "event":"Motion::CoarseMovement", "now_s":"537935863.124722004"}
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WORKLIGHT] +[WLClient sharedInstance] in WLClient.m:165 :: IBMMobilieFirstFoundation.framework version = 7.1-2016/09/19 17:15:50
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [My.SessionTimeoutServiceFactory] SessionTimeoutService elapsedTime : NaN
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [My.services] {"wifiName":"Not Available","networkConnectionType":"WIFI","ipv4Addresses":{"3GAddress":"10.192.82.165","wifiAddress":"10.0.1.5"},"ipv6Addresses":{"3GAddress":"::2600:380:a32b:513d:40ac:e5f3","wifiAddress":"::fe80:8:0:0:1c1a:a8cf"},"isNetworkConnected":"true","carrierName":"Not Available","isRoaming":"Not Available","isAirplaneMode":"Not Available","telephonyNetworkType":"Not Available","ipAddress":"10.0.1.5"}
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] +[WLAFHTTPRequestOperationManagerWrapper requestWithURL:] in WLAFHTTPRequestOperationManagerWrapper.m:51 :: Request url is https://myServerIp:443/MyProject/adapters/AnnouncementsAdapter/announcements/fetchannouncements
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] -[WLAFHTTPRequestOperationManagerWrapper start] in WLAFHTTPRequestOperationManagerWrapper.m:356 :: Starting the request with URL https://myServerIp:443/MyProject/adapters/AnnouncementsAdapter/announcements/fetchannouncements
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Error>: NSURLConnection finished with error - code -1001
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Error>: NSURLConnection finished with error - code -1001
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] -[WLAFHTTPRequestOperationManagerWrapper requestFailed:error:] in WLAFHTTPRequestOperationManagerWrapper.m:388 :: Request Failed
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] -[WLAFHTTPRequestOperationManagerWrapper requestFailed:error:] in WLAFHTTPRequestOperationManagerWrapper.m:389 :: Response Status Code : 0
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] -[WLAFHTTPRequestOperationManagerWrapper requestFailed:error:] in WLAFHTTPRequestOperationManagerWrapper.m:390 :: Response Error : The request timed out.
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] -[WLAFHTTPRequestOperationManagerWrapper requestFailed:error:] in WLAFHTTPRequestOperationManagerWrapper.m:388 :: Request Failed
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] -[WLAFHTTPRequestOperationManagerWrapper requestFailed:error:] in WLAFHTTPRequestOperationManagerWrapper.m:389 :: Response Status Code : 0
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] -[WLAFHTTPRequestOperationManagerWrapper requestFailed:error:] in WLAFHTTPRequestOperationManagerWrapper.m:390 :: Response Error : The request timed out.
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: TIC TCP Conn Cancel [39:0x1c4362700]
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: TIC TCP Conn Cancel [41:0x1c0365400]
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: TIC Enabling TLS [45:0x1c0368f40]
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: TIC TCP Conn Start [45:0x1c0368f40]
Jan 17 21:37:43 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: Task <8A3D00F0-37B8-4A43-BA2E-2C96EAE6AA9F>.<0> setting up Connection 45
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: TIC TLS Event [45:0x1c0368f40]: 1, Pending(0)
Jan 17 21:37:44 Owners-iPhone-3 locationd[71] <Notice>: {"msg":"CLWifiPositioningSystemLogic::apply", "event":"elapsed", "begin_mach":6677182200912, "end_mach":6677182224304, "elapsed_s":"0.000974667", "event":"Motion::CoarseMovement", "now_s":"537935864.081508040"}
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: TIC TLS Event [45:0x1c0368f40]: 2, Pending(0)
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: TIC TLS Event [45:0x1c0368f40]: 20, Pending(0)
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: TIC TCP Conn Connected [45:0x1c0368f40]: Err(16)
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: TIC TCP Conn Event [45:0x1c0368f40]: 1
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: TIC TCP Conn Event [45:0x1c0368f40]: 8
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: TIC TLS Handshake Complete [45:0x1c0368f40]
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: Task <8A3D00F0-37B8-4A43-BA2E-2C96EAE6AA9F>.<0> now using Connection 45
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: Task <8A3D00F0-37B8-4A43-BA2E-2C96EAE6AA9F>.<0> sent request, body N
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: Task <8A3D00F0-37B8-4A43-BA2E-2C96EAE6AA9F>.<0> received response, status 401 content K
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: Task <8A3D00F0-37B8-4A43-BA2E-2C96EAE6AA9F>.<0> response ended
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] -[WLAFHTTPRequestOperationManagerWrapper requestFailed:error:] in WLAFHTTPRequestOperationManagerWrapper.m:388 :: Request Failed
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] -[WLAFHTTPRequestOperationManagerWrapper requestFailed:error:] in WLAFHTTPRequestOperationManagerWrapper.m:389 :: Response Status Code : 401
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] -[WLAFHTTPRequestOperationManagerWrapper requestFailed:error:] in WLAFHTTPRequestOperationManagerWrapper.m:390 :: Response Error : Request failed: unauthorized (401)
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WORKLIGHT] +[WLClient sharedInstance] in WLClient.m:165 :: IBMMobilieFirstFoundation.framework version = 7.1-2016/09/19 17:15:50
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [NONE] Request [https://myServerIp:443/MyProject/authorization/v1/authorization]
Jan 17 21:37:44 Owners-iPhone-3 trustd[5056] <Notice>: could not disable pinning: not an internal release
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp[5966] <Notice>: THREAD WARNING: ['WLAuthorizationManagerPlugin'] took '22.705078' ms. Plugin should use a background thread.
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] +[WLAFHTTPRequestOperationManagerWrapper requestWithURL:] in WLAFHTTPRequestOperationManagerWrapper.m:51 :: Request url is https://myServerIp:443/MyProject/authorization/v1/authorization?response_type=code&client_id=4bd3c60d412b36d16f4da069658c0c7fa226cad1&redirect_uri=http%3A%2F%2Fmfpredirecturi&isAjaxRequest=true&x=0.15013111462581286
Jan 17 21:37:44 Owners-iPhone-3 assertiond[74] <Notice>: Client relinquished <BKProcessAssertion: 0x100f8a9f0; "Called by UIKit, from <redacted>" (finishTask:180s); id:\M-b\M^#\M-&0B8CA7216A0C>
Jan 17 21:37:44 Owners-iPhone-3 assertiond[74] <Notice>: [MyMobileApp:5966] Deactivate assertion: <BKProcessAssertion: 0x100f8a9f0; "Called by UIKit, from <redacted>" (finishTask:180s); id:\M-b\M^#\M-&0B8CA7216A0C>
Jan 17 21:37:44 Owners-iPhone-3 assertiond[74] <Notice>: [MyMobileApp:5966] dump all assertions HWM:4 (deactivateAssertion): {
<BKProcessAssertion: 0x101884d90; "Resume" (activation:inf); id:\M-b\M^#\M-&9D6AF759764B> [active]
}
Jan 17 21:37:44 Owners-iPhone-3 assertiond[74] <Notice>: [MyMobileApp:5966] New process assertion state; preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, preventSuspendOnSleep (assertion 0x100f8a9f0 added: (none); removed: preventIdleSleep)
Jan 17 21:37:44 Owners-iPhone-3 assertiond[74] <Notice>: [MyMobileApp:5966] Setting jetsam priority to 10 [0x10100]
Jan 17 21:37:44 Owners-iPhone-3 assertiond[74] <Notice>: [MyMobileApp:5966] dump all assertions HWM:4 (CPUMON check): {
<BKProcessAssertion: 0x101884d90; "Resume" (activation:inf); id:\M-b\M^#\M-&9D6AF759764B> [active]
}
Jan 17 21:37:44 Owners-iPhone-3 assertiond[74] <Notice>: Releasing PowerAssertion on MyMobileApp:5966 from update
Jan 17 21:37:44 Owners-iPhone-3 assertiond[74] <Notice>: [MyMobileApp:5966] Remove assertion: <BKProcessAssertion: 0x100f8a9f0; "Called by UIKit, from <redacted>" (finishTask:180s); id:\M-b\M^#\M-&0B8CA7216A0C>
Jan 17 21:37:44 Owners-iPhone-3 assertiond[74] <Notice>: [MyMobileApp:5966] dump all assertions HWM:4 (CPUMON check): {
<BKProcessAssertion: 0x101884d90; "Resume" (activation:inf); id:\M-b\M^#\M-&9D6AF759764B> [active]
}
Jan 17 21:37:44 Owners-iPhone-3 assertiond[74] <Notice>: -[BKAssertion dealloc] - <0x100f8a9f0>
Jan 17 21:37:44 Owners-iPhone-3 powerd[40] <Notice>: Process assertiond.74 Released SystemIsActive "MyMobileApp:5966:5966-C6CEB4F5-9DCC-4E15-8BB6-0B8CA7216A0C [Called by UIKit, from <redacted>] [0x100f8a9f0]" age:00:00:02 id:51539648155 [System: PrevIdle SysAct]
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp[5966] <Notice>: [DEBUG] [WL_AFHTTPRequestOperationManagerWrapper_PACKAGE] -[WLAFHTTPRequestOperationManagerWrapper start] in WLAFHTTPRequestOperationManagerWrapper.m:356 :: Starting the request with URL https://myServerIp:443/MyProject/authorization/v1/authorization?response_type=code&client_id=4bd3c60d412b36d16f4da069658c0c7fa226cad1&redirect_uri=http%3A%2F%2Fmfpredirecturi&isAjaxRequest=true&x=0.15013111462581286
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: Task <D0C8DF5A-65FD-4BE0-82C9-21579B9947D1>.<0> now using Connection 45
Jan 17 21:37:44 Owners-iPhone-3 MyMobileApp(CFNetwork)[5966] <Notice>: Task <D0C8DF5A-65FD-4BE0-82C9-21579B9947D1>.<0> sent request, body N
Jan 17 21:37:44 Owners-iPhone-3 CommCenter(libATCommandStudioDynamic.dylib)[88] <Notice>: QMI: Svc=0x03(NAS) Ind MsgId=0x0051 Bin=['01 1F 00 80 03 02 04 EB 71 51 00 13 00 14 06 00 C1 F3 A2 FF D4 00 A2 01 00 64 A4 03 00 01 64 00']
Jan 17 21:37:44 Owners-iPhone-3 locationd[71] <Notice>: {"msg":"CLWifiPositioningSystemLogic::apply", "event":"elapsed", "begin_mach":6677197559866, "end_mach":6677197584343, "elapsed_s":"0.001019875", "event":"Motion::CoarseMovement", "now_s":"537935864.721438050"}
Jan 17 21:37:45 Owners-iPhone-3 locationd[71] <Notice>: {"msg":"CLWifiPositioningSystemLogic::apply", "event":"elapsed", "begin_mach":6677205218631, "end_mach":6677205243804, "elapsed_s":"0.001048875", "event":"Motion::CoarseMovement", "now_s":"537935865.040650964"}
Jan 17 21:37:45 Owners-iPhone-3 locationd[71] <Notice>: {"msg":"CLWifiPositioningSystemLogic::apply", "event":"elapsed", "begin_mach":6677220543131, "end_mach":6677220575096, "elapsed_s":"0.001331875", "event":"Motion::CoarseMovement", "now_s":"537935865.679077029"}
Jan 17 21:37:47 Owners-iPhone-3 destinationd(DuetExpertCenter)[5082] <Notice>: predictionForCategories returned error: <private>
Jan 17 21:37:47 Owners-iPhone-3 destinationd(DuetExpertCenter)[5082] <Error>: Error: <private>
Jan 17 21:37:47 Owners-iPhone-3 destinationd[5082] <Error>: <private> received error: <private>
Jan 17 21:37:48 Owners-iPhone-3 symptomsd(SymptomEvaluator)[5571] <Error>: AWD direct: received libnetcore symptom w/ non conforming layout, dropping
Jan 17 21:37:49 Owners-iPhone-3 CommCenter(libATCommandStudioDynamic.dylib)[88] <Notice>: QMI: Svc=0x03(NAS) Ind MsgId=0x0051 Bin=['01 1F 00 80 03 02 04 EC 71 51 00 13 00 14 06 00 C1 F2 A2 FF 8A 00 A2 01 00 64 A4 03 00 01 64 00']
Jan 17 21:37:49 Owners-iPhone-3 locationd[71] <Notice>: {"msg":"CLWifiPositioningSystemLogic::apply", "event":"elapsed", "begin_mach":6677320175459, "end_mach":6677320223146, "elapsed_s":"0.001986958", "event":"Motion::CoarseMovement", "now_s":"537935869.830474019"}
Jan 17 21:37:50 Owners-iPhone-3 locationd[71] <Notice>: {"msg":"CLWifiPositioningSystemLogic::apply", "event":"elapsed", "begin_mach":6677343176271, "end_mach":6677343215897, "elapsed_s":"0.001651083", "event":"Motion::CoarseMovement", "now_s":"537935870.788828015"}
Jan 17 21:37:50 Owners-iPhone-3 backboardd(IOKit)[66] <Error>: iohideventsystem_client_dispatch_properties_changed:0x10004003
Jan 17 21:37:51 Owners-iPhone-3 locationd[71] <Notice>: {"msg":"CLWifiPositioningSystemLogic::apply", "event":"elapsed", "begin_mach":6677350805334, "end_mach":6677350831802, "elapsed_s":"0.001102833", "event":"Motion::CoarseMovement", "now_s":"537935871.106637001"}
Jan 17 21:37:51 Owners-iPhone-3 dataaccessd(PersistentConnection)[574] <Notice>: SimpleTimer <PCSimpleTimer: 0x105abd500> has fired
Jan 17 21:37:51 Owners-iPhone-3 dataaccessd(PersistentConnection)[574] <Notice>: Invalidating simple timer <PCSimpleTimer: 0x105abd500>
Jan 17 21:37:51 Owners-iPhone-3 dataaccessd(PersistentConnection)[574] <Notice>: Disabling power monitoring for <PCSimpleTimer: 0x105abd500> - 2 timers
Jan 17 21:37:51 Owners-iPhone-3 dataaccessd(PersistentConnection)[574] <Notice>: SimpleTimer <PCSimpleTimer: 0x106356790> has fired
Jan 17 21:37:51 Owners-iPhone-3 dataaccessd(PersistentConnection)[574] <Notice>: Invalidating simple timer <PCSimpleTimer: 0x106356790>
Jan 17 21:37:51 Owners-iPhone-3 dataaccessd(PersistentConnection)[574] <Notice>: Disabling power monitoring for <PCSimpleTimer: 0x106356790> - 1 timers
Jan 17 21:37:51 Owners-iPhone-3 MyMobileApp(WebCore)[5966] <Notice>: 0x103313d00 - PerformanceMonitor::measurePostLoadMemoryUsage: Process was using 158139272 bytes of memory after the page load.
Jan 17 21:37:53 Owners-iPhone-3 locationd[71] <Notice>: {"msg":"CLWifiPositioningSystemLogic::apply", "event":"elapsed", "begin_mach":6677396859076, "end_mach":6677396897944, "elapsed_s":"0.001619500", "event":"Motion::CoarseMovement", "now_s":"537935873.025398970"}
Jan 17 21:37:53 Owners-iPhone-3 locationd[71] <Notice>: {"msg":"CLWifiPositioningSystemLogic::apply", "event":"elapsed", "begin_mach":6677404480228, "end_mach":6677404523844, "elapsed_s":"0.001817333", "event":"Motion::CoarseMovement", "now_s":"537935873.342646003"}
Jan 17 21:37:54 Owners-iPhone-3 CommCenter(libATCommandStudioDynamic.dylib)[88] <Notice>: QMI: Svc=0x03(NAS) Ind MsgId=0x0051 Bin=['01 1F 00 80 03 02 04 ED 71 51 00 13 00 14 06 00 BF F5 A3 FF 8C 00 A2 01 00 64 A4 03 00 01 64 00']
The request just reaches the web server but it returned with 401 error. Once app is killed and restarted it starts working again.
IBM Http Server logs
- - [17/Jan/2018:21:01:12 -0500] "GET /worklightconsole/201704051514/css/images/IBM_logo.png HTTP/1.1" 200 720
- - [17/Jan/2018:21:01:12 -0500] "GET /worklightconsole/201704051514/css/fonts/bold/helvetica-neue-bold.woff2 HTTP/1.1" 200 30804
- - [17/Jan/2018:21:11:48 -0500] "GET / HTTP/1.1" 302 283
- - [17/Jan/2018:21:34:20 -0500] "GET /MYProject/authorization/v1/authorization?client_id=4bd3c60d412b36d16f4da069658c0c7fa226cad1&scope=-MYRealm&isAjaxRequest=true&x=0.275786186755855 HTTP/1.1" 200 -
- - [17/Jan/2018:21:34:20 -0500] "GET /MyProject/adapters/SecurityAdapter/security/login HTTP/1.1" 401 41
- - [17/Jan/2018:21:34:21 -0500] "GET /MyProject/authorization/v1/authorization?response_type=code&client_id=4bd3c60d412b36d16f4da069658c0c7fa226cad1&redirect_uri=http%3A%2F%2Fmfpredirecturi&scope=MYRealm&isAjaxRequest=true&x=0.6627940373520301 HTTP/1.1" 200 25
- - [17/Jan/2018:21:34:22 -0500] "POST /analytics-service/data HTTP/1.1" 201 -
- - [17/Jan/2018:21:34:22 -0500] "GET /analytics-service/data/administration/apps/worklight/getSettings HTTP/1.1" 200 1407
- - [17/Jan/2018:21:34:25 -0500] "POST /MyProject/apps/services/api/MYMobileApp/iphone/login HTTP/1.1" 401 166
- - [17/Jan/2018:21:34:26 -0500] "POST /analytics-service/data HTTP/1.1" 201 -
- - [17/Jan/2018:21:36:38 -0500] "GET /MyProject/adapters/AnnouncementsAdapter/announcements/fetchannouncements HTTP/1.1" 401 41
- - [17/Jan/2018:21:36:40 -0500] "POST /analytics-service/data HTTP/1.1" 201 -
- - [17/Jan/2018:21:36:40 -0500] "GET /analytics-service/data/administration/apps/worklight/getSettings HTTP/1.1" 200 1407
- - [17/Jan/2018:21:37:06 -0500] "GET /MyProject/authorization/v1/authorization?client_id=4bd3c60d412b36d16f4da069658c0c7fa226cad1&scope=-MYRealm&isAjaxRequest=true&x=0.410883442826542 HTTP/1.1" 403 19
- - [17/Jan/2018:21:37:07 -0500] "GET /MyProject/adapters/SecurityAdapter/security/login HTTP/1.1" 401 41
- - [17/Jan/2018:21:37:08 -0500] "POST /analytics-service/data HTTP/1.1" 201 -
- - [17/Jan/2018:21:37:44 -0500] "GET /MyProject/adapters/AnnouncementsAdapter/announcements/fetchannouncements HTTP/1.1" 401 41
- - [17/Jan/2018:21:37:44 -0500] "POST /analytics-service/data HTTP/1.1" 201 -
- - [17/Jan/2018:21:37:44 -0500] "GET /analytics-service/data/administration/apps/worklight/getSettings HTTP/1.1" 200 1407
- - [17/Jan/2018:21:34:25 -0500] "POST /MyProject/apps/services/api/MYMobileApp/iphone/login HTTP/1.1" 504 315
- - [17/Jan/2018:21:34:25 -0500] "POST /MyProject/apps/services/my_custom_auth_request_url HTTP/1.1" 504 315
- - [17/Jan/2018:21:34:38 -0500] "POST /MyProject/apps/services/api/MYMobileApp/iphone/login HTTP/1.1" 504 315
- - [17/Jan/2018:21:34:38 -0500] "POST /MyProject/apps/services/my_custom_auth_request_url HTTP/1.1" 504 315
- - [17/Jan/2018:21:34:53 -0500] "POST /MyProject/apps/services/my_custom_auth_request_url HTTP/1.1" 504 315
- - [17/Jan/2018:21:34:53 -0500] "POST /MyProject/apps/services/api/MYMobileApp/iphone/login HTTP/1.1" 504 315
- - [17/Jan/2018:21:34:56 -0500] "GET /MyProject/authorization/v1/authorization?response_type=code&client_id=4bd3c60d412b36d16f4da069658c0c7fa226cad1&redirect_uri=http%3A%2F%2Fmfpredirecturi&scope=MYRealm&isAjaxRequest=true&x=0.1482186844277551 HTTP/1.1" 504 315
- - [17/Jan/2018:21:40:04 -0500] "GET /MyProject/authorization/v1/authorization?client_id=4bd3c60d412b36d16f4da069658c0c7fa226cad1&scope=-MYRealm&isAjaxRequest=true&x=0.5411687142084214 HTTP/1.1" 200 -
- - [17/Jan/2018:21:40:04 -0500] "GET /MyProject/adapters/SecurityAdapter/security/login HTTP/1.1" 401 41
- - [17/Jan/2018:21:40:06 -0500] "POST /analytics-service/data HTTP/1.1" 201 -
- - [17/Jan/2018:21:40:06 -0500] "GET /analytics-service/data/administration/apps/worklight/getSettings HTTP/1.1" 200 1407
- - [17/Jan/2018:21:35:12 -0500] "POST /MyProject/apps/services/api/MYMobileApp/iphone/login HTTP/1.1" 504 315
- - [17/Jan/2018:21:35:24 -0500] "POST /MyProject/apps/services/my_custom_auth_request_url HTTP/1.1" 504 315
- - [17/Jan/2018:21:40:33 -0500] "GET /MyProject/adapters/AnnouncementsAdapter/announcements/fetchannouncements HTTP/1.1" 401 41
- - [17/Jan/2018:21:40:34 -0500] "POST /analytics-service/data HTTP/1.1" 201 -
- - [17/Jan/2018:21:40:40 -0500] "GET /MyProject/adapters/AnnouncementsAdapter/announcements/fetchannouncements HTTP/1.1" 401 41
- - [17/Jan/2018:21:40:40 -0500] "POST /analytics-service/data HTTP/1.1" 201 -
- - [17/Jan/2018:21:40:44 -0500] "GET /MyProject/authorization/v1/authorization?client_id=4bd3c60d412b36d16f4da069658c0c7fa226cad1&scope=-MYRealm&isAjaxRequest=true&x=0.9602466115384183 HTTP/1.1" 200 -
- - [17/Jan/2018:21:40:45 -0500] "GET /MyProject/adapters/SecurityAdapter/security/login HTTP/1.1" 401 41
- - [17/Jan/2018:21:40:46 -0500] "POST /analytics-service/data HTTP/1.1" 201 -

Transform the output of an SqlQuery to numeric

I have got a Sql table and connected to it using R with odbcConnect(). The data I used is to find here: http://robjhyndman.com/tsdldata/data/nybirths.dat
I loaded a Query with
bstring <- sqlQuery(dbcon, "SELECT maptostring(__raw__) FROM births")
where dbcon is the connection to my database. The returned data is the following String:
bstring
$maptostring
[1] {\n "26.663;23.598;26.931;24.74;25.806" : "24.364;24.477;23.901;23.175;23.227"\n}\n
[2] {\n "26.663;23.598;26.931;24.74;25.806" : "21.672;21.87;21.439;21.089;23.709"\n}\n
[3] {\n "26.663;23.598;26.931;24.74;25.806" : "21.669;21.752;20.761;23.479;23.824"\n}\n
[4] {\n "26.663;23.598;26.931;24.74;25.806" : "23.105;23.11;21.759;22.073;21.937"\n}\n
[5] {\n "26.663;23.598;26.931;24.74;25.806" : "20.035;23.59;21.672;22.222;22.123"\n}\n
[6] {\n "26.663;23.598;26.931;24.74;25.806" : "23.95;23.504;22.238;23.142;21.059"\n}\n
[7] {\n "26.663;23.598;26.931;24.74;25.806" : "21.573;21.548;20;22.424;20.615"\n}\n
[8] {\n "26.663;23.598;26.931;24.74;25.806" : "21.761;22.874;24.104;23.748;23.262"\n}\n
[9] {\n "26.663;23.598;26.931;24.74;25.806" : "22.907;21.519;22.025;22.604;20.894"\n}\n
[10] {\n "26.663;23.598;26.931;24.74;25.806" : "24.677;23.673;25.32;23.583;24.671"\n}\n
[11] {\n "26.663;23.598;26.931;24.74;25.806" : "24.454;24.122;24.252;22.084;22.991"\n}\n
[12] {\n "26.663;23.598;26.931;24.74;25.806" : "23.287;23.049;25.076;24.037;24.43"\n}\n
[13] {\n "26.663;23.598;26.931;24.74;25.806" : "24.667;26.451;25.618;25.014;25.11"\n}\n
[14] {\n "26.663;23.598;26.931;24.74;25.806" : "22.964;23.981;23.798;22.27;24.775"\n}\n
[15] {\n "26.663;23.598;26.931;24.74;25.806" : "22.646;23.988;24.737;26.276;25.816"\n}\n
[16] {\n "26.663;23.598;26.931;24.74;25.806" : "25.21;25.199;23.162;24.707;24.364"\n}\n
[17]{\n "26.663;23.598;26.931;24.74;25.806" : "22.644;25.565;24.062;25.431;24.635"\n}\n
[18] {\n "26.663;23.598;26.931;24.74;25.806" : "27.009;26.606;26.268;26.462;25.246"\n}\n
[19] {\n "26.663;23.598;26.931;24.74;25.806" : "25.18;24.657;23.304;26.982;26.199"\n}\n
[20] {\n "26.663;23.598;26.931;24.74;25.806" : "27.21;26.122;26.706;26.878;26.152"\n}\n
[21] {\n "26.663;23.598;26.931;24.74;25.806" : "26.379;24.712;25.688;24.99;24.239"\n}\n
[22] {\n "26.663;23.598;26.931;24.74;25.806" : "26.721;23.475;24.767;26.219;28.361"\n}\n
[23] {\n "26.663;23.598;26.931;24.74;25.806" : "28.599;27.914;27.784;25.693;26.881"\n}\n
[24] {\n "26.663;23.598;26.931;24.74;25.806" : "26.217;24.218;27.914;26.975;28.527"\n}\n
[25] {\n "26.663;23.598;26.931;24.74;25.806" : "27.139;28.982;28.169;28.056;29.136"\n}\n
[26] {\n "26.663;23.598;26.931;24.74;25.806" : "26.291;26.987;26.589;24.848;27.543"\n}\n
[27] {\n "26.663;23.598;26.931;24.74;25.806" : "26.896;28.878;27.39;28.065;28.141"\n}\n
[28] {\n "26.663;23.598;26.931;24.74;25.806" : "29.048;28.484;26.634;27.735;27.132"\n}\n
[29] {\n "26.663;23.598;26.931;24.74;25.806" : "24.924;28.963;26.589;27.931;28.009"\n}\n
[30] {\n "26.663;23.598;26.931;24.74;25.806" : "29.229;28.759;28.405;27.945;25.912"\n}\n
[31] {\n "26.663;23.598;26.931;24.74;25.806" : "26.619;26.076;25.286;27.66;25.951"\n}\n
[32] {\n "26.663;23.598;26.931;24.74;25.806" : "26.398;25.565;28.865;30;29.261"\n}\n
[33] {\n "26.663;23.598;26.931;24.74;25.806" : "29.012;26.992;27.897"\n}\n
[34] {\n "26.663;23.598;26.931;24.74;25.806" : "24.364;24.477;23.901;23.175;23.227"\n}\n
[35] {\n "26.663;23.598;26.931;24.74;25.806" : "21.672;21.87;21.439;21.089;23.709"\n}\n
[36] {\n "26.663;23.598;26.931;24.74;25.806" : "21.669;21.752;20.761;23.479;23.824"\n}\n
[37] {\n "26.663;23.598;26.931;24.74;25.806" : "23.105;23.11;21.759;22.073;21.937"\n}\n
[38] {\n "26.663;23.598;26.931;24.74;25.806" : "20.035;23.59;21.672;22.222;22.123"\n}\n
[39] {\n "26.663;23.598;26.931;24.74;25.806" : "23.95;23.504;22.238;23.142;21.059"\n}\n
[40] {\n "26.663;23.598;26.931;24.74;25.806" : "21.573;21.548;20;22.424;20.615"\n}\n
[41] {\n "26.663;23.598;26.931;24.74;25.806" : "21.761;22.874;24.104;23.748;23.262"\n}\n
[42] {\n "26.663;23.598;26.931;24.74;25.806" : "22.907;21.519;22.025;22.604;20.894"\n}\n
[43] {\n "26.663;23.598;26.931;24.74;25.806" : "24.677;23.673;25.32;23.583;24.671"\n}\n
[44] {\n "26.663;23.598;26.931;24.74;25.806" : "24.454;24.122;24.252;22.084;22.991"\n}\n
[45] {\n "26.663;23.598;26.931;24.74;25.806" : "23.287;23.049;25.076;24.037;24.43"\n}\n
[46] {\n "26.663;23.598;26.931;24.74;25.806" : "24.667;26.451;25.618;25.014;25.11"\n}\n
[47] {\n "26.663;23.598;26.931;24.74;25.806" : "22.964;23.981;23.798;22.27;24.775"\n}\n
[48] {\n "26.663;23.598;26.931;24.74;25.806" : "22.646;23.988;24.737;26.276;25.816"\n}\n
[49] {\n "26.663;23.598;26.931;24.74;25.806" : "25.21;25.199;23.162;24.707;24.364"\n}\n
[50] {\n "26.663;23.598;26.931;24.74;25.806" : "22.644;25.565;24.062;25.431;24.635"\n}\n
[51] {\n "26.663;23.598;26.931;24.74;25.806" : "27.009;26.606;26.268;26.462;25.246"\n}\n
[52] {\n "26.663;23.598;26.931;24.74;25.806" : "25.18;24.657;23.304;26.982;26.199"\n}\n
[53] {\n "26.663;23.598;26.931;24.74;25.806" : "27.21;26.122;26.706;26.878;26.152"\n}\n
[54] {\n "26.663;23.598;26.931;24.74;25.806" : "26.379;24.712;25.688;24.99;24.239"\n}\n
[55] {\n "26.663;23.598;26.931;24.74;25.806" : "26.721;23.475;24.767;26.219;28.361"\n}\n
[56] {\n "26.663;23.598;26.931;24.74;25.806" : "28.599;27.914;27.784;25.693;26.881"\n}\n
[57] {\n "26.663;23.598;26.931;24.74;25.806" : "26.217;24.218;27.914;26.975;28.527"\n}\n
[58] {\n "26.663;23.598;26.931;24.74;25.806" : "27.139;28.982;28.169;28.056;29.136"\n}\n
[59] {\n "26.663;23.598;26.931;24.74;25.806" : "26.291;26.987;26.589;24.848;27.543"\n}\n
[60] {\n "26.663;23.598;26.931;24.74;25.806" : "26.896;28.878;27.39;28.065;28.141"\n}\n
[61] {\n "26.663;23.598;26.931;24.74;25.806" : "29.048;28.484;26.634;27.735;27.132"\n}\n
[62] {\n "26.663;23.598;26.931;24.74;25.806" : "24.924;28.963;26.589;27.931;28.009"\n}\n
[63] {\n "26.663;23.598;26.931;24.74;25.806" : "29.229;28.759;28.405;27.945;25.912"\n}\n
[64] {\n "26.663;23.598;26.931;24.74;25.806" : "26.619;26.076;25.286;27.66;25.951"\n}\n
[65] {\n "26.663;23.598;26.931;24.74;25.806" : "26.398;25.565;28.865;30;29.261"\n}\n
[66] {\n "26.663;23.598;26.931;24.74;25.806" : "29.012;26.992;27.897"\n}\n
33 Levels: {\n "26.663;23.598;26.931;24.74;25.806" : "20.035;23.59;21.672;22.222;22.123"\n}\n ...
I want to use ARIMA to create a forecast using this data. To do so I tried to parse this data into numeric using
bnumeric <- as.numeric(unlist(bstring))
This did not work well, I got a pretty useless vector of numbers. How can I extract the numbers from this data to create a forecast?

KANNEL SMPP not able to send message to geturl

We are not able to receive MO on smpp kannel
below if the configure smsbox configuration
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
sms-length = 500
smsbox-id = mysmsc
group = sendsms-user
username = tester
password = foobar
#max-messages=3
# http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar
group = sms-service
accepted-smsc = smsc2
keyword = default
catch-all = yes
max-messages = 3
get-url = "http://some.com/rcv.php?sender=%p&text=%a"
group = smsbox-route
smsbox-id = mysmsc
smsc-id = smsc2
shortcode = 4867
below is the debug log
2016-08-29 22:22:47 [9639] [7] DEBUG: validity_period: NULL
2016-08-29 22:22:47 [9639] [7] DEBUG: registered_delivery: 0 = 0x00000000
2016-08-29 22:22:47 [9639] [7] DEBUG: replace_if_present_flag: 0 = 0x00000000
2016-08-29 22:22:47 [9639] [7] DEBUG: data_coding: 0 = 0x00000000
2016-08-29 22:22:47 [9639] [7] DEBUG: sm_default_msg_id: 0 = 0x00000000
2016-08-29 22:22:47 [9639] [7] DEBUG: sm_length: 4 = 0x00000004
2016-08-29 22:22:47 [9639] [7] DEBUG: short_message: "Test"
2016-08-29 22:22:47 [9639] [7] DEBUG: SMPP PDU dump ends.
2016-08-29 22:22:47 [9639] [7] WARNING: smsbox_list empty!
2016-08-29 22:22:47 [9639] [7] DEBUG: SMPP[smsc1]: Sending PDU:
2016-08-29 22:22:47 [9639] [7] DEBUG: SMPP PDU 0x7f6310005730 dump:
2016-08-29 22:22:47 [9639] [7] DEBUG: type_name: deliver_sm_resp
2016-08-29 22:22:47 [9639] [7] DEBUG: command_id: 2147483653 = 0x80000005
2016-08-29 22:22:47 [9639] [7] DEBUG: command_status: 0 = 0x00000000
2016-08-29 22:22:47 [9639] [4] WARNING: smsbox_list empty!
2016-08-29 22:22:47 [9639] [7] DEBUG: sequence_number: 118 = 0x00000076
2016-08-29 22:22:47 [9639] [7] DEBUG: message_id: NULL
2016-08-29 22:22:47 [9639] [7] DEBUG: SMPP PDU dump ends.
You don't have an smsc group there (smsc2 is not defined)