Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

HTTP Error 500 #5194

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

HTTP Error 500 #5194

openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: skyper
[Submitted to the original trac issue database at 5.30pm, Friday, 27th June 2014]

Using JOSM with ssl and its notes plugin with plain http connections I got following warning when requesting notes.

See [https://josm.openstreetmap.de/ticket/10202 JOSM #10202].

WARNING: org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Body=<<!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>>
org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Body=<<!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>>
@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 6.07pm, Friday, 27th June 2014]

Works for me from the command line. Probably JOSM is doing something silly.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 6.21pm, Friday, 27th June 2014]

I can't find any sign of your failing request in the logs - did you do it some time before you submitted the JOSM ticket? Certainly the URL in the JOSM ticket is working for me.

@openstreetmap-trac
Copy link
Author

Author: skyper
[Added to the original trac issue at 3.46pm, Sunday, 29th June 2014]

Replying to [comment:2 TomH]:

Damn, did not get any mail.

I can't find any sign of your failing request in the logs - did you do it some time before you submitted the JOSM ticket? Certainly the URL in the JOSM ticket is working for me.

Yes around three hours earlier. Have a look at my changesets.

Might there be a problem with encrypted and unencrypted connections at the same time ?

The notes plugin does not use the authentication method from core so far.

@openstreetmap-trac
Copy link
Author

Author: mmd
[Added to the original trac issue at 4.16pm, Tuesday, 19th May 2020]

The issue can probably no longer be reproduced by now, also the code base changed quite a bit during the last 6 years, hence closing here. If the issue still occurs, please open a new issue on Github with a step-by-step explanation on how to reproduce it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant