﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12606	OAuth - internal server error	bastiK	team	"Not sure if it's a problem of the OSM server or related to my setup. OAuth authentication fails (both fully and semi-automatic method)

{{{
INFO: GET http://api.openstreetmap.org/oauth/request_token -> 301 (342 B)
DEBUG: RESPONSE: {Keep-Alive=[timeout=5, max=100], null=[HTTP/1.1 301 Moved Permanently], Server=[Apache/2.4.7 (Ubuntu)], Connection=[Keep-Alive], Content-Length=[342], Date=[Mon, 07 Mar 2016 19:34:47 GMT], Content-Type=[text/html; charset=iso-8859-1], Location=[http://www.openstreetmap.org/oauth/request_token]}
INFO: Download redirected to 'http://www.openstreetmap.org/oauth/request_token'
INFO: GET http://www.openstreetmap.org/oauth/request_token -> 500 (807 B)
DEBUG: RESPONSE: {Status=[500 Internal Server Error]
}}}

{{{
#!xml
<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.01 Transitional//EN""
   ""http://www.w3.org/TR/html4/loose.dtd"">
<html>
<body>
  <img src=""/assets/osm_logo.png"" style=""float:left; margin:10px"">
  <div style=""float:left;"">
    <h1>Application error</h1>
    <p>The OpenStreetMap server encountered an unexpected condition that prevented it from fulfilling the request (HTTP 500)</p>
    <p>Feel free to <a href=""http://wiki.openstreetmap.org/wiki/Contact"" title=""Various contact channels explained"">contact</a> the OpenStreetMap community if your problem persists. Make a note of the exact URL / post data of your request.</p>
    <p>This may be a problem in our Ruby On Rails code. 500 occurs with exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code)</p>
  </div>
</body>
</html>
}}}

Btw., this kind of error message could be displayed to the user.

{{{
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-03-04 21:52:59 +0100 (Fri, 04 Mar 2016)
Build-Date:2016-03-04 22:51:10
Revision:9924
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9924 en) Linux Ubuntu 15.10
Memory Usage: 293 MB / 1764 MB (194 MB allocated, but free)
Java version: 1.8.0_66-internal-b17, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Djosm.restart=true, -Djosm.home=/home/user/.josm-latest, -Djava.net.useSystemProxies=true]
Program arguments: [--debug]
}}}


Another, probably unrelated problem is that I get no connection whatsoever with IPv6: As can be seen in Wireshark, the first TCP doesn't get acknowledged -> timeout."	defect	closed	normal		Core		worksforme	oauth	
