-
Notifications
You must be signed in to change notification settings - Fork 209
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
Cannot upload cookbooks in enable_non_ssl_port true - error 500 internal server error #473
Comments
Something weird: I installed chef development kit on a machine within that private network, with the same chef_server_url in knife.rb. Here, everything works, in logs, there is always the domain instead of private ip. However, if it was the private ip, the things should work also, because that private IP can be resolved from that machine which is in the same private network. The weird thing is why the hostname are resolved correct, instead of private IP, in logs, I see only the domain name. |
Same issue here. Been fiddling with this for months! :( Any help would be great, thanks! |
Got it! Had to use http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypreservehost |
@vladuemilian How do you disables redirect from 80 port to 443 ? I tried to use following config(server was reconfigured of course), but server still redirects to ssl port:
Can you post you external (proxy) configuration here ? On send me a message with github. @vladuemilian Is there analog option for nginx (ProxyPreserveHost) ? |
I see this ticket was closed on December 23rd, 2015. What is the resolution/solution? Is the presumed solution to this bug is to run apache between your proxy and chef and use ProxyPreserveHost? |
Hello,
I have a chef-server installed on a machine within a private network. I have another machine with public IP which redirects the traffic which comes from a specify domain to that chef-server machine, using nginx.
Chef server version: 12.0.3
This is my chef-server.rb configuration
when I try to upload cookbooks I receive 500 internal server error. This is verbose log: http://paste2.org/22Ps3j6z
Here is some logs from /var/log/opscode/bookshelf/crash.log
http://paste2.org/6KAHcmI2
All other commands works fine (knife role create , ...).
chef-server-ctl test
also fails. Here are result logs:edit: This ticket: #50 is similar with my problem. Is there any workaround to fix this?
The text was updated successfully, but these errors were encountered: