Closed llmwesee closed 6 months ago
Please review the offline documentation. Gradio obtains fonts and other things from the internet unless you set off line mode.
https://github.com/h2oai/h2ogpt/blob/cf9d755fd30cc4dba849fb11150f95219f05b4a2/docs/README_offline.md
i.e.
HF_DATASETS_OFFLINE=1 TRANSFORMERS_OFFLINE=1
ensures nothing from HF is obtained like models etc.
--gradio_offline_level=2
prevents all fonts from online
--share=False
prevents any sharable link
sp=`python -c 'import site; print(site.getsitepackages()[0])'`
sed -i 's/posthog\.capture/return\n posthog.capture/' $sp/chromadb/telemetry/posthog.py
tries to disable posthog telemetry from chroma
--enable-heap-analytics=False
disables h2oGPT telemetry.
Describe the bug While attempting to run a H20GPT app, I observed that the H2OGPT makes requests to a random server IP on initial Internet connection, posing a potential vulnerability and security threat to the application. The server IP observed is something like 13.x.x.x.
This pull request addresses the security vulnerability observed while running a h2ogpt app. I need to close that external request/connection permanently.Please provide Solution urgently ! :') Eg. 13.229.31.209:443 in foreign ip in netstat command command: