Opened 3 weeks ago

Closed 3 weeks ago

#16050 closed enhancement (fixed)

Transform to a more user friendly message.

Reported by: anonymous Owned by: team
Priority: minor Milestone: 18.03
Component: Core Version: tested
Keywords: template_report html Cc:

Description (last modified by stoecker)

What steps will reproduce the problem?

  1. When I was downloading some data I got this message: ResponseCode 503 Service Unavailable

  1. Can this be transform to a more user friendly message?

What is the expected result?

User friendly message.

What happens instead?

Not user friendly message.

Please provide any additional information below. Attach a screenshot if possible.

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-03-01 10:08:48 +0100 (Thu, 01 Mar 2018)
Build-Date:2018-03-01 09:12:13
Redirecting:to URL '':
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13478 da) Linux Ubuntu 17.10
Memory Usage: 403 MB / 844 MB (103 MB allocated, but free)
Java version: 1.8.0_151-8u151-b12-0ubuntu0.17.10.2-b12, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1400x1050
Maximum Screen Size: 1400x1050
Java package: openjdk-8-jre:amd64-8u151-b12-0ubuntu0.17.10.2
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
VM arguments: [-Djosm.restart=true,]

+ Mapillary (v1.5.10)
+ PicLayer (34021)
+ apache-commons (33668)
+ apache-http (32699)
+ continuosDownload (68)
+ reverter (34036)
+ scripting (30783)
+ turnrestrictions (33780)
+ utilsplugin2 (33991)

Map paint styles:

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: ResponseCode=503, Error Body=<<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
- E: Kommunikationen med OSM-serveren fejlede - ResponseCode=503, Error Body=&lt;&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;

Attachments (2)

503-response.PNG (100.0 KB) - added by anonymous 3 weeks ago.
16050.png (11.7 KB) - added by Don-vip 3 weeks ago.

Download all attachments as: .zip

Change History (9)

Changed 3 weeks ago by anonymous

Attachment: 503-response.PNG added

comment:1 Changed 3 weeks ago by stoecker

Description: modified (diff)

It is a seldom error message and the text may contain valuable information. Don't know if we want to add special handling for that.

comment:2 Changed 3 weeks ago by Don-vip

We could display the message as html

comment:3 Changed 3 weeks ago by stoecker

That would be a possibility. If an error message is marked as html content type and starts with a "<", then display it as html.

comment:4 Changed 3 weeks ago by Don-vip

Keywords: html added
Milestone: 18.03

comment:5 Changed 3 weeks ago by Don-vip

Type: defectenhancement

Changed 3 weeks ago by Don-vip

Attachment: 16050.png added

comment:6 Changed 3 weeks ago by Don-vip

Much better:

comment:7 Changed 3 weeks ago by Don-vip

Resolution: fixed
Status: newclosed

In 13499/josm:

fix #16050 - nicer display of HTTP errors from OSM API

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.