kcajc / usvisa-ca

A script for making US visa appointments in Canada
50 stars 34 forks source link

Unable to get payment page #19

Open alkinun opened 1 month ago

alkinun commented 1 month ago

Hello there! I got this error while trying with the following config:

DETACH = True
NEW_SESSION_AFTER_FAILURES = 5
NEW_SESSION_DELAY = 60
TIMEOUT = 10
FAIL_RETRY_DELAY = 30
DATE_REQUEST_DELAY = 30
DATE_REQUEST_MAX_RETRY = 60
DATE_REQUEST_MAX_TIME = 30 * 60
LOGIN_URL = "https://ais.usvisa-info.com/en-tr/niv/users/sign_in"
AVAILABLE_DATE_REQUEST_SUFFIX = "/days/94.json?appointments[expedite]=false"
APPOINTMENT_PAGE_URL = "https://ais.usvisa-info.com/en-tr/niv/schedule/{id}/appointment"
PAYMENT_PAGE_URL = "https://ais.usvisa-info.com/en-tr/niv/schedule/{id}/payment"
REQUEST_HEADERS = {
    "X-Requested-With": "XMLHttpRequest",
}

error:

Attempting with new session #1

DevTools listening on ws://127.0.0.1:57485/devtools/browser/6132bbee-dfab-4270-af43-2e40bb73b31d
Created TensorFlow Lite XNNPACK delegate for CPU.
Unable to get payment page:  Message: 
Stacktrace:
        GetHandleVerifier [0x00EAC203+27395]
        (No symbol) [0x00E43E04]
        (No symbol) [0x00D41B7F]
        (No symbol) [0x00D82C65]
        (No symbol) [0x00D82D3B]
        (No symbol) [0x00DBEC82]
        (No symbol) [0x00DA39E4]
        (No symbol) [0x00DBCB24]
        (No symbol) [0x00DA3736]
        (No symbol) [0x00D77541]
        (No symbol) [0x00D780BD]
        GetHandleVerifier [0x01163AB3+2876339]
        GetHandleVerifier [0x011B7F7D+3221629]
        GetHandleVerifier [0x00F2D674+556916]
        GetHandleVerifier [0x00F3478C+585868]
        (No symbol) [0x00E4CE44]
        (No symbol) [0x00E49858]
        (No symbol) [0x00E499F7]
        (No symbol) [0x00E3BF4E]
        BaseThreadInitThunk [0x75F57BA9+25]
        RtlInitializeExceptionChain [0x76F7C10B+107]
        RtlClearBits [0x76F7C08F+191]
kcajc commented 1 month ago

Hey! It seems it's some issue related to getting to the payment page. Could you please try:

  1. Manually log in and navigate to https://ais.usvisa-info.com/en-ca/niv/schedule/<some id>/payment and see if the hardcode URL is wrong.
  2. Try run the script with SHOW_GUI = false and see what happens in that step.

It's clearly nothing to do with TensorFlow, will update the title.

alkinun commented 1 month ago

It seems to be redirected to /appointment/instructions which looks like it has all the info about the registration and the person... image Btw thanks a lot for the fast response and care <3

albatross97 commented 1 month ago

It looks like the usvisa has updated their website to a new layout and no longer has a payment_page : (

anilkreddy commented 3 weeks ago

Any solution to this? even with SHOW_GUI = False, I'm getting the same error

image