Uncaught PHP Exception GuzzleHttp\\Exception\\ConnectException on /farmlab/boundaries

Created on 30 April 2025, 3 days ago

Problem/Motivation

If you try to go to /farmlab/boundaries before connecting a FarmLab account, it hangs for a while and then fails with a white screen () and the following error in Apache logs:

Uncaught PHP Exception GuzzleHttp\\Exception\\ConnectException: "cURL error 35: Recv failure: Connection reset by peer (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://farmlab.dev.vasat.io/vasat/api/Paddock?active=true" at /opt/drupal/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 275

Steps to reproduce

  1. Install the module.
  2. Do not connect a FarmLab account.
  3. Go to /farmlab/boundaries

Proposed resolution

I think we can fix this by simply checking to see if a FarmLab account has been connected, and if not it can provide a link to do so.

Remaining tasks

Open a MR.

User interface changes

Link to FarmLab status page if no account is connected.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Active

Version

1.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States m.stenta

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024