Running KM locally fails connecting via localhost. #939
Replies: 2 comments
-
The logic is intentional, to avoid malicious calls to local services. If you need to, you can work around it by aliasing your local IP in your local DNS, e.g. entering this line in your
and use |
Beta Was this translation helpful? Give feedback.
-
Hi @dluc. |
Beta Was this translation helpful? Give feedback.
-
Context / Scenario
I am trying to upload documents stored in local Azure Storage (via Aspire/Docker). I retrieve a temporary url for this and upload the document to memory kernel via ImportWebPageAsync()
The upload fails as local addresses are not allowed (even in a dev environment).
What happened?
There is specific 'hard code' that breaks local testing in both MemoryService and MemoryWebClient:
I cannot see anyway to override this without hacking the code.
Importance
I cannot use Kernel Memory
Platform, Language, Versions
Current version (code)
Relevant log output
Beta Was this translation helpful? Give feedback.
All reactions