[iRail] Recurring problem accessing the API
Laurent Forthomme
forthommel at gmail.com
Tue Nov 22 11:10:15 UTC 2011
Hi Yeri, all,
What do you mean by 'when'?
If you're referring to the times and date I'm looking at in the schedule,
I'm varying it and the result is always the same (also if I'm asking for
the first departure).
If you're asking me how long I've been having this problem I'd say that it
was working well early this morning and started bugging at ~10h.
By the way, it appears that the SNCB website is also having issues... I
guess the problem comes from their side.
Thanks for the fast answer! :)
On 22 November 2011 11:56, Yeri Tiete <yeri.tiete at rootspirit.com> wrote:
> **
>
> Could you give me an indication of when (times & date)?
>
>
>
> I'm seeing several errors:
>
> [Tue Nov 22 11:54:16 2011] [error] [client 172.16.1.129] PHP Warning: http_post_data(): Timeout was reached; connect() timed out! (http://hari.b-rail.be/Hafas/bin/extxml.exe) in /srv/irail/api.irail.be/api/data/NMBS/stations.php on line 104, referer: http://s.flatturtle.com/screens/
>
>
>
>
>
> also:
>
>
>
> [Tue Nov 22 11:00:54 2011] [error] [client 172.16.1.129] PHP Notice: Undefined offset: 1 in /srv/irail/api.irail.be/api/data/NMBS/stations.php on line 112
>
> [Tue Nov 22 11:00:54 2011] [error] [client 172.16.1.129] PHP Notice: Undefined offset: 2 in /srv/irail/api.irail.be/api/data/NMBS/stations.php on line 112
>
> [Tue Nov 22 11:00:56 2011] [error] [client 172.16.1.129] PHP Notice: Undefined index: HTTP_USER_AGENT in /srv/irail/api.irail.be/api/APICall.php on line 79
>
>
>
> but generally, a lot of time outs (NMBS blocking us?)
>
>
>
> On 22.11.2011 11:49, Laurent Forthomme wrote:
>
> Hi everyone,
>
> I have some issues accessing the API since this morning.
>
> Every ~10 minutes all my requests on /connections/ are ended with an error
> 502: "Could not get data. Please report this problem to
> iRail at list.iRail.be." followed with another ~5 minutes while it is
> working again. It appears that all the requests done on /stations/ are
> working anyway...
>
> I don't know if I'm the only one having this problem.
>
>
> Thanks in advance!
>
> --
> Cheers,
> Laurent
>
> --
>
> Yeri Tiete
>
>
> _______________________________________________
> iRail mailing list
> iRail at list.irail.be
> http://lists.rootspirit.com/mailman/listinfo/irail
>
>
--
Cheers,
Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/irail/attachments/20111122/ee69fa93/attachment-0003.html>
More information about the iRail
mailing list