Localhost refused to connect/Port 5000 error

I am looking for some help with generating new sets of access and refresh tokens. We have an integration with FE and Salesforce. In our last integration run, we received errors on the Salesforce side that read: "Error Occured. Message: The required Authorization header was missing or invalid, or the token has expired."

 

We were provided steps to generate new access and refresh tokens to resolve this type of error. I attempted to go through the steps, following those outlined at https://developer.blackbaud.com/skyapi/docs/authorization/auth-code-flow/tutorial and ran into a connection problem.


I am able to log in (https://oauth2.sky.blackbaud.com/authorization?client_id=0431fbb8-b9d9-4a83-85df-fab80641c57d&response_type=code&redirect_uri=http://localhost:5000/auth/callback/0431fbb8-b9d9-4a83-85df-fab80641c57d) and attempt to authorize the application. However, when I do, I receive the generic error, "This site can't be reached. Localhost refused to connect."

   

In addition, I have tried everything I could think of (disable, antivirus and firewall, browser settings and clearing cache/dns, proxy settings, etc.) related to my home network and system to see if I could resolve the issue on my end. No luck there either.


As this error is causing a stoppage in processing payments for student scholarships, it is critical that we resolve this quickly. Any help would be greatly appreciated.

Comments

Categories