Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Known issue with tiktoken causes graphrag library to fail when running in a disconnected or locked down scenario. #1654

Open
3 tasks done
timothymeyers opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working triage Default label assignment, indicates new issue needs reviewed by a maintainer

Comments

@timothymeyers
Copy link

Do you need to file an issue?

  • I have searched the existing issues and this bug is not already filed.
  • My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
  • I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.

Describe the bug

Due to this documented issue with tiktoken, running graphrag in a disconnected or locked down scenario (where it can't reach the open internet) causes 443 SSL errors to fail.

I wanted to document for the community that this is a known issue in a dependent library and that workarounds or fixes could be proposed. Or the dev team could implement a permanent solution.

Steps to reproduce

Run graphrag in a network that does not have open internet access.

  • Deploy Azure Open AI
  • Deploy a vnet that disallows internet access.
  • Deploy a dev Vm in that vnet.
  • Use AOAI with graphrag on that dev VM

Expected Behavior

No response

GraphRAG Config Used

# Paste your config here

Logs and screenshots

No response

Additional Information

  • GraphRAG Version:
  • Operating System:
  • Python Version:
  • Related Issues:
@timothymeyers timothymeyers added bug Something isn't working triage Default label assignment, indicates new issue needs reviewed by a maintainer labels Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Default label assignment, indicates new issue needs reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant