Telemachus

Telemachus

14.7k Downloads

Some API requests are failing

AntiSol opened this issue ยท 3 comments

commented

Hi,

I'm seeing 500 Internal Server error when I request certain information.

Possibly-relevant information:

  • I am using the latest version of KSP (on steam, updates automatically) on Linux (Ubuntu 14.04)
  • I am running the 1.4.31.0 release of telemachus.in partless mode

e.g requesting body phase angle (b.o.phaseAngle)
Request:

http://10.0.0.1:8085/telemachus/datalink?phase=b.o.phaseAngle[5]

(note: I have tried using various body ids here, none work)

Response:

Internal Server Error 500

Could not load type 'Vector3d' from assembly 'Assembly-CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.   at Telemachus.DataLinkResponsibility.argumentsParse (System.String args, Telemachus.DataSources dataSources) [0x00000] in :0 
  at Telemachus.DataLinkResponsibility.process (Servers.AsynchronousServer.ClientConnection cc, Servers.MinimalHTTPServer.HTTPRequest request) [0x00000] in :0 
  at Servers.MinimalHTTPServer.Server.processRequest (Servers.AsynchronousServer.ClientConnection cc, Servers.MinimalHTTPServer.HTTPRequest request) [0x00000] in :0 
  at Servers.MinimalHTTPServer.ClientConnection.StatefulConnectionRead (System.Object sender, Servers.ConnectionEventArgs e) [0x00000] in :0 

I've also found are a few others which also give similar (or the same) error, including:

  • o.relativeVelocity
  • tar.o.relativeVelocity

Any advice would be appreciated!

commented

Hey there! I think I've fixed this issues in my fork of Telemachus: https://github.com/tcannonfodder/Telemachus

commented

Thanks! Unfortunately I don't know how to build this on Linux. Any tips? Alternatively if you could build and do a release that would be awesome :)