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

ollama-copilot making requests to copilot-telemetry.githubusercontent.com - why? #20

Open
sprig opened this issue Nov 15, 2024 · 2 comments

Comments

@sprig
Copy link

sprig commented Nov 15, 2024

Hello,

Thanks for making this tool!

I use LuLu and while it's not perfect, sometimes things pop up;
Screenshot 2024-11-15 at 15 29 52

So, looking at recent DNS logs, I see:

;QUESTION
copilot-telemetry.githubusercontent.com. IN A
;ANSWER
copilot-telemetry.githubusercontent.com. 3561 IN CNAME copilot-telemetry-service.githubusercontent.com.
copilot-telemetry-service.githubusercontent.com. 3561 IN CNAME glb-db52c2cf8be544.github.com.
glb-db52c2cf8be544.github.com. 21 IN A 140.82.114.22
;AUTHORITY
;ADDITIONAL
id 51567
opcode QUERY
rcode NOERROR
flags QR RD RA
edns 0
eflags DO
payload 1232

Why is ollama-copilot making requests to copilot-telemetry.githubusercontent.com and how do I prevent this (from the software itself, not via firewall)?

I couldn't find any code initiating telemetry in this repo so it might be a relayed request or a library.

@sprig
Copy link
Author

sprig commented Nov 16, 2024

OK, looking further at the code, it looks like the proxy just forwards just any random requests except for ones which it rewrites. Personally, I don't like this. I will try to disable this and perhaps submit a PR for an optional flag, if you would (potentially) accept it.

@bernardo-bruning
Copy link
Owner

Perfect! It's a great observation point and I believe we can try to disable it. However, we just need to understand how the github copilot plugin will behave. But I believe it is possible to disable it without major impacts.

PRs are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants