[MapRoulette] New challenge: 502 error : tutorial missing step

Van Exel, Martijn martijnv at telenav.com
Fri May 1 17:06:10 UTC 2015


Added.

On 5/1/15, 11:02 AM, "Bryce Nesbitt" <bryce2 at obviously.com<mailto:bryce2 at obviously.com>> wrote:

If you can set me up with production server access, I can cross test there
(leaving the actual challenge marked inactive):

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQlk428j74JQXQR8k5XUhP1C7IToJTxIZnNdntIlO0jEKO19VLXmfPxOSgk3rU5DGsiGuzp6VjdGMdWEforabVnK8KtTpYjF7oAY/48plsor/ZxLN6ixfEWy38oHHVOH3i7uei6nX0xDRm1pFYNnB2ReBCBWcX+JswtdZx1L25sNAUAZRUaLdHoaCMF5Ec/CkFK+G47jTIGjQ1zCFJ5gkbg7QiNP653oN5P91WfA5pMGKegI+hXU5ZCbYZ5lnLAYQz8SQLPwNhN7G6PF+LMKIXsWr2Vq016J5SNyzirzfXRKhj8WPPQwNFUh1RNyD9uKivdwe0Ao5JrVIUTrEhl44f bnesbitt at ubuntu

On Fri, May 1, 2015 at 7:21 AM, Van Exel, Martijn <martijnv at telenav.com<mailto:martijnv at telenav.com>> wrote:
I am able to replicate this and will need to look into it, but that’s unlikely to happen until next week. Do you have a local instance where you can replicate the problem as well?

On 5/1/15, 12:08 AM, "Bryce Nesbitt" <bryce2 at obviously.com<mailto:bryce2 at obviously.com>> wrote:

Could someone take a look at this payload?  The dev server is giving a error "HTTP/1.1 502 Bad Gateway"

[{"identifier":"www-osmid-1275243849","instruction":"The website (http:\/\/www.asiasf_xxx.com<http://www.asiasf_xxx.com>) did not open (HTTP error code 0)","geometries":{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[37.7750027,-122.4129684]},"properties":{"osmid":1275243849}}]}},
{"identifier":"www-osmid-1278522133","instruction":"The website (http:\/\/www.google.com<http://www.google.com>\/asdfasfasdfasdfasdfasdfasdfasdfasdf) did not open (HTTP error code 404)","geometries":{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[37.8997367,-122.2877299]},"properties":{"osmid":1278522133}}]}},
{"identifier":"www-osmid-1278522133","instruction":"The website (http:\/\/valero.com<http://valero.com>\/) did not contain words (Semifreddi's\u2714Semifreddis)","geometries":{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point","coordinates":[37.8997367,-122.2877299]},"properties":{"osmid":1278522133}}]}}]

curl -vX POST http://dev.maproulette.org/api/admin/challenge/webtegreity/tasks -d @XXXXXX.out --header "Content-Type: application:json"
curl -vX PUT  http://dev.maproulette.org/api/admin/challenge/webtegreity/tasks -d @XXXXXX.out --header "Content-Type: application:json"

The challenge "webtegrety" does exist:
curl -vX GET http://dev.maproulette.org/api/admin/challenge/webtegreity/tasks
< HTTP/1.1 200 OK
[]

----------

I'm following the tutorial at:
https://gist.github.com/mvexel/b5ad1cb0c91ac245ea3f
Which in step 5 is missing the step of actually uploading the payload with tasks (it has just one CURL line not two).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/maproulette/attachments/20150501/0ac34651/attachment.html>


More information about the MapRoulette mailing list