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

Support for Proxy server #158

Open
reiabreu opened this issue Aug 1, 2013 · 22 comments
Open

Support for Proxy server #158

reiabreu opened this issue Aug 1, 2013 · 22 comments

Comments

@reiabreu
Copy link

@reiabreu reiabreu commented Aug 1, 2013

Screenly OSE should support proxy servers and proxy exceptions

@vpetersson

This comment has been minimized.

Copy link
Contributor

@vpetersson vpetersson commented Aug 2, 2013

Feel free to add it and do a pull request. The source code is available.

Personally, I haven't used proxy servers in ages (with the exception of SSH tunnels).

@reiabreu

This comment has been minimized.

Copy link
Author

@reiabreu reiabreu commented Aug 2, 2013

Lots of companies still use proxy servers. Screenly may be used as a digital signage system for companies, therefore it would be very interesting to support proxy servers. AFAIK, uzbl does not support proxy exceptions and ignores the environment variables http_proxy and no_proxy, which other browsers recognize and use.
Perhaps we can replace uzbl with another browser.

@atmosx

This comment has been minimized.

Copy link

@atmosx atmosx commented Aug 2, 2013

Why not use OpenVPN? "Companies" have enough money to setup an openvpn server, don't they?

@DSigmund

This comment has been minimized.

Copy link

@DSigmund DSigmund commented Jun 3, 2014

i tried to add this line into misc/uzbl.rc:
set proxy_url = http://[user]:[pwd@[ip]:[port]

Did not work...

@samueldotj

This comment has been minimized.

Copy link

@samueldotj samueldotj commented Jun 24, 2014

For me the following worked.
set proxy_url = http://hostname:port

@DSigmund May be authentication was the problem in your case.

@DSigmund

This comment has been minimized.

Copy link

@DSigmund DSigmund commented Jun 25, 2014

@samueldotj: Hm, the authentication data was correct for my proxy, I checked this

I guess uzbl does really only support a URL here without User/PWD...

On Tue, Jun 24, 2014 at 9:15 PM, Samuel Jacob notifications@github.com
wrote:

For me the following worked.
set proxy_url = http://hostname:port

@DSigmund https://github.com/DSigmund May be authentication was the
problem in your case.


Reply to this email directly or view it on GitHub
#158 (comment)
.

@vpetersson

This comment has been minimized.

Copy link
Contributor

@vpetersson vpetersson commented Nov 3, 2014

@samueldotj / @samueldotj - I've pushed a branch that (theoretically) adds support for proxy support (https://github.com/wireload/screenly-ose/tree/158). Forgot to properly tag it. Could you guys please test it? If so it should be easy to merge into master.

@samueldotj

This comment has been minimized.

Copy link

@samueldotj samueldotj commented Nov 3, 2014

Thanks for fixing this. I don't have a RPi currently - will check it in a week or so.

@vpetersson

This comment has been minimized.

Copy link
Contributor

@vpetersson vpetersson commented Nov 3, 2014

@samueldotj sounds good. You check out the changes to screenly.conf and the branch and let me know.

@fridomac

This comment has been minimized.

Copy link

@fridomac fridomac commented Mar 31, 2015

Sorry to dig up this old issue, but we need to use a proxy for the RPi´s...
Tried the proxy support, but when I switch to the "158" branch, I only get a black screen. Web GUI responds normally, but I can not add Webpages ("Server can not retrieve Asset").
Is there any log I can look into?
Bye, frido.

@vpetersson

This comment has been minimized.

Copy link
Contributor

@vpetersson vpetersson commented Apr 1, 2015

That branch is pretty much out of date. What we need to do is to pull in and merge the latest changes, and then issue a pull request. Unfortunately I don't have enough time to do that right now.

@fridomac

This comment has been minimized.

Copy link

@fridomac fridomac commented Apr 1, 2015

No problem, I will try and set the proxy for uzbl manually, see how far I´ll come (i presume I have to set it in ./config somewhere, or in misc/uzbl.rc?

@vpetersson

This comment has been minimized.

Copy link
Contributor

@vpetersson vpetersson commented Oct 5, 2015

@over64 Let's just porting this should be enough.

@varazir

This comment has been minimized.

Copy link

@varazir varazir commented Nov 26, 2015

Is there any official support for a proxy yet?

@vpetersson

This comment has been minimized.

Copy link
Contributor

@vpetersson vpetersson commented Nov 26, 2015

@varazir No, that's the point of this issue is to add that. :)

@vpetersson vpetersson removed this from the Sprint 2 milestone May 3, 2016
@jamheadjames64

This comment has been minimized.

Copy link

@jamheadjames64 jamheadjames64 commented Apr 21, 2017

Question since this has been removed from sprint2, how do i get the latest updates that add the misc folder to the image?

Sorry I'm just not that great with github, thanks.

@vpetersson

This comment has been minimized.

Copy link
Contributor

@vpetersson vpetersson commented Apr 21, 2017

Depends on your setup, but since you're commenting on this, I presume you require a proxy, you might try this and then follow the regular installation instructions.

@jamheadjames64

This comment has been minimized.

Copy link

@jamheadjames64 jamheadjames64 commented Apr 21, 2017

Have done, the Pi works to apt-get update but within Screenly it doesn't. When I try to put in a asset for website is cant with "Server Error: Could not retrieve file. Check the asset URL" for http://www.bbc.co.uk/news

@vpetersson

This comment has been minimized.

Copy link
Contributor

@vpetersson vpetersson commented Apr 21, 2017

Yeah this is because the proxy support in the system is implemented, but not in the actual Screenly stack.

@stale

This comment has been minimized.

Copy link

@stale stale bot commented Aug 13, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 13, 2018
@tyronewyatt

This comment has been minimized.

Copy link

@tyronewyatt tyronewyatt commented Aug 12, 2019

I use redsocks on my screenly ose and point it to our internal proxy server.
Here is a basic guide to get you started https://jmkhael.io/escape-proxy-hell-with-redsocks/

@vpetersson

This comment has been minimized.

Copy link
Contributor

@vpetersson vpetersson commented Aug 12, 2019

Interesting. Good find @tyronewyatt! Thanks for sharing.

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

Successfully merging a pull request may close this issue.

None yet
9 participants
You can’t perform that action at this time.