这是indexloc提供的服务,不要输入任何密码
Skip to content

[BUG]: Can't use upload-link endpoint on local network IPs #3625

@agorman

Description

@agorman

How are you running AnythingLLM?

Docker (local)

What happened?

When using the /v1/document/upload-link endpoint if I use a link with a local IP on my network I get the following error.

{
	"success": false,
	"error": "Not a valid URL.",
	"documents": []
}

Links sent to routable IPs or domain names seem to work https://google.com or https://8.8.8.8. However something like https://192.168.1.100 doesn't work. The error is also returned right away which seems like there is some validation check failing. I can curl the endpoints from the docker container so I know routing isn't an issue.

Are there known steps to reproduce?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    possible bugBug was reported but is not confirmed or is unable to be replicated.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions