Jump to content

First request always invalid


Lord Alderaan

Recommended Posts

I'm getting strange web API behavior.

When I connect to the API my first request always results in an error 400 with invalid request in the body. Only the second request using the same connection seems to get properly handled.

Likewise when I go to the webui in my browser I always get a Invalid Request and only after pressing F5 do I get to login.

Anyone else experiencing this issue? Or is this a bug or even intended behavior?

>GET /gui/token.html HTTP/1.1

>Authorization: Basic YoMgwtfLOLwutNQ==

>Host: 127.0.0.1:12345

>Accept: */*

>

HTTP/1.1 400 ERROR

Connection: keep-alive

Content-Length: 17

Content-Type: text/html

invalid request

>GET /gui/token.html HTTP/1.1

>Authorization: Basic YoMgwtfLOLwutNQ==

>Host: 127.0.0.1:12345

>Accept: */*

>

HTTP/1.1 200 OK

Connection: keep-alive

Content-Length: 117

Content-Type: text/html

Set-Cookie: GUID=15C5J05a49bxKSfFBKzc; path=/

Cache-Control: no-cache

<html><div id='token' style='display:none;'>BawR29ofNfaSNY2UaehUo4AApK8W-SSmXmVU

iZLrqmSS5ky1PtEf2HdZ9kw=</div></html>

Link to comment
Share on other sites

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...