Jump to content
Sign in to follow this  
daniel

IOException Connection reset error when trying to submit order

Recommended Posts

I get “Connection reset” exception all the time, when I try to send order to execution. Can you please check this?

2011-12-21 16:34:12,226 — INFO  – Submitting order
{“MarketId”:400155752,
“AutoRollover”:false,
“Direction”:“Sell”,
“Quantity”:100,
“QuoteId”:0,
“BidPrice”:8381.0,
“OfferPrice”:8389.0,
“AuditId”:“sbRDBProdFX17360911”,
“TradingAccountId”:400250271}
2011-12-21 16:34:12,476 — ERROR – IOException Connection reset
java.lang.Exception: IOException Connection reset
at com.cityindex.stomp.HttpConnection.SendAndWaitPost(HttpConnection.java:126)
at com.cityindex.stomp.Connection.SendAndWaitPost(Connection.java:122)
...

Share this post


Link to post
Guest mrdavidlaing

 

I get “Connection reset” exception all the time, when I try to send order to execution. Can you please check this?

2011-12-21 16:34:12,226 — INFO  – Submitting order
{“MarketId”:400155752,
“AutoRollover”:false,
“Direction”:“Sell”,
“Quantity”:100,
“QuoteId”:0,
“BidPrice”:8381.0,
“OfferPrice”:8389.0,
“AuditId”:“sbRDBProdFX17360911”,
“TradingAccountId”:400250271}
2011-12-21 16:34:12,476 — ERROR – IOException Connection reset
java.lang.Exception: IOException Connection reset
at com.cityindex.stomp.HttpConnection.SendAndWaitPost(HttpConnection.java:126)
at com.cityindex.stomp.Connection.SendAndWaitPost(Connection.java:122)
...

Can you put a sample application somewhere public like GitHub showing the steps involved to create this error. You need to give us enough information to be able to reproduce your error – currently we don’t know where, who as or how you are connecting.

Share this post


Link to post
Guest sky.sanders

 

I get “Connection reset” exception all the time, when I try to send order to execution. Can you please check this?

2011-12-21 16:34:12,226 — INFO  – Submitting order
{“MarketId”:400155752,
“AutoRollover”:false,
“Direction”:“Sell”,
“Quantity”:100,
“QuoteId”:0,
“BidPrice”:8381.0,
“OfferPrice”:8389.0,
“AuditId”:“sbRDBProdFX17360911”,
“TradingAccountId”:400250271}
2011-12-21 16:34:12,476 — ERROR – IOException Connection reset
java.lang.Exception: IOException Connection reset
at com.cityindex.stomp.HttpConnection.SendAndWaitPost(HttpConnection.java:126)
at com.cityindex.stomp.Connection.SendAndWaitPost(Connection.java:122)
...

Daniel, which client codebase are you using?

Share this post


Link to post

 

I get “Connection reset” exception all the time, when I try to send order to execution. Can you please check this?

2011-12-21 16:34:12,226 — INFO  – Submitting order
{“MarketId”:400155752,
“AutoRollover”:false,
“Direction”:“Sell”,
“Quantity”:100,
“QuoteId”:0,
“BidPrice”:8381.0,
“OfferPrice”:8389.0,
“AuditId”:“sbRDBProdFX17360911”,
“TradingAccountId”:400250271}
2011-12-21 16:34:12,476 — ERROR – IOException Connection reset
java.lang.Exception: IOException Connection reset
at com.cityindex.stomp.HttpConnection.SendAndWaitPost(HttpConnection.java:126)
at com.cityindex.stomp.Connection.SendAndWaitPost(Connection.java:122)
...

@sky.sanders

We are using ClientLibrary version 1.3

Share this post


Link to post
Guest sky.sanders

 

I get “Connection reset” exception all the time, when I try to send order to execution. Can you please check this?

2011-12-21 16:34:12,226 — INFO  – Submitting order
{“MarketId”:400155752,
“AutoRollover”:false,
“Direction”:“Sell”,
“Quantity”:100,
“QuoteId”:0,
“BidPrice”:8381.0,
“OfferPrice”:8389.0,
“AuditId”:“sbRDBProdFX17360911”,
“TradingAccountId”:400250271}
2011-12-21 16:34:12,476 — ERROR – IOException Connection reset
java.lang.Exception: IOException Connection reset
at com.cityindex.stomp.HttpConnection.SendAndWaitPost(HttpConnection.java:126)
at com.cityindex.stomp.Connection.SendAndWaitPost(Connection.java:122)
...

@daniel, my team is responsible for CIAPI.Java. i am not familiar with that codebase so i may be of limited help here as it appears to be a client error. A bit more information would be helpful. What is the full url of the request that is generating this exception? And I see a reference to a stomp client. if i recall correctly, STOMP is a streaming protocol and the method you are calling is an RPC service call.

Share this post


Link to post

 

I get “Connection reset” exception all the time, when I try to send order to execution. Can you please check this?

2011-12-21 16:34:12,226 — INFO  – Submitting order
{“MarketId”:400155752,
“AutoRollover”:false,
“Direction”:“Sell”,
“Quantity”:100,
“QuoteId”:0,
“BidPrice”:8381.0,
“OfferPrice”:8389.0,
“AuditId”:“sbRDBProdFX17360911”,
“TradingAccountId”:400250271}
2011-12-21 16:34:12,476 — ERROR – IOException Connection reset
java.lang.Exception: IOException Connection reset
at com.cityindex.stomp.HttpConnection.SendAndWaitPost(HttpConnection.java:126)
at com.cityindex.stomp.Connection.SendAndWaitPost(Connection.java:122)
...

@sky.sanders, We can’t reproduce this error anymore. I’ll keep watch on this issue and send you more information, if it happens again.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×