2664: Upgrade to Review Board 1.6.9 but can't set up a GitHub repo
- SetupIssue
- Review Board
eyu****@gmai***** (Google Code) (Is this you? Claim this profile.) | |
Jan. 18, 2013 |
What version are you running? 1.6.9 What steps will reproduce the problem? My GitHub repo has this url: https://github.com/MY_GITHUB_ID/MY_REPO_NAME Under "Repository Hosting" section Hosting service: GitHub Account: <link a new account> (selected automatically) Account username: MY_GITHUB_ID Account password: password associated with MY_GITHUB_ID What is the expected output? What do you see instead? I keep getting this error message: Unknown error when linking the account: 'URLError' object has no attribute 'read' What operating system are you using? Centos 6 Please provide any additional information below. My RB server is behind a corporate firewall. It is verified that outbound ssh from my RB server to GitHub is granted. Thought 1.6.9 aimed at supporting GitHub. Did I miss anything? Please help . Thanks
The problem is the proxy. You will need to set the HTTP_PROXY and http_proxy environment variables in your Apache configuration using SetEnv, like: SetEnv http_proxy "http://proxy.example.com:1234/" SetEnv HTTP_PROXY "http://proxy.example.com:1234/" It should then work.
hmmm...That doesn't seem to fix the problem. I'm using Nginx, and I've added env HTTP_PROXY=http://proxy.MY_DOMAIN.com:XXXX; env http_proxy=http://proxy.MY_DOMAIN.com:XXXX; env HTTPS_PROXY=https://proxy.MY_DOMAIN.com:XXXX; env https_proxy=https://proxy.MY_DOMAIN.com:XXXX; in the configuration. Bounced the nginx server and restarted the fcgi backend processes, but I'm getting the same error still. any idea? Thanks!
ping? Can you take a look at this? Any pointers are appreciated. Thanks!
It's still a proxy problem. Maybe try modifying the .fcgi file and setting the proxy variables in there.
Tried the following options, still no luck: Option 1: ========= set -e export http_proxy=http://proxy.MY_DOMAIN.com:XXXX exec /command/setuidgid reviewboard \ python2.7 manage.py runfcgi daemonize=false host=0.0.0.0 \ port=8080 maxchildren=1024 maxrequests=1024 Option 2: ========= set -e exec /command/setuidgid reviewboard \ env http_proxy=http://proxy.MY_DOMAIN.com:XXXX python2.7 manage.py runfcgi daemonize=false host=0.0.0.0 \ port=8080 maxchildren=1024 maxrequests=1024 I've looked into the logs and didn't find anything useful...
You might want to setup the env variable for https_proxy instead of http_proxy since you are accessing a https url. From http://docs.python.org/2/library/urllib2.html#urllib2.ProxyHandler, it seems that the default is to read the environment variable <protocol>_proxy and since your github url is https, that could be the problem