event: log

Log 1

message: Security Warning: HTTP redirects are enabled. This may allow SSRF bypass attacks where a public URL redirects to internal resources (e.g., cloud metadata endpoints). Only enable this if you trust the target server.

type: text

output: data


event: error

text_key: text

sender: API Request

sender_name: API Request

text_color: red

background_color: red

display_name: API Request

source: API Request

icon: error

state: complete

category: error

title: Error

type: error

component: API Request

reason:
**ValueError**
 - **Details: SSRF Protection: Hostname 127.0.0.1 resolves to blocked IP address(es): 127.0.0.1. To allow this hostname, add it to LANGFLOW_SSRF_ALLOWED_HOSTS environment variable.**

traceback:
Traceback (most recent call last):
  File "<string>", line 540, in make_api_request
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/utils/ssrf_protection.py", line 553, in validate_and_resolve_url
    raise SSRFProtectionError(msg)
lfx.utils.ssrf_protection.SSRFProtectionError: Hostname 127.0.0.1 resolves to blocked IP address(es): 127.0.0.1. To allow this hostname, add it to LANGFLOW_SSRF_ALLOWED_HOSTS environment variable.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/custom/custom_component/component.py", line 1173, in build_results
    return await self._build_with_tracing()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/custom/custom_component/component.py", line 1155, in _build_with_tracing
    results, artifacts = await self._build_results()
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/custom/custom_component/component.py", line 1200, in _build_results
    result = await self._get_output_result(output)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/custom/custom_component/component.py", line 1275, in _get_output_result
    result = await method() if inspect.iscoroutinefunction(method) else await asyncio.to_thread(method)
             ^^^^^^^^^^^^^^
  File "<string>", line 549, in make_api_request
ValueError: SSRF Protection: Hostname 127.0.0.1 resolves to blocked IP address(es): 127.0.0.1. To allow this hostname, add it to LANGFLOW_SSRF_ALLOWED_HOSTS environment variable.

title: Error


errorMessage:
Error building Component API Request:

SSRF Protection: Hostname 127.0.0.1 resolves to blocked IP address(es): 127.0.0.1. To allow this hostname, add it to LANGFLOW_SSRF_ALLOWED_HOSTS environment variable.

stackTrace:
Traceback (most recent call last):
  File "<string>", line 540, in make_api_request
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/utils/ssrf_protection.py", line 553, in validate_and_resolve_url
    raise SSRFProtectionError(msg)
lfx.utils.ssrf_protection.SSRFProtectionError: Hostname 127.0.0.1 resolves to blocked IP address(es): 127.0.0.1. To allow this hostname, add it to LANGFLOW_SSRF_ALLOWED_HOSTS environment variable.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/graph/vertex/base.py", line 710, in _build_results
    result = await initialize.loading.get_instance_results(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/interface/initialize/loading.py", line 78, in get_instance_results
    return await build_component(params=custom_params, custom_component=custom_component)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/interface/initialize/loading.py", line 324, in build_component
    build_results, artifacts = await custom_component.build_results()
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/custom/custom_component/component.py", line 1173, in build_results
    return await self._build_with_tracing()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/custom/custom_component/component.py", line 1155, in _build_with_tracing
    results, artifacts = await self._build_results()
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/custom/custom_component/component.py", line 1200, in _build_results
    result = await self._get_output_result(output)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/custom/custom_component/component.py", line 1275, in _get_output_result
    result = await method() if inspect.iscoroutinefunction(method) else await asyncio.to_thread(method)
             ^^^^^^^^^^^^^^
  File "<string>", line 549, in make_api_request
ValueError: SSRF Protection: Hostname 127.0.0.1 resolves to blocked IP address(es): 127.0.0.1. To allow this hostname, add it to LANGFLOW_SSRF_ALLOWED_HOSTS environment variable.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/langflow/api/build.py", line 349, in _build_vertex
    vertex_build_result = await graph.build_vertex(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/graph/graph/base.py", line 1613, in build_vertex
    await vertex.build(
    ...<5 lines>...
    )
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/graph/vertex/base.py", line 845, in build
    await step(user_id=user_id, event_manager=event_manager, **kwargs)
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/graph/vertex/base.py", line 411, in _build
    await self._build_results(
    ...<4 lines>...
    )
  File "/data/pruva/runs/50e1d94c-35c4-431a-b622-d84ef4d2d9ee/bundle/data/venv/lib/python3.14/site-packages/lfx/graph/vertex/base.py", line 731, in _build_results
    raise ComponentBuildError(msg, tb) from exc
lfx.exceptions.component.ComponentBuildError: Error building Component API Request:

SSRF Protection: Hostname 127.0.0.1 resolves to blocked IP address(es): 127.0.0.1. To allow this hostname, add it to LANGFLOW_SSRF_ALLOWED_HOSTS environment variable.

duration: 15 ms