pymazda icon indicating copy to clipboard operation
pymazda copied to clipboard

Unable to send requests from AWS EC2 instances

Open Jaganmohan029 opened this issue 3 years ago • 1 comments

Hi,

I tried to test pymazda apis requests from EC2 instances. After a couple requests, my requests weren't responded by the mazda server. I tried to do it directly from my laptop, and it was all working fine.

Is it because of some kind of IP address based detection or something else?

Is there a work around for this issue?

Thanks

Jaganmohan029 avatar Jul 14 '22 23:07 Jaganmohan029

Hi @Jaganmohan029, I'm sorry it took me so long to reply.

Unfortunately I think Mazda has recently started to use TLS fingerprinting to attempt to block automated requests like the ones generated by this library. It's not a good situation, and there really isn't much we can do about it, but there are a few possible workarounds. I just updated the readme to add a section that describes the issue and lists some of the workarounds. Please take a look and give them a try. Hopefully one of those will work for you!

bdr99 avatar Aug 17 '22 03:08 bdr99