Empty array returned after api call on remote machine

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • almair
    Junior Member
    • Jun 2017
    • 1

    #1

    Empty array returned after api call on remote machine

    I'm really struggling deploying my code (java) on a remote server. The server is located in the uk.

    I am able to log in to the betfair api successfully and can appear to access my account details but not query the exchange. All my code works as expected on local machines. If I use a rest client locally I get an expected response. On my remote server (ubuntu 16.04 minimal install), no info for exchange queries, though still get a 200 OK repsonse,
    Code:
    {"jsonrpc":"2.0","result":[],"id":1}
    . The I've change locales and time zone to match whats on local. I've also checked string/numeric issues.

    Any suggestions on how to get my local code working remotely?
  • gus
    Senior Member
    • Jan 2009
    • 134

    #2
    Have you checked which version of the JRE is running on your remote Ubuntu server?

    Comment

    Working...
    X