Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » Bad request 400 error
Bad request 400 error [message #844246] Fri, 13 April 2012 21:12 Go to next message
Terrance Mok is currently offline Terrance Mok
Messages: 4
Registered: April 2012
Junior Member
When attempting to get the remote debugger running on my project I'm getting a Http/1.1 400 Error Invalid Request (I figured this out by printing all the bytes in the read_packet function). I'm curious as to what would cause this. I'm using all the defaults (by passing in nil for host,port,idekey) 127.0.0.1, port 10000 and "idekey" and I haven't changed any of the settings (like port) in the Koneki debugger. I'm using local file path resolution with an absolute path to my lua files.

I am running locally on one machine so the default local address should be fine.

[Updated on: Fri, 13 April 2012 21:24]

Report message to a moderator

Re: Bad request 400 error [message #844259 is a reply to message #844246] Fri, 13 April 2012 21:30 Go to previous messageGo to next message
Benjamin Cabé is currently offline Benjamin Cabé
Messages: 151
Registered: July 2009
Location: Toulouse, France
Senior Member

Hi Terrance,

You should try using a different port than 10000 ; it looks like the 400 error is returned by an existing server running on your machine, since I am pretty much sure this doesn't come from neither DLTK nor the LDT debugger.
If you try another port, don't forget to also change the setting in the IDE in "Preferences > Dynamic Languages > Debug"

Benjamin.
Re: Bad request 400 error [message #844280 is a reply to message #844259] Fri, 13 April 2012 21:56 Go to previous message
Terrance Mok is currently offline Terrance Mok
Messages: 4
Registered: April 2012
Junior Member
That's it thanks. I didn't think of trying a different port because this had previously been working on all default settings before. Perhaps there was something I wasn't running previously so that port wasn't in use. Not sure what would be taking that port from me now but I got it working anyway, thanks.
Previous Topic:Cannot create OMA-DM simulator
Next Topic:Some questions of LDT on MacOSX
Goto Forum:
  


Current Time: Wed Sep 24 02:29:53 GMT 2014

Powered by FUDForum. Page generated in 0.09183 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software