405, Apache Tomcat - Error report

70 views
Skip to first unread message

janaco

unread,
Mar 17, 2016, 4:04:10 AM3/17/16
to immobilienscout24-development

Hallo nochmal,

es bleibt auch heute dabei: ich erhalte bei mittlerweile ALLEN Anfragen an die sandbox lediglich diesen Tomcat-Fehler mit "405 Method not Allowed", egal, ob ich POSTe oder PUTe. Selbst ein banaler DELETE wird mit diesem Fehler quittiert:

----------------------------
HTTP/1.1 405 Method Not Allowed
Connection: close
Date: Thu, 17 Mar 2016 07:53:34 GMT
Server: Apache
WWW-Authenticate: OAuth realm="IS24 API"
Allow: HEAD, GET
Content-Language: en
Content-Length: 1076
Content-Type: text/html;charset=utf-8
Client-Date: Thu, 17 Mar 2016 07:53:42 GMT
Client-Peer: 195.178.100.102:80
Client-Response-Num: 1
Title: Apache Tomcat - Error report

<!DOCTYPE html><html><head><title>Apache Tomcat - Error report</title><style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head><body><h1>HTTP Status 405 - Request method 'POST' not supported</h1><div class="line"></div><p><b>type</b> Status report</p><p><b>message</b> <u>Request method 'POST' not supported</u></p><p><b>description</b> <u>The specified HTTP method is not allowed for the requested resource.</u></p><hr class="line"><h3>Apache Tomcat</h3></body></html>
----------------------------

Was ist denn da los?

janaco

unread,
Mar 17, 2016, 4:45:59 AM3/17/16
to immobilienscout24-development
Ich habe die "Lösung" gefunden.

Scheinbar verfällt - anders als in der Doku ausgesagt - das Access Token doch nach einiger Zeit. Zumindest hat ein erneutes Anfordern eines Access Tokens (über den Playground) jetzt Abhilfe geschafft.

Frage: kann es tatsächlich sein, dass zumindest in der Sandbox die Access Tokens ablaufen? WIe lange halten sie üblicher weise? Und könnte in der Doku bitte noch vermerkt werden, dass "405 Method not Allowed" auch ein Hinweis auf ein abgelaufenes Token sein kann?

Danke schonmal,
  janaco

Fabian Mielke@ImmobilienScout24

unread,
Mar 17, 2016, 5:53:00 AM3/17/16
to immobilienscout24-development
Hi janaco,

wir schauen uns das genauer an.

Dazu schick mir bitte den alten (angeblich abgelaufenen) und neuen Access Token.

MfG Fabian

janaco

unread,
Mar 17, 2016, 10:24:55 AM3/17/16
to immobilienscout24-development
Ist die PM nicht angekommen?
Dann nochmal hier:

Hallo Fabian,

danke für die Rückmeldung. Die Access Tokens waren:

ALT: b9c3955f-538c-4519-be07-ce60cb3bade9
NEU: 69f6dcd9-23b1-40ba-988c-d0380352f4cf

Zwischenzeitlich gab der API-Server auch mal "503 Temporarily Not Available" zurück, das ist aber wohl wieder vorbei.
MfG janaco

Fabian Mielke@ImmobilienScout24

unread,
Mar 17, 2016, 10:42:57 AM3/17/16
to immobilienscout24-development
Wir sind dran!
Reply all
Reply to author
Forward
0 new messages