Open BartolomeoItaliano opened 2 years ago
@BartolomeoItaliano Can you share example of code that reproduce above error? I am unable to reproduce this.
this.sc2Api = new hivesigner.Client({
app: "myAppName",
callbackURL: "PageAddress.com",
scope: ["login"],
});
this.sc2Api.setAccessToken(steemConnectToken);
return await new Promise<boolean>((resolve: any, reject: any) => {
this.sc2Api.me(
async (err: any, response: any) => {
if (err) {
console.log(err, response);
// here I print to logs described error
resolve(false);
} else {
resolve(true);
}
});
});
On my local environment I also was not able to reproduce it.
Maybe hivesigner servers rejects my requests for some reason? Could it be possible, that after certain amount of requests it starts to reject further communication?
When making requests to https://hivesigner.com/api/me from remote server (with constant IP address) sometimes I receive error like this. The behavior is not regular sometimes I get it for couple of minutes sometimes shorter.
I use hive signer tokens to prove user identity on my server than I save the token and treat it as authorization string for some time. Because, of the behavior mentioned my users are unable to login through hivesigner. What is the case and how to solve it?
That's error I receive: