You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
POST http://91.108.4.182:443/apiw1 404 (Not Found)
.
.
.
I checked different IP address and also port 80 and 433. IPs above are from help.getConfig
How to solve this issue?
Code:
telegramApi.sendCode('+989142158375').then(function(sent_code) {
if (!sent_code.phone_registered) {
// New user
}
// phone_code_hash will need to sign in or sign up
window.phone_code_hash = sent_code.phone_code_hash;
alert(window.phone_code_hash);
});
The text was updated successfully, but these errors were encountered:
help.getNearestDc works correctly also I call help.getConfig and set ip address like this :
production: [
{id: 1, host: '149.154.175.50', port: 443},
{id: 2, host: '149.154.167.51', port: 443},
{id: 3, host: '149.154.175.100', port: 443},
{id: 4, host: '91.108.4.182', port: 443},
{id: 5, host: '91.108.56.165', port: 443}
]
but when calling sendCode I receive this error:
Rpc error
{code: 303, type: "PHONE_MIGRATE_4", description: "CODE#303 PHONE_MIGRATE_4"
POST http://91.108.4.182:443/apiw1 404 (Not Found)
Encrypted request failed
{code: 406, type: "NETWORK_BAD_REQUEST", url: "http://91.108.4.182:443/apiw1"
Check connection undefined
POST http://91.108.4.182:443/apiw1 404 (Not Found)
.
.
.
I checked different IP address and also port 80 and 433. IPs above are from help.getConfig
How to solve this issue?
Code:
The text was updated successfully, but these errors were encountered: