fabienvauchelles / scrapoxy

Scrapoxy is a super proxy aggregator, allowing you to manage all proxies in one place 🎯, rather than spreading it across multiple scrapers πŸ•ΈοΈ. It also smartly handles traffic routing πŸ”€ to minimize bans and increase success rates πŸš€.
http://scrapoxy.io
MIT License
2.06k stars 237 forks source link

Google Cloud Credentials Problem #216

Closed mrwindowsx closed 10 months ago

mrwindowsx commented 10 months ago

Current Behavior

I got an Error like the one below when creating credentials using Google Cloud Service: secretOrPrivateKey must be an asymmetric key when using RS256

Expected Behavior

The credentials to Google Cloud should connected with sraproxy by using the service account key generated from the Google Cloud Project inside .json file format.

Steps to Reproduce

  1. Inside Google Cloud Account go to IAM & Admin/Service accounts/+Create Service Account. Fill in the form required and ADD. Open the Service Account created to see details and go to KEYS/ADD KEY/CREATE NEW KEY/JSON.
  2. Open the JSON download file and copy the details required to configure the New Credentials type Google Cloud.
  3. Click the CREATE button and the Error will show.

Failure Logs

No response

Scrapoxy Version

4.2.3

Custom Version

Deployment

Operating System

Storage

Additional Information

No response

fabienvauchelles commented 10 months ago

Hi @mrwindowsx , thanks a lot for using Scrapoxy and reporting the issue.

I've got a question. Did you use the "paste" button (check the screenshot) ? image

mrwindowsx commented 10 months ago

I don't use it since I don't know how to use it, the docs are not very clear on how to properly use it. After I tried to select all the JSON files and use that button then it gave me auto-fill and is now created successfully.

fabienvauchelles commented 10 months ago

Perfect!

I reformulate the documentation https://scrapoxy.io/connectors/gcp/guide

Thanks for your feedback.