e4c6/eksi_unofficial_api

API returns 500 internal server error while logging in

gurkein opened this issue ยท 5 comments

Since yesterday API v2 login endpoints gives HTTP error 500 (Internal server error)

To reproduce:

from eksisozluk.EksiSozluk import EksiApi

client = EksiApi(username=<USERNAME>, password=<PASSWORD>)  # also gives error for anonymous login

@e4c6 can you reproduce the problem?

I've solved my problem by switching to another library. Thank you for your interest.

can you share the solution with us

e4c6 commented

@gurkein Problem can be reproduced. I managed to MITM api calls but login seems to be avoiding proxy. Need to reverse the app further to pinpoint new client credentials. Will look into this in the weekend.

@muratishik Since the library is in a private repository, I do not have the rights to share the solution. Sorry for that.

@e4c6 As far as I understand, the required api access token in the login process is short-lived, and calculated by the mobile app on the fly by encrypting some initial credentials and server time via some certificate. I hope this shed some lights upon reversing the process. Best luck ๐Ÿ™๐Ÿป