Unable to upload cookbooks if non SSL mode is enabled #1338
Labels
Component: opscode-erchef
investigation-required
Status: To be prioritized
Indicates that product needs to prioritize this issue.
Triage: Confirmed
Indicates and issue has been confirmed as described.
Triage: Try Reproducing
Indicates that this issue needs to be reproduced.
Type: Bug
Does not work as expected.
I configured my Chef Server as follows:
My
chef-server.rb
:Whenever I try to upload new cookbook I get this error
At first glance it may look like berkshelf bug, but it seems that in such setup Chef Server generates invalid response to
POST /organizations/example/sandboxes
request (details below).All other operations work without issues (
knife cookbook list
,knife node list
, etc)Expected Behavior
Chef Server should work properly and allow cookbook uploads if it's configured as outlined above.
Current Behavior
berks upload
triggers a bunch of HTTP requestsThe last one seems to be crucial in this case. Here's raw HTTP response
Headers
Body
uri
is set tohttps://chef.example.org:80
, which is incorrect (wrong port) and most probably that's the reason whyberks
failsSteps to Reproduce
berks upload
commandYour Environment
Related issues
It seems to be related/partially related to #50 and #662
The text was updated successfully, but these errors were encountered: