Telemachus

Telemachus

14.7k Downloads

500 Error when accessing console

amywarble opened this issue ยท 0 comments

commented

Url: http://127.0.0.1:8085/telemachus/console.html
Server:Telemachus 1.4.31.0 (as reported in response header)
KSP 1.1.3 (64-bit)

Internal Server Error 500

An element with the same key already exists in the dictionary. at System.Collections.Generic.Dictionary'2[System.String,System.String].Add (System.String key, System.String value) [0x00000] in :0
at Servers.MinimalHTTPServer.HTTPRequest.parseHeader (System.String[] input) [0x00000] in :0
at Servers.MinimalHTTPServer.HTTPRequest.parse (System.String input) [0x00000] in :0
at Servers.MinimalHTTPServer.HTTPRequest.tryParseAppend (ArraySegment'1 input, Int32 maxRequestLength) [0x00000] in :0
at Servers.MinimalHTTPServer.HTTPRequest.tryParseAppend (ArraySegment'1 input, Servers.MinimalHTTPServer.ServerConfiguration configuration) [0x00000] in :0
at Servers.MinimalHTTPServer.ClientConnection.StatefulConnectionRead (System.Object sender, Servers.ConnectionEventArgs e) [0x00000] in :0

Request Headers

Since the error comes from parseHeader, here are my request headers:

  • Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
  • Accept-Encoding:gzip, deflate, sdch
  • Accept-Language:en-US,en;q=0.8
  • Cache-Control:max-age=0
  • Connection:keep-alive
  • DNT:1
  • Host:127.0.0.1:8085
  • Upgrade-Insecure-Requests:1
  • User-Agent:Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1