Git Product home page Git Product logo

jspf-md-demo's People

Contributors

dependabot[bot] avatar timelorduk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

magtonhub

jspf-md-demo's Issues

Logon problem server side with custom dictionary

Hello,
I think there is a problem server side with custom dictionnary.
On Logon message server is unable to read message and message is rejected :
I think it comes from generated ILogon class, is missing StandardHeader and StandardTrailer

2020-10-19T14:10:02.510Z [test_server:FixSession] info: A: Logon
2020-10-19T14:10:02.512Z [test_server:FixSession] info: [0] 8 (BeginString) = FIX.4.4, [1] 9 (BodyLength) = 0000110
[2] 35 (MsgType) = A[Logon], [3] 49 (SenderCompID) = init-comp
[4] 56 (TargetCompID) = accept-comp, [5] 34 (MsgSeqNum) = 1
[6] 52 (SendingTime) = 20201019-14:10:02.497, [7] 98 (EncryptMethod) = 0[None]
[8] 108 (HeartBtInt) = 20, [9] 141 (ResetSeqNumFlag) = Y[Yes]
[10] 553 (Username) = js-client, [11] 554 (Password) = pwd-client
[12] 10 (CheckSum) = 034
2020-10-19T14:10:02.514Z [test_server:FixSession] warn: rejecting with {"RefMsgType":"A","SessionRejectReason":0,"RefSeqNum":1,"Text":"msgType A invalid tags 8, 9, 35, 49, 56, 34, 52, 10"}
2020-10-19T14:10:02.519Z [test_server:FixSession] info: message 'A' failed checkIntegrity.
2020-10-19T14:10:04.527Z [test_server:FixSession] info: compId = accept-comp, heartBeat = 30, state = 3, nextTickAction = 6, now = 16:10:04.525, timeToDie = false, timeToHeartbeat = false, timeToTerminate = true, timeToTestRequest = true, lastReceivedAt = 16:10:02.513, LastSentAt = 16:10:02.515, lastTestRequestAt = null, logoutSentAt = null, peerHeartBeatSecs = 0, peerCompId = , lastPeerMsgSeqNum = 1, secondsSinceLogoutSent = -1, secondsSinceSent = 2.01, secondsSinceReceive = 2.012
2020-10-19T14:10:04.528Z [test_server:FixSession] info: stopping
2020-10-19T14:10:04.529Z [test_server:FixSession] info: stop: kill transport
2020-10-19T14:10:04.529Z [test_server:TradeCaptureServer] info: stopped
2020-10-19T14:10:04.530Z [acceptor] info: ends
2020-10-19T14:10:04.530Z [test_server:TcpAcceptor] info: close listener on port 2344
2020-10-19T14:10:04.532Z [test_server:FixSession] info: done. session is now stopped
2020-10-19T14:10:04.532Z [test_server:FixSession] info: done. check logout sequence
2020-10-19T14:10:04.532Z [test_server:FixSession] info: done. session is now stopped
2020-10-19T14:10:04.533Z [test_server:FixSession] info: done. check logout sequence
2020-10-19T14:10:04.533Z [test_server:TcpAcceptor] info: transport 0 ends total transports = 0
2020-10-19T14:10:04.533Z [acceptor] info: acceptor closed.
2020-10-19T14:10:04.534Z [Server launcher] info: .. done
finished.

I don't know what is missing...

Graceful shut down of client

Hi @TimelordUK, I know we can call this.done within the client but please could you provide an example of how to gracefully shut down the client session from within the app instance?

Many thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.