@John Quirke database have nothing to do with AppHost for now.
@Mark Scherfling In note I printed the results and that's what I have:
{u'urllist': []}
Log is the same as one in the first post. Hmmm, so strange..
------------------------------
Lucian Sipos
------------------------------
Original Message:
Sent: Thu November 05, 2020 02:43 PM
From: Mark Scherfling
Subject: fn_utilities: Example Expand URL error: Connection reset by peer
Hi Lucian,
The changes in 2.0.1 just added proxy support for expand_url. There should be no changes when using this function without proxy settings in place.
I ran this url in my environment and received the following result:
2020-11-05 14:37:28,089 DEBUG [actions_component] Result: {'urllist': ['http://en.wikipedia.org/wiki/URL_shortening', 'https://en.wikipedia.org/wiki/URL_shortening']}
Do you have a log line with "Result:" to review?
------------------------------
Mark Scherfling
Original Message:
Sent: Thu November 05, 2020 03:20 AM
From: Lucian Sipos
Subject: fn_utilities: Example Expand URL error: Connection reset by peer
I am using version 2.0.1 of fn_utilities and when I launch the Expand URL example function I get an 104 error.
2020-10-23 11:06:32,059 INFO [utilities_expand_url] resilient_url: https://tinyurl.com/m3q2xt2020-10-23 11:06:32,059 INFO [decorators] [utilities_expand_url] StatusMessage: Starting...2020-10-23 11:06:32,059 DEBUG [utilities_expand_url] https://tinyurl.com/m3q2xt depth 12020-10-23 11:06:32,061 DEBUG [stomp_component] send()2020-10-23 11:06:32,061 DEBUG [client] Sending SEND frame [headers={'correlation-id': 'invid:167601', 'destination': '/queue/acks.201.fn_utilities'}, body=b'{"message_type": 0, ...', version=1.2]2020-10-23 11:06:32,062 DEBUG [stomp_component] Message sent2020-10-23 11:06:32,072 ERROR [utilities_expand_url] [Errno 104] Connection reset by peer2020-10-23 11:06:32,073 DEBUG [utilities_expand_url] []2020-10-23 11:06:32,073 DEBUG [decorators] [utilities_expand_url] FunctionResult: <resilient_circuits.action_message.FunctionResult object at 0x7ff5e6f3e860>2020-10-23 11:06:32,466 DEBUG [actions_component] success! [<resilient_circuits.action_message.FunctionResult object at 0x7ff5e6f3e860>], <utilities_expand_url[functions.utilities_expand_url] (id=17, workflow=utilities_expand_url, user=user@email.com) 2020-10-23 09:06:31.611000>I saw in the changelog that between 2.0.0 and 2.0.1 something changed at right for Expand URL function.
Version 2.0.1-proxy access added to url expand and get ssl certificate functions Any suggestions ?
Thanks
------------------------------
Lucian Sipos
------------------------------