{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/photon/issues/727","repository_url":"https://api.github.com/repos/vmware/photon","labels_url":"https://api.github.com/repos/vmware/photon/issues/727/labels{/name}","comments_url":"https://api.github.com/repos/vmware/photon/issues/727/comments","events_url":"https://api.github.com/repos/vmware/photon/issues/727/events","html_url":"https://github.com/vmware/photon/issues/727","id":286280616,"node_id":"MDU6SXNzdWUyODYyODA2MTY=","number":727,"title":"Photon 2.0 ISO Install and tdnf behind proxy not working","user":{"login":"ropetry","id":2862409,"node_id":"MDQ6VXNlcjI4NjI0MDk=","avatar_url":"https://avatars3.githubusercontent.com/u/2862409?v=4","gravatar_id":"","url":"https://api.github.com/users/ropetry","html_url":"https://github.com/ropetry","followers_url":"https://api.github.com/users/ropetry/followers","following_url":"https://api.github.com/users/ropetry/following{/other_user}","gists_url":"https://api.github.com/users/ropetry/gists{/gist_id}","starred_url":"https://api.github.com/users/ropetry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ropetry/subscriptions","organizations_url":"https://api.github.com/users/ropetry/orgs","repos_url":"https://api.github.com/users/ropetry/repos","events_url":"https://api.github.com/users/ropetry/events{/privacy}","received_events_url":"https://api.github.com/users/ropetry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-01-05T12:51:01Z","updated_at":"2018-08-14T18:42:57Z","closed_at":null,"author_association":"NONE","body":"Hello, i have just installed photon 2.0 in a new vm. Network ist up and running.\r\ni am in a corporate environment where i have to use a squid proxy.. i have declared the\r\nhttp and https proxy under /etc/sysconfig/proxy and i can use wget without a problem to access the internet..\r\ni habe also declared the proxy in the tdnef.conf\r\n\r\nroot@container-dev [ /etc/tdnf ]# cat tdnf.conf\r\n[main]\r\ngpgcheck=1\r\ninstallonly_limit=3\r\nclean_requirements_on_remove=true\r\nrepodir=/etc/yum.repos.d\r\ncachedir=/var/cache/tdnf\r\nproxy=\"http://wwwproxy.domain.tld:3128/\"\r\n\r\nbut my tdnf update prints this:\r\n\r\nroot@container-dev [ /etc/tdnf ]# tdnf update\r\nRefreshing metadata for: 'VMware Photon Linux 2.0(x86_64) Updates'\r\ncurl#7: Couldn't connect to server\r\nError: Failed to synchronize cache for repo 'VMware Photon Linux 2.0(x86_64) Updates' from 'https://dl.bintray.com/vmware/photon_updates_2.0_x86_64'\r\nDisabling Repo: 'VMware Photon Linux 2.0(x86_64) Updates'\r\nRefreshing metadata for: 'VMware Photon Extras 2.0(x86_64)'\r\ncurl#7: Couldn't connect to server\r\nError: Failed to synchronize cache for repo 'VMware Photon Extras 2.0(x86_64)' from 'https://dl.bintray.com/vmware/photon_extras_2.0_x86_64'\r\nDisabling Repo: 'VMware Photon Extras 2.0(x86_64)'\r\nRefreshing metadata for: 'VMware Photon Linux 2.0(x86_64)'\r\ncurl#7: Couldn't connect to server\r\nError: Failed to synchronize cache for repo 'VMware Photon Linux 2.0(x86_64)' from 'https://dl.bintray.com/vmware/photon_release_2.0_x86_64'\r\nDisabling Repo: 'VMware Photon Linux 2.0(x86_64)'\r\nNothing to do.\r\n\r\nexport shows the proxy settings are active. \r\nam i missing something or is proxy support broken ? The logfile of the proxy servers shows also no access.\r\n\r\nthanks and bye\r\nroman"},"comment":{"url":"https://api.github.com/repos/vmware/photon/issues/comments/412975249","html_url":"https://github.com/vmware/photon/issues/727#issuecomment-412975249","issue_url":"https://api.github.com/repos/vmware/photon/issues/727","id":412975249,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjk3NTI0OQ==","user":{"login":"lucdekens","id":7760649,"node_id":"MDQ6VXNlcjc3NjA2NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/7760649?v=4","gravatar_id":"","url":"https://api.github.com/users/lucdekens","html_url":"https://github.com/lucdekens","followers_url":"https://api.github.com/users/lucdekens/followers","following_url":"https://api.github.com/users/lucdekens/following{/other_user}","gists_url":"https://api.github.com/users/lucdekens/gists{/gist_id}","starred_url":"https://api.github.com/users/lucdekens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucdekens/subscriptions","organizations_url":"https://api.github.com/users/lucdekens/orgs","repos_url":"https://api.github.com/users/lucdekens/repos","events_url":"https://api.github.com/users/lucdekens/events{/privacy}","received_events_url":"https://api.github.com/users/lucdekens/received_events","type":"User","site_admin":false},"created_at":"2018-08-14T18:42:57Z","updated_at":"2018-08-14T18:42:57Z","author_association":"NONE","body":"A (somewhat) related question.\r\nOn a freshly installed and configured Photon 2.0, I have populated the /etc/sysconfig/proxy file with the correct entries (including the user and password for the proxy) via a GuestOperations call.\r\n\r\nWhen I send the command 'tdnf update -y', again via GuestOperations.  The tdnf command can not refresh the metadata.\r\nNow when I open a SSH session to the same VM. And when I send the 'tdnf update -y' again via GuestOperations, everything seems to work ok.\r\nThere are no proxy entries to be found in the tdnf.conf file.\r\n\r\nWhat is the SSH session together with a run of tdnf changing?\r\nWhy will the tdnf command not find the repo when run via GuestOperations?"}}
{"actor":{"display_login":"lucdekens"}}