Knife cookbook upload <cookbook_name> does not work

Hello everybody,

Some days ago, I installed chef server (12.6.0-1 x86_64 for rhel 6) and chef dk (0.14.25-1 x86_64 rhel 6). All started work fine, the problem arose when I tried to upload a cookbook using the following command:

knife cookbook upload deploy_app

After the execution of the command, I get the following message:

/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.10.24/lib/chef/mixin/path_sanity.rb:25: warning: Insecure world writable dir /usr/bin in PATH, mode 040777
Uploading deploy_app [0.1.0]
ERROR: Server returned error 500 for https://chef_server/organizations/organization/sandboxes/016b7cfe49b50cf20d8674ffde5c54c7, retrying 1/5 in 4s
ERROR: Server returned error 500 for https://chef_server/organizations/organization/sandboxes/016b7cfe49b50cf20d8674ffde5c54c7, retrying 2/5 in 8s
ERROR: internal server error

In the server side, I open 443 port, but the execution of the knife cookbook upload does not work.

Can someone help me with the last error?

Thanks a lot

Are you able to browse this URL from your workstation?
https://chef_server/organizations/organization/sandboxes/016b7cfe49b50cf20d8674ffde5c54c7

I am suspecting: DNS name(chef_server) could be the problem.