Nimrod007/waze-api

Not working anymore ?

sverley opened this issue · 8 comments

Hi, I set up a server on my computer which used to work but it stop since the 31 of March, at midday.

Since, I get the following error :

mars 31 15:00:05 raspberrypi java[517]: ERROR [2016-03-31 13:00:05,339] waze: failed to getRoutesXY: failed to query waze route
mars 31 15:00:05 raspberrypi java[517]: url: https://www.waze.com/RoutingManager/routingRequest?from=x%3A2.3475569+y%3A48.8588589&to=x%3A2.3652472+y%3A48.7262433&at=0&returnJSON=true&returnGeometries=true&returnInstructions=true&timout=60000&nPaths=3&options=AVOID_TRAILS%3At
mars 31 15:00:05 raspberrypi java[517]: error: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
mars 31 15:00:05 raspberrypi java[517]: at [Source: <!DOCTYPE html>
mars 31 15:00:05 raspberrypi java[517]: <html lang=en>
mars 31 15:00:05 raspberrypi java[517]: <meta charset=utf-8>
mars 31 15:00:05 raspberrypi java[517]: <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
mars 31 15:00:05 raspberrypi java[517]: <title>Error 411 (Length Required)!!1</title>
mars 31 15:00:05 raspberrypi java[517]: <style>
mars 31 15:00:05 raspberrypi java[517]: *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body ...................
mars 31 15:00:05 raspberrypi java[517]: </style>
mars 31 15:00:05 raspberrypi java[517]: <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
mars 31 15:00:05 raspberrypi java[517]: <p><b>411.</b> <ins>That’s an error.</ins>
mars 31 15:00:05 raspberrypi java[517]: <p>POST requests require a <code>Content-length</code> header.  <ins>That’s all we know.</ins>
mars 31 15:00:05 raspberrypi java[517]: ; line: 1, column: 2]
mars 31 15:00:11 raspberrypi java[517]: 0:0:0:0:0:0:0:1 - - [31/mars/2016:13:00:03 +0000] "GET /waze/routesXY?endLat=48.7262433&endLon=2.3652472&startLat=48.8588589&startLon=2.3475569 HTTP/1.1" 500 33 "-" "curl/7.38.0" 8168

Any idea ? It seems to come from the waze side. Maybe they block the access ?

It seems that the url of the "RoutingManager" is now https://www.waze.com/row-RoutingManager/

checking....

should be working now
please verify

@Nimrod007 Ok but how to compile it ? Or can you submit and push a new version, as alpha status ?

just download the jar from :
https://github.com/Nimrod007/waze-api/releases

or clone and run mvn install and take jar from target dir

just download the jar from :
https://github.com/Nimrod007/waze-api/releases

I don't understand. Do you mean that you change the release with the correction you've done ?

yes. forgot to update version.
updated version