Comments (11)
I had this problem when trying to install it on a 14.04 32-bit ubuntu. hhvm fails to install (64bit required) and so the gateway nginx tries to connect to (127.0.0.1:9000) is not running (thus the 502 Bad Gateway error). Can you check if hhvm is installed and if there is a port 9000 opened?
from fbctf.
Same Issue... ANY SOLUTION?
from fbctf.
I would like to know the solution too :(
from fbctf.
Could you post more details of what you ran to provision ? And please provide a past of the logs so we can help you better.
Instructions to provision for development mode are at: https://github.com/facebook/fbctf#development
from fbctf.
I believe I have this solved by using the 64bit version of Ubuntu 14.04.
I clean installed (easy install) the OS on the 64bit VMware Player, and didn't update any pre-installed packages. I then follow the readme instructions to setup the DEV environment.
from fbctf.
@mpomarole new error
from fbctf.
@NeoVilsonWong you are still having the problem of locale not being set correctly. Did you try http://askubuntu.com/questions/162391/how-do-i-fix-my-locale-issue ?
Specifically adding export LC_ALL="en_US.UTF-8"
to your .bashrc file?
from fbctf.
from fbctf.
@NeoVilsonWong what you have below:
WARNING! Your environment specifies an invalid locale.
This can affect your user experience significantly, including the
ability to manage packages. You may install the locales by running:
sudo apt-get install language-pack-UTF-8
or
sudo locale-gen UTF-8
To see all available language packs, run:
apt-cache search "^language-pack-[a-z][a-z]$"
To disable this message for all users, run:
sudo touch /var/lib/cloud/instance/locale-check.skip
Is what is failing to install all the proper packages on the provision script.
from fbctf.
Hi, I found a temporary solution and it's not a permanent solution but it will get you up and running for now.
I was trying to run the development version on Ubuntu 14.04 and I was getting the 502 Gateway timeout. Using the argumnet 'dev' Most people are using the development version just because it auto generates the SSL certificates. What I did to fix it was
- Install fresh Ubuntu 14.04
- Generate self-signed certs by:
A) openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /dir/to/ssl/fbctf.enckey -out /dir/to/ssl/fbctf.crt
B) openssl rsa -in /dir/to/ssl/fbctf.enckey -out /dir/to/ssl/fbctf.key
3.run the install with the 'prod' flag - Enter path to sslcerts during install
- Enjoy
Note if you want free ssl that is from a real ca go to startssl.com and you will have ssl in a day or so. For FREE, if your cheap like me:)
from fbctf.
I am closing this. Feel free to re-open if you still need help.
from fbctf.
Related Issues (20)
- Cannot choose team shield in Chrome HOT 1
- Possible to do a combination of flag and quiz?
- FianGanz
- Changing country names to custom HOT 1
- Requirements HOT 1
- Welcome Message
- opensource.facebook.com redirection HOT 1
- Problem with composer HOT 1
- Graph is missing HOT 1
- Nginx error HOT 1
- first_capture and completed_by are not updating HOT 4
- Multiple challenges per country
- Dead project? HOT 3
- ERR_TOO_MANY_REDIRECTS HOT 1
- Game clock is out of sync to Game schedule
- Link to collegiate - focused challenges (In FAQ) is dead
- How can I change default port fbctf with docker HOT 1
- Locked out of UI HOT 1
- mySQL "too many connections" error HOT 1
- how to acces from my ip direct - without Vagrant?! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fbctf.