Script with a http get request fails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ednt
    Member
    • May 2022
    • 65

    #1

    Script with a http get request fails

    In the log file:

    [2026-07-17 10:48:15] ERROR: (0) Workflow 65afc832dca946bb7: Action failed, sendRequest 0, Unable to set cURL option CURLOPT_RESOLVE (10203): curl_setopt(): The CURLOPT_RESOLVE option must have an array value.
    [object] (InvalidArgumentException(code: 0): Unable to set cURL option CURLOPT_RESOLVE (10203): curl_setopt(): The CURLOPT_RESOLVE option must have an array value at /var/www/clients/client1/web62/web/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:180)
    [previous exception] [object] (TypeError(code: 0): curl_setopt(): The CURLOPT_RESOLVE option must have an array value at /var/www/clients/client1/web62/web/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:178)

    Guzzle has a bug it does not create an array out of the url.


    Send HTTP Request GET

    http://192.168.XXX.XXX:YYYY?Acc={$id}




    EspoCRM V 10.0.2
    Advanced Pack 3.13.3
    Last edited by Ednt; Today, 11:14 AM.
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9954

    #2
    Will be fixed in v10.0.3.

    Comment

    • Ednt
      Member
      • May 2022
      • 65

      #3
      Btw. it works with a name instead of an ip address

      Comment

      Working...