Skip to content

Credit report error - invalid cookie domain: Cookie 'domain' mismatch #607

@emann3

Description

@emann3

Describe the bug
credit report returns a crash.
this had been working for me in 2.12 as long as I used headless.
Now to fix the login page css selector change (bug #605), I updated to 2.14 also and now get this error when doing credit report (headless or not)

What version of MintAPI are you using? 2.14
What command[s] did you run / steps to reproduce? mintapi -f today --credit-report
Stacktrace/error received:
DevTools listening on ws://127.0.0.1:61022/devtools/browser/99439f23-b161-475a-a460-02a9009b92de
[258420:257492:0726/091221.815:ERROR:socket_manager.cc(141)] Failed to resolve address for aa.online-metrix.net., errorcode: -105
[258420:257492:0726/091221.829:ERROR:socket_manager.cc(141)] Failed to resolve address for aa.online-metrix.net., errorcode: -105
[258420:257492:0726/091221.829:ERROR:socket_manager.cc(141)] Failed to resolve address for aa.online-metrix.net., errorcode: -105
[258420:257492:0726/091222.521:ERROR:socket_manager.cc(141)] Failed to resolve address for aa.online-metrix.net., errorcode: -105
[258420:257492:0726/091222.594:ERROR:socket_manager.cc(141)] Failed to resolve address for aa.online-metrix.net., errorcode: -105
[258420:257492:0726/091222.595:ERROR:socket_manager.cc(141)] Failed to resolve address for aa.online-metrix.net., errorcode: -105
[230660:258820:0726/091224.474:ERROR:device_event_log_impl.cc(222)] [09:12:24.464] USB: usb_service_win.cc:415 Could not read device interface GUIDs: The system cannot find the file specified. (0x2)
[230660:258820:0726/091224.580:ERROR:feature_processor_state.cc(39)] Processing error occured: model WebAppInstallationPromo failed with UkmEngineDisabled, message:
Traceback (most recent call last):
File "C:\Python310\Scripts\mintapi-script.py", line 33, in
sys.exit(load_entry_point('mintapi==2.12', 'console_scripts', 'mintapi')())
File "C:\Users\ed\AppData\Roaming\Python\Python310\site-packages\mintapi-2.14-py3.10.egg\mintapi\cli.py", line 597, in main
File "C:\Users\ed\AppData\Roaming\Python\Python310\site-packages\mintapi-2.14-py3.10.egg\mintapi\endpoints.py", line 706, in get_credit_report_data
File "C:\Users\ed\AppData\Roaming\Python\Python310\site-packages\mintapi-2.14-py3.10.egg\mintapi\endpoints.py", line 438, in get_credit_reports
File "C:\Users\ed\AppData\Roaming\Python\Python310\site-packages\mintapi-2.14-py3.10.egg\mintapi\endpoints.py", line 235, in _get_credit_reports
File "C:\Users\ed\AppData\Roaming\Python\Python310\site-packages\mintapi-2.14-py3.10.egg\mintapi\endpoints.py", line 34, in get
File "C:\Users\ed\AppData\Roaming\Python\Python310\site-packages\mintapi-2.14-py3.10.egg\mintapi\browser.py", line 186, in request
File "C:\Python310\lib\site-packages\seleniumrequests\request.py", line 220, in request
self.add_cookie(cookie_dict)
File "C:\Python310\lib\site-packages\seleniumrequests\request.py", line 156, in add_cookie
super(RequestsSessionMixin, self).add_cookie(cookie_dict)
File "C:\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 742, in add_cookie
self.execute(Command.ADD_COOKIE, {'cookie': cookie_dict})
File "C:\Python310\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 435, in execute
self.error_handler.check_response(response)
File "C:\Python310\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidCookieDomainException: Message: invalid cookie domain: Cookie 'domain' mismatch
(Session info: chrome=115.0.5790.102)
Stacktrace:
Backtrace:
GetHandleVerifier [0x0117A813+48355]
(No symbol) [0x0110C4B1]
(No symbol) [0x01015358]
(No symbol) [0x010796A2]
(No symbol) [0x0105A73C]
(No symbol) [0x0106C922]
(No symbol) [0x0105A536]
(No symbol) [0x010382DC]
(No symbol) [0x010393DD]
GetHandleVerifier [0x013DAABD+2539405]
GetHandleVerifier [0x0141A78F+2800735]
GetHandleVerifier [0x0141456C+2775612]
GetHandleVerifier [0x012051E0+616112]
(No symbol) [0x01115F8C]
(No symbol) [0x01112328]
(No symbol) [0x0111240B]
(No symbol) [0x01104FF7]
BaseThreadInitThunk [0x763100C9+25]
RtlGetAppContainerNamedObjectPath [0x772F7B1E+286]
RtlGetAppContainerNamedObjectPath [0x772F7AEE+238]
What did you expect to happen?

What actually happened?

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions