On Sun, 14 Oct 2012 10:11:53 +0200, Sönke Ludwig wrote:

Is the URL the same host/port as the website itself (maybe localhost vs.
127.0.0.1)? Or maybe the Firefox error console can give a clue.

I can only say that the forums use $.post(), which according to the
docs calls $.ajax(), and there it works fine in Firefox.

The host/port match up. But i did notice that i get the same error on the other browsers when I tack on "charset=UTF-8" to content-type which Firefox does automatically:

return $.ajax({
  type: 'POST',
  url: vibe + '/process_req',
  data: JSON.stringify(req),
  contentType: 'application/json; charset=UTF-8', // causes error
  //contentType: 'application/json',
  dataType: 'text'
});

Chrome produced the error below. Im still investigating, to see if i can get any more details/fix

Internal error information:
vibe.http.server.HttpStatusException@/Users/joshuaniehus/vibe/source/vibe/http/server.d(1040): Not Found

5 app 0x0000000109b45544 void vibe.http.server.handleHttpConnection(vibe.core.net.TcpConnection, vibe.http.server.HTTPServerListener) + 488
6 app 0x0000000109b426ca void vibe.http.server.listenHttpPlain(vibe.http.server.HttpServerSettings, void delegate(vibe.http.server.HttpServerRequest, vibe.http.server.HttpServerResponse)).void doListen(vibe.http.server.HttpServerSettings, vibe.http.server.HTTPServerListener, immutable(char)[]).void _lambda15(vibe.core.net.TcpConnection) + 54
7 app 0x0000000109b409b4 extern (C) nothrow void vibe.core.drivers.libevent2
tcp.onConnect(int, short, void*).void ClientTask.execute() + 668
8 app 0x0000000109ae19b9 void vibe.core.core.CoreTask.run() + 129
9 app 0x0000000109ba09ed void core.thread.Fiber.run() + 49
10 app 0x0000000109ba0595 fiber_entryPoint + 97
11 ??? 0x0000000000000000 0x0 + 0