Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation NeTEx : gérer les éventuels timeout sur appels d'API enRoute Chouette Valid #4355

Open
ptitfred opened this issue Dec 4, 2024 · 0 comments
Labels

Comments

@ptitfred
Copy link
Contributor

ptitfred commented Dec 4, 2024

En testant le validateur sur certains fichiers volumineux, j'ai observé sporadiquement des timeouts HTTPoison (probablement quand il y a trop de messages à transférer):

** (HTTPoison.Error) :timeout
 (httpoison 2.2.1) lib/httpoison/base.ex:451: HTTPoison.request!/5
 (transport 0.0.1) lib/validators/enroute_chouette_valid_client.ex:89: Transport.EnRouteChouetteValidClient.get_messages/1
 (transport 0.0.1) lib/validators/netex_validator.ex:314: Transport.Validators.NeTEx.poll_validation_results/2
 (transport 0.0.1) lib/validators/netex_validator.ex:124: Transport.Validators.NeTEx.poll_validation/2
 (transport 0.0.1) lib/jobs/on_demand_netex_poller_job.ex:26: Transport.Jobs.OnDemandNeTExPollerJob.check_result/2
 (transport 0.0.1) lib/jobs/on_demand_netex_poller_job.ex:13: Transport.Jobs.OnDemandNeTExPollerJob.perform/1
 (oban 2.18.0) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1
 (oban 2.18.0) lib/oban/queue/executor.ex:77: Oban.Queue.Executor.call/1
 (elixir 1.16.2) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
 (elixir 1.16.2) lib/task/supervised.ex:36: Task.Supervised.reply/4
@ptitfred ptitfred added the NeTEx label Dec 4, 2024
@ptitfred ptitfred mentioned this issue Dec 4, 2024
23 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant