Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Some API requests are failing #65

Open
AntiSol opened this issue May 24, 2016 · 3 comments
Open

Some API requests are failing #65

AntiSol opened this issue May 24, 2016 · 3 comments

Comments

@AntiSol
Copy link

AntiSol commented May 24, 2016

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!

@tcannonfodder
Copy link
Member

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

@AntiSol
Copy link
Author

AntiSol commented May 28, 2016

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 :)

@tcannonfodder
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants