{"action":"created","issue":{"url":"https://api.github.com/repos/platformsh/platformsh-cli/issues/294","labels_url":"https://api.github.com/repos/platformsh/platformsh-cli/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/platformsh/platformsh-cli/issues/294/comments","events_url":"https://api.github.com/repos/platformsh/platformsh-cli/issues/294/events","html_url":"https://github.com/platformsh/platformsh-cli/issues/294","id":78280169,"number":294,"title":"Access to Plataform.sh behind a proxy","user":{"login":"rpayanm","id":6087454,"avatar_url":"https://avatars.githubusercontent.com/u/6087454?v=3","gravatar_id":"","url":"https://api.github.com/users/rpayanm","html_url":"https://github.com/rpayanm","followers_url":"https://api.github.com/users/rpayanm/followers","following_url":"https://api.github.com/users/rpayanm/following{/other_user}","gists_url":"https://api.github.com/users/rpayanm/gists{/gist_id}","starred_url":"https://api.github.com/users/rpayanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpayanm/subscriptions","organizations_url":"https://api.github.com/users/rpayanm/orgs","repos_url":"https://api.github.com/users/rpayanm/repos","events_url":"https://api.github.com/users/rpayanm/events{/privacy}","received_events_url":"https://api.github.com/users/rpayanm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-05-19T22:44:09Z","updated_at":"2015-06-11T18:37:35Z","closed_at":"2015-06-11T18:37:35Z","body":"I installed platformsh-cli whitout problems, but when I try connect to Plataform.sh I get this error:\r\n\r\n```\r\n[~]$ platform\r\nWelcome to Platform.sh!\r\n\r\nPlease log in using your Platform.sh account\r\n\r\nYour email address: hello@example.com\r\nYour password:\r\n\r\n[GuzzleHttp\\Exception\\ConnectException]                                      \r\n  Error creating resource: [message] fopen(https://marketplace.commerceguys.c  \r\n  om/oauth2/token): failed to open stream: Connection refused                  \r\n  [file] /home/rpayanm/.composer/vendor/guzzlehttp/ringphp/src/Client/StreamH  \r\n  andler.php                                                                   \r\n  [line] 405                                                                   \r\n  [message] Undefined variable: http_response_header                           \r\n  [file] /home/rpayanm/.composer/vendor/guzzlehttp/ringphp/src/Client/StreamH  \r\n  andler.php                                                                   \r\n  [line] 406\r\n\r\n[GuzzleHttp\\Exception\\ConnectException]                                      \r\n  Error creating resource: [message] fopen(https://marketplace.commerceguys.c  \r\n  om/oauth2/token): failed to open stream: Connection refused                  \r\n  [file] /home/rpayanm/.composer/vendor/guzzlehttp/ringphp/src/Client/StreamH  \r\n  andler.php                                                                   \r\n  [line] 405                                                                   \r\n  [message] Undefined variable: http_response_header                           \r\n  [file] /home/rpayanm/.composer/vendor/guzzlehttp/ringphp/src/Client/StreamH  \r\n  andler.php                                                                   \r\n  [line] 406\r\n\r\n[GuzzleHttp\\Ring\\Exception\\RingException]                                    \r\n  Error creating resource: [message] fopen(https://marketplace.commerceguys.c  \r\n  om/oauth2/token): failed to open stream: Connection refused                  \r\n  [file] /home/rpayanm/.composer/vendor/guzzlehttp/ringphp/src/Client/StreamH  \r\n  andler.php                                                                   \r\n  [line] 405                                                                   \r\n  [message] Undefined variable: http_response_header                           \r\n  [file] /home/rpayanm/.composer/vendor/guzzlehttp/ringphp/src/Client/StreamH  \r\n  andler.php                                                                   \r\n  [line] 406 \r\n\r\n```\r\n\r\nI am behind a proxy and I config the terminal for work with my proxy:\r\n\r\n```\r\n[~]$ echo $http_proxy\r\nhttp://192.168.1.1:3128\r\n[~]$ echo $https_proxy\r\nhttp://192.168.1.1:3128\r\n[~]$ echo $ftp_proxy\r\nhttp://192.168.1.1:3128\r\n```\r\n\r\nHow I can fix that?"},"comment":{"url":"https://api.github.com/repos/platformsh/platformsh-cli/issues/comments/111234899","html_url":"https://github.com/platformsh/platformsh-cli/issues/294#issuecomment-111234899","issue_url":"https://api.github.com/repos/platformsh/platformsh-cli/issues/294","id":111234899,"user":{"login":"pjcdawkins","id":1465106,"avatar_url":"https://avatars.githubusercontent.com/u/1465106?v=3","gravatar_id":"","url":"https://api.github.com/users/pjcdawkins","html_url":"https://github.com/pjcdawkins","followers_url":"https://api.github.com/users/pjcdawkins/followers","following_url":"https://api.github.com/users/pjcdawkins/following{/other_user}","gists_url":"https://api.github.com/users/pjcdawkins/gists{/gist_id}","starred_url":"https://api.github.com/users/pjcdawkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjcdawkins/subscriptions","organizations_url":"https://api.github.com/users/pjcdawkins/orgs","repos_url":"https://api.github.com/users/pjcdawkins/repos","events_url":"https://api.github.com/users/pjcdawkins/events{/privacy}","received_events_url":"https://api.github.com/users/pjcdawkins/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T18:37:35Z","updated_at":"2015-06-11T18:37:35Z","body":"Released in version 2.0.7 - update with:\r\n\r\n```bash\r\ncomposer global update\r\n```"}}