Skip to content

Instantly share code, notes, and snippets.

@madlep
Created April 22, 2012 13:08
Show Gist options
  • Save madlep/2464052 to your computer and use it in GitHub Desktop.
Save madlep/2464052 to your computer and use it in GitHub Desktop.
Well, this might explain why the PVT app is borked
192.168.1.102 GET https://chronos.jimbolos.com.au/v1/journey-planner/o/%5B-37.809002,144.895660%5D%7CSeddon%20Station/d/%5B-37.818310,144.966965%5D%7CFlinders%20Street%20Station?departFrom=true&transferMethod=walk&transferMaxTime=10&inclTrain=true&inclTram=true&inclBus=true&inclVline=true&inclRegCoach=true&inclSkybus=true&token=97A431C0AD983ACF6A31DCDAD9AEAD845239FD77
Host: chronos.jimbolos.com.au
User-Agent: PTV 1.0 rv:23032012 (iPhone; iPhone OS 5.1; en_AU)
Accept-Encoding: gzip
Connection: keep-alive
Proxy-Connection: keep-alive
<< 200 OK 977B
Cache-Control: private
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 3.0
X-AspNet-Version: 4.0.30319
From: METCHR02
Date: Sun, 22 Apr 2012 13:03:05 GMT
Content-Length: 977
{
"status": "Error: Unable to connect to the remote server\r\n at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)\r\n at System.Net.WebClient.DownloadString(Uri address)\r\n at Chronos.Web.JourneyPlanner.JourneyConverter.LoadUrl() in G:\\Development\\MetlinkChronos\\Chronos.Web\\AppCode\\JourneyPlanner\\JourneyConverter.cs:line 310\r\n at Chronos.Web.JourneyPlanner.JourneyConverter.GetResponse() in G:\\Development\\MetlinkChronos\\Chronos.Web\\AppCode\\JourneyPlanner\\JourneyConverter.cs:line 331\r\n at Chronos.Web.Controllers.JourneyPlannerController.DiscoverJourney(JourneyConverter journey) in G:\\Development\\MetlinkChronos\\Chronos.Web\\Controllers\\JourneyPlannerController.cs:line 230",
"origin_options": null,
"destination_options": null,
"chronos_log": [],
"chronos_timings": [],
"chronos_start": "2012-04-22T13:03:05.5079099Z",
"itinerary": null,
"xml_response_url": null,
"request_url": null
}
@madlep
Copy link
Author

madlep commented Apr 22, 2012

HTTP traffic of PVT app talking back home.

Whole app is a train wreck. DOES NOT WORK. Not just flakey, IT DOES NOT WORK AT ALL. NOTHING. NADA. ZIP.

App at http://itunes.apple.com/au/app/public-transport-victoria/id318696180?mt=8
PVT at http://ptv.vic.gov.au/

I grabbed this using http://mitmproxy.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment