Atlas Checks: MapRoulette timed out when uploading the challenges

Currently I’m playing around with the Atlas Checks and would like to upload the results to MapRoulette.
This is described in the documentation with the following command: -Pchecks.local.maproulette=http://maproulette.org:80:HOME_12345:APIKey
I run the script as a standalone application in the console with defaul configuration.json but I have added double quotes in deviation from the documentation, as otherwise this error occurred:
12345-1234-1234-1234-123456789123: command not found
Therefore the command is -Pchecks.local.maproulette="http://maproulette.org:80:12345:1234|12345-1234-1234-1234-123456789123"
The Atlas checks run successfully, the geojson files are valid and can also be uploaded manually to MapRoulette.

But I always get a timeout at the end of the run when connecting to MapRoulette and nothing is uploaded to MapRoulette:

15:35:32.435 [Check execution pool(1)-thread-46] INFO  o.a.http.impl.execchain.RetryExec - Retrying request to {s}->https://maproulette.org:443
15:35:32.435 [Check execution pool(1)-thread-46] DEBUG o.a.h.c.protocol.RequestAddCookies - CookieSpec selected: default
15:35:32.435 [Check execution pool(1)-thread-46] DEBUG o.a.h.i.c.PoolingHttpClientConnectionManager - Connection request: [route: {s}->https://maproulette.org:443][total available: 1; route allocated: 0 of 2; total allocated: 1 of 20]
15:35:32.435 [Check execution pool(1)-thread-46] DEBUG o.a.h.i.c.PoolingHttpClientConnectionManager - Connection leased: [id: 82232][route: {s}->https://maproulette.org:443][total available: 1; route allocated: 1 of 2; total allocated: 2 of 20]
15:35:32.435 [Check execution pool(1)-thread-46] DEBUG o.a.h.impl.execchain.MainClientExec - Opening connection {s}->https://maproulette.org:443
15:35:32.435 [Check execution pool(1)-thread-46] DEBUG o.a.h.i.c.DefaultHttpClientConnectionOperator - Connecting to maproulette.org/172.67.138.122:443
15:35:32.435 [Check execution pool(1)-thread-46] DEBUG o.a.h.c.s.SSLConnectionSocketFactory - Connecting socket to maproulette.org/172.67.138.122:443 with timeout 0
15:35:32.457 [Check execution pool(1)-thread-46] DEBUG o.a.h.i.c.DefaultHttpClientConnectionOperator - Connect to maproulette.org/172.67.138.122:443 timed out. Connection will be retried using another IP address
15:35:32.457 [Check execution pool(1)-thread-46] DEBUG o.a.h.i.c.DefaultHttpClientConnectionOperator - Connecting to maproulette.org/104.21.54.118:443
15:35:32.457 [Check execution pool(1)-thread-46] DEBUG o.a.h.c.s.SSLConnectionSocketFactory - Connecting socket to maproulette.org/104.21.54.118:443 with timeout 0
15:35:32.478 [Check execution pool(1)-thread-46] DEBUG o.a.h.i.c.DefaultHttpClientConnectionOperator - Connect to maproulette.org/104.21.54.118:443 timed out. Connection will be retried using another IP address
15:35:32.478 [Check execution pool(1)-thread-46] DEBUG o.a.h.i.c.DefaultHttpClientConnectionOperator - Connecting to maproulette.org/2606:4700:3034:0:0:0:6815:3676:443
15:35:32.478 [Check execution pool(1)-thread-46] DEBUG o.a.h.c.s.SSLConnectionSocketFactory - Connecting socket to maproulette.org/2606:4700:3034:0:0:0:6815:3676:443 with timeout 0
15:35:32.478 [Check execution pool(1)-thread-46] DEBUG o.a.h.i.c.DefaultManagedHttpClientConnection - http-outgoing-82232: Shutdown connection
15:35:32.478 [Check execution pool(1)-thread-46] DEBUG o.a.h.impl.execchain.MainClientExec - Connection discarded
15:35:32.478 [Check execution pool(1)-thread-46] DEBUG o.a.h.i.c.PoolingHttpClientConnectionManager - Connection released: [id: 82232][route: {s}->https://maproulette.org:443][total available: 1; route allocated: 0 of 2; total allocated: 1 of 20]
15:35:32.478 [Check execution pool(1)-thread-46] INFO  o.a.http.impl.execchain.RetryExec - I/O exception (java.net.SocketException) caught when processing request to {s}->https://maproulette.org:443: Network is unreachable (connect failed)
15:35:32.478 [Check execution pool(1)-thread-46] DEBUG o.a.http.impl.execchain.RetryExec - Network is unreachable (connect failed)
java.net.SocketException: Network is unreachable (connect failed)

If I ping the URLs or IPs specified in the log directly, I don’t get an error.

Does anyone else use the atlas checks with MapRoulette upload and has a solution for this?

2 posts - 1 participant

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/atlas-checks-maproulette-timed-out-when-uploading-the-challenges/107449