OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

How to set proxy for browser?

Open x66ccff opened this issue 11 months ago • 4 comments

What problem or use case are you trying to solve?

I want to be able to set vpn proxy for the brower.

for example. for a vpn proxy listening the port 8890, i want the agent can browing via this proxy

Describe the UX of the solution you'd like

Do you have thoughts on the technical implementation?

Describe alternatives you've considered

Additional context

x66ccff avatar Dec 30 '24 03:12 x66ccff

Interesting idea! It's not implemented right now, but might be a good first issue. We'd need to create some new settings and make sure that they get piped to the playwright browser.

neubig avatar Dec 30 '24 20:12 neubig

I believe this is a relatively significant issue, as it is crucial for developers in certain regions worldwide. If simply setting --network host for the Docker image does not work, it could potentially crash the internal networks of openhands.

x66ccff avatar Dec 31 '24 07:12 x66ccff

HI, I can take this up

rkat7 avatar Jan 08 '25 06:01 rkat7

Thank you @rkat7! Please feel free to submit a PR.

enyst avatar Jan 08 '25 06:01 enyst

Hi, apologies for the delayed update. I had to pause working on this for a while - I might only be able to resume fully in a couple of weeks. If this issue is on priority, please feel free to re-assign. Otherwise, I can continue working on this in sometime.

rkat7 avatar Jan 27 '25 13:01 rkat7

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Feb 27 '25 02:02 github-actions[bot]

This issue was closed because it has been stalled for over 30 days with no activity.

github-actions[bot] avatar Mar 06 '25 02:03 github-actions[bot]