{"action":"opened","issue":{"url":"https://api.github.com/repos/hadley/httr/issues/416","repository_url":"https://api.github.com/repos/hadley/httr","labels_url":"https://api.github.com/repos/hadley/httr/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/hadley/httr/issues/416/comments","events_url":"https://api.github.com/repos/hadley/httr/issues/416/events","html_url":"https://github.com/hadley/httr/issues/416","id":196226302,"number":416,"title":"httr and shiny server","user":{"login":"glennmschultz","id":5162375,"avatar_url":"https://avatars.githubusercontent.com/u/5162375?v=3","gravatar_id":"","url":"https://api.github.com/users/glennmschultz","html_url":"https://github.com/glennmschultz","followers_url":"https://api.github.com/users/glennmschultz/followers","following_url":"https://api.github.com/users/glennmschultz/following{/other_user}","gists_url":"https://api.github.com/users/glennmschultz/gists{/gist_id}","starred_url":"https://api.github.com/users/glennmschultz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennmschultz/subscriptions","organizations_url":"https://api.github.com/users/glennmschultz/orgs","repos_url":"https://api.github.com/users/glennmschultz/repos","events_url":"https://api.github.com/users/glennmschultz/events{/privacy}","received_events_url":"https://api.github.com/users/glennmschultz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-17T15:06:30Z","updated_at":"2016-12-17T15:06:30Z","closed_at":null,"body":"I have code to download from a website which works fine in R studio but does not work in shiny server.  I have updated all packages on the shiny server still the program does not run.  I have traced the problem to the following....\r\n\r\n    # handle preserves settings and cookies across multiple requests.  It is \r\n    # a foundation of all requests performed through httr.  \r\n    h <- handle(\r\n      \"https://mbsdisclosure.fanniemae.com/PoolTalk/index.html\")\r\n  \r\n    # Here the username and password are posted to the server.  Note that\r\n    # user name and password are posted to .../login.json\r\n    GET(handle = h)\r\n    login <- POST(url = \"https://mbsdisclosure.fanniemae.com/PoolTalk/login.json\", \r\n                  body = list(username = username, \r\n                              password = password), \r\n                  encode = \"form\", handle = h)\r\n\r\nGET(handle = h) times out however my understanding is handle is in memory so I am not sure why the problem occurs here but since the code works in RStudio and not Shiny server I am assuming there is something with the way httr and shiny server interact"}}
{"actor":{"display_login":"glennmschultz"}}