Hi,
After the latest upgrade for the Universal Plugin Manager in our test Jira 5.2.2, it is unable to reach the Atlassian Marketplace.
I had this same issue after first upgrading our Jira but resolved it by adding our proxy settings to setenv.sh and then it worked fine, however those settings are still in place so it must be a different issue.