Git Product home page Git Product logo

Comments (11)

rverton avatar rverton commented on August 19, 2024 2

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.

MaxwellDPS avatar MaxwellDPS commented on August 19, 2024

Same Issue... ANY SOLUTION?

from fbctf.

nicholasykl avatar nicholasykl commented on August 19, 2024

I would like to know the solution too :(

from fbctf.

marjoripomarole avatar marjoripomarole commented on August 19, 2024

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.

nicholasykl avatar nicholasykl commented on August 19, 2024

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.

NeoVilsonWong avatar NeoVilsonWong commented on August 19, 2024

@mpomarole new error

502error.txt

from fbctf.

marjoripomarole avatar marjoripomarole commented on August 19, 2024

@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.

NeoVilsonWong avatar NeoVilsonWong commented on August 19, 2024

@mpomarole done check this
screen shot 2016-05-13 at 3 28 50 am

from fbctf.

marjoripomarole avatar marjoripomarole commented on August 19, 2024

@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.

MaxwellDPS avatar MaxwellDPS commented on August 19, 2024

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

  1. Install fresh Ubuntu 14.04
  2. 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
  3. Enter path to sslcerts during install
  4. 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.

marjoripomarole avatar marjoripomarole commented on August 19, 2024

I am closing this. Feel free to re-open if you still need help.

from fbctf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.