Page MenuHomePhabricator

Investigate HTTP 500 on POST request to WDQS
Closed, ResolvedPublic

Description

While investigating T198042, we realized that there is a high number of HTTP 500 errors on POST requests to https://query.wikidata.org/sparql. Those match a UA / IP which is being banned. Those requests should be 403 and not 500.

Event Timeline

Looks like related to this in the logs:

java.time.temporal.UnsupportedTemporalTypeException: Unsupported field: Year

Which is probably because of this: https://stackoverflow.com/questions/25229124/format-instant-to-string

Change 441776 had a related patch set uploaded (by Smalyshev; owner: Smalyshev):
[wikidata/query/rdf@master] Fix time display error

https://gerrit.wikimedia.org/r/441776

Change 441776 merged by jenkins-bot:
[wikidata/query/rdf@master] Fix time display error

https://gerrit.wikimedia.org/r/441776

I suspect that was the cause of 500's? Do we have them anymore? If not, we can resolve this.

Smalyshev triaged this task as Medium priority.Jun 28 2018, 5:29 AM
Smalyshev moved this task from Incoming to Current work on the Wikidata-Query-Service board.

Looks good, we can close this.

Gehel claimed this task.
Vvjjkkii renamed this task from Investigate HTTP 500 on POST request to WDQS to sdaaaaaaaa.Jul 1 2018, 1:02 AM
Vvjjkkii reopened this task as Open.
Vvjjkkii removed Gehel as the assignee of this task.
Vvjjkkii raised the priority of this task from Medium to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed subscribers: gerritbot, Aklapper.
CommunityTechBot renamed this task from sdaaaaaaaa to Investigate HTTP 500 on POST request to WDQS.Jul 2 2018, 10:21 AM
CommunityTechBot closed this task as Resolved.
CommunityTechBot assigned this task to Gehel.
CommunityTechBot lowered the priority of this task from High to Medium.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added subscribers: gerritbot, Aklapper.