lucid-eleven / nft-discord-bot

Discord bot for ERC721 NFT collections
171 stars 108 forks source link

Anybody else encountering OpenSea API issues after the a6f25904d0dd9e551e94fd24d4bf3ac6bfad50f1 commit changes? #9

Open cwveysey opened 2 years ago

cwveysey commented 2 years ago

I'm encountering issues when I access the OpenSea API via a Heroku worker - I'm able to run the https://github.com/lucid-eleven/nft-discord-bot/blob/main/cronjobs/listing.js code successfully when I execute the code (slightly modified) from terminal.

Might not be related, I'm encountering the following when I execute the same request via Postman (again I'm able to successfully execute the code via terminal)

"

400 Bad Request

400 Bad Request


cloudflare

"

I'm wondering if there is an IP block situation happening...that is somehow tied to the Heroku server? Because my local IP is not blocked, as evidenced by the fact that I am able to successfully execute the code via terminal...

lucid-eleven commented 2 years ago

There have been occasions in the past where OpenSea's Cloudflare configuration started blocking AWS IP addresses, I'm not sure if it's intentional or if that's what's happening with you.

Is the problem still persisting for you?