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

Error 502 when running localhost:32769 #801

Closed
agungtsp opened this issue Jul 29, 2017 · 10 comments
Closed

Error 502 when running localhost:32769 #801

agungtsp opened this issue Jul 29, 2017 · 10 comments

Comments

@agungtsp
Copy link

after all installation completed and run bin/start , error code is 502 on nginx, how to fix that ?

I already check nginx.conf and nothings wrong

@matthewdias
Copy link

If the client hasn't finished building yet you will get this error. You can check if it's done by running bin/logs -f client. It should have some output telling you the build is complete when it finishes.

@agungtsp
Copy link
Author

after run bin/logs -f client:

Attaching to hummingbird_client_1
client_1 | Could not start watchman
client_1 | Visit https://ember-cli.com/user-guide/#watchman for more info.
client_1 | ember-cli-sentry will not be loaded from bower installation

@matthewdias
Copy link

You can ignore those messages. Let it continue to run, it takes quite a while the first time.

@agungtsp
Copy link
Author

agungtsp commented Jul 30, 2017

but keep error 502 when access localhost:32769

<title>502 Bad Gateway</title>

502 Bad Gateway


nginx/1.9.15

@agungtsp
Copy link
Author

ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).

@matthewdias
Copy link

Try increasing that timeout.

@agungtsp
Copy link
Author

Result keep 502 error nginx.

Have you step by step documentation to install this or create new for us?

I'm already follow guide from your wiki but keep 502. I'm try it for 5 days :D

@matthewdias
Copy link

have you waited until you see the build complete? it should look like the following when it's done

client_1         | Could not start watchman
client_1         | Visit https://ember-cli.com/user-guide/#watchman for more info.
client_1         | ember-cli-sentry will not be loaded from bower installation
client_1         | Livereload server on http://localhost:57777
client_1         | tmp/rollup-cache_path-IwKyUjgY.tmp/exports/es6/metal/queue.js (11:16) The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten
client_1         | tmp/rollup-cache_path-IwKyUjgY.tmp/exports/es6/metal/queue.js (11:24) The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten
client_1         | tmp/rollup-cache_path-IwKyUjgY.tmp/exports/es6/metal/scheduler.js (11:16) The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten
client_1         | tmp/rollup-cache_path-IwKyUjgY.tmp/exports/es6/metal/scheduler.js (11:24) The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten
client_1         | Warning: ignoring input sourcemap for vendor/ember/ember.debug.js because ENOENT: no such file or directory, open '/opt/kitsu/client/tmp/source_map_concat-input_base_path-jL0wAzrO.tmp/vendor/ember/ember.debug.map'
client_1         | Warning: ignoring input sourcemap for vendor/ember/ember-testing.js because ENOENT: no such file or directory, open '/opt/kitsu/client/tmp/source_map_concat-input_base_path-98W0LzCr.tmp/vendor/ember/ember-testing.map'
client_1         | 
client_1         | Build successful (23193ms) – Serving on http://localhost:80/
client_1         | 
client_1         | 
client_1         | 
client_1         | Slowest Nodes (totalTime => 5% )              | Total (avg)         
client_1         | ----------------------------------------------+---------------------
client_1         | EslintValidationFilter (4)                    | 7551ms (1887 ms)    
client_1         | Babel (94)                                    | 3238ms (34 ms)      
client_1         | Concat (10)                                   | 1903ms (190 ms)     
client_1         | PostcssFilter (1)                             | 1668ms              
client_1         | SassCompiler (3)                              | 1536ms (512 ms)     
client_1         | TemplateCompiler (17)                         | 1236ms (72 ms)      
client_1         | 

If you don't see that yet, let it continue to run until it finishes. The logs you already pasted indicate you've followed the steps correctly up to this point. If you try to access the app before you see this, you'll get a 502.

@agungtsp
Copy link
Author

Oke Thanks, I'm failed to develop this

@Marcozero2
Copy link

Marcozero2 commented Aug 1, 2017 via email

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

No branches or pull requests

3 participants