Git Product home page Git Product logo

jspf-demo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jspf-demo's Issues

unexpected state:

I get this output when using the npm version and this demo repo (..been using git source for a while no issues, until i hit the double date TCR bug recently that you fixed, thx) :- trying to move the whole thing to npm^1.3.0

user@localhost://pitt# node dist/app.js
2021-12-05T17:08:42.880Z [launcher] info: launching ..
2021-12-05T17:08:42.883Z [launcher] info: init = //pitt/dist/session/demo-init-GBP.json
2021-12-05T17:08:42.884Z [launcher] info: launching ..
2021-12-05T17:08:42.887Z [initiator.RepositoryXmlParser] info: reading //pitt/node_modules/jspurefix/data/fix_repo/FIX.4.4/Base/Datatypes.xml
2021-12-05T17:08:42.913Z [initiator.RepositoryXmlParser] info: reading //pitt/node_modules/jspurefix/data/fix_repo/FIX.4.4/Base/Fields.xml
2021-12-05T17:08:43.143Z [initiator.RepositoryXmlParser] info: reading //pitt/node_modules/jspurefix/data/fix_repo/FIX.4.4/Base/Enums.xml
2021-12-05T17:08:43.367Z [initiator.RepositoryXmlParser] info: reading //pitt/node_modules/jspurefix/data/fix_repo/FIX.4.4/Base/Components.xml
2021-12-05T17:08:43.408Z [initiator.RepositoryXmlParser] info: reading //pitt/node_modules/jspurefix/data/fix_repo/FIX.4.4/Base/Messages.xml
2021-12-05T17:08:43.444Z [initiator.RepositoryXmlParser] info: reading //pitt/node_modules/jspurefix/data/fix_repo/FIX.4.4/Base/MsgContents.xml
2021-12-05T17:08:43.768Z [initiator.RepositoryXmlParser] info: reading //pitt/node_modules/jspurefix/data/fix_repo/FIX.4.4/Base/Abbreviations.xml
2021-12-05T17:08:43.890Z [initiator.Repository] info: definitions: 2404 fields
2021-12-05T17:08:43.890Z [initiator.Repository] info: definitions: 111 components
2021-12-05T17:08:43.890Z [initiator.Repository] info: definitions: 268 messages
2021-12-05T17:08:43.892Z [launcher] info: create initiator
2021-12-05T17:08:43.892Z [initiator] info: create session
2021-12-05T17:08:43.898Z [initiator] info: connecting ...
2021-12-05T17:08:43.899Z [lightTrader - client:TcpInitiator] info: connecting with timeout 22
2021-12-05T17:08:43.899Z [lightTrader - client:TcpInitiator] info: tryConnect workingServer.com:443
2021-12-05T17:08:43.916Z [launcher] info: launching ....
2021-12-05T17:08:43.968Z [lightTrader - client:TcpInitiator] info: client connected authorized
2021-12-05T17:08:43.971Z [initiator] info: ... connected, run session
2021-12-05T17:08:43.975Z [lightTrader - client:FixSession] info: current state Idle (24) moves to InitiationLogonSent (7)
2021-12-05T17:08:43.983Z [lightTrader - client:FixSession] info: rx end received sessionState = [compId = Qwerty123, heartBeat = 30, state = InitiationLogonSent (7), nextTickAction = 1, now = 17:08:43.893, timeToDie = false, timeToHeartbeat = false, timeToTerminate = false, timeToTestRequest = false, lastReceivedAt = null, LastSentAt = 17:08:43.971, lastTestRequestAt = null, logoutSentAt = null, peerHeartBeatSecs = 0, peerCompId = , lastPeerMsgSeqNum = 0, secondsSinceLogoutSent = -1, secondsSinceSent = -1, secondsSinceReceive = -1]
2021-12-05T17:08:43.983Z [lightTrader - client:FixSession] info: rx error unexpected state - transport failed? = InitiationLogonSent
2021-12-05T17:08:43.983Z [lightTrader - client:FixSession] error: unexpected state - transport failed? = InitiationLogonSent : Error: unexpected state - transport failed? = InitiationLogonSent
at AsciiParser. (//pitt/node_modules/jspurefix/dist/transport/fix-session.js:105:35)
at AsciiParser.emit (events.js:315:20)
at TLSSocket. (//pitt/node_modules/jspurefix/dist/buffer/ascii/ascii-parser.js:56:18)
at TLSSocket.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
2021-12-05T17:08:43.984Z [lightTrader - client:FixSession] error: unexpected state - transport failed? = InitiationLogonSent : Error: unexpected state - transport failed? = InitiationLogonSent
at AsciiParser. (//pitt/node_modules/jspurefix/dist/transport/fix-session.js:105:35)
at AsciiParser.emit (events.js:315:20)
at TLSSocket. (//pitt/node_modules/jspurefix/dist/buffer/ascii/ascii-parser.js:56:18)
at TLSSocket.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
2021-12-05T17:08:43.985Z [lightTrader - client:FixSession] info: rx done received
2021-12-05T17:08:43.985Z [lightTrader - client:FixSession] info: done. session is now stopped
2021-12-05T17:08:43.985Z [lightTrader - client:FixSession] info: done. check logout sequence
2021-12-05T17:08:43.986Z [initiator] error: unexpected state - transport failed? = InitiationLogonSent : Error: unexpected state - transport failed? = InitiationLogonSent
at AsciiParser. (//pitt/node_modules/jspurefix/dist/transport/fix-session.js:105:35)
at AsciiParser.emit (events.js:315:20)
at TLSSocket. (//pitt/node_modules/jspurefix/dist/buffer/ascii/ascii-parser.js:56:18)
at TLSSocket.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
2021-12-05T17:08:43.986Z [launcher] error: unexpected state - transport failed? = InitiationLogonSent : Error: unexpected state - transport failed? = InitiationLogonSent
at AsciiParser. (//pitt/node_modules/jspurefix/dist/transport/fix-session.js:105:35)
at AsciiParser.emit (events.js:315:20)
at TLSSocket. (//pitt/node_modules/jspurefix/dist/buffer/ascii/ascii-parser.js:56:18)
at TLSSocket.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
(node:55761) UnhandledPromiseRejectionWarning: Error: unexpected state - transport failed? = InitiationLogonSent
at AsciiParser. (//pitt/node_modules/jspurefix/dist/transport/fix-session.js:105:35)
at AsciiParser.emit (events.js:315:20)
at TLSSocket. (//pitt/node_modules/jspurefix/dist/buffer/ascii/ascii-parser.js:56:18)
at TLSSocket.emit (events.js:327:22)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
(Use node --trace-warnings ... to show where the warning was created)
(node:55761) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:55761) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

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.