Skip to content

Connection Aborted #625

@c-filer

Description

@c-filer

Describe the bug

A clear and concise description of what the bug is.

Unable to extract account / transactions information using mintapi on a night basis.

Prior to 12/8/2023, process would execute on a nightly basis via Windows Task Scheduler, file output were stored to .xlsm; this morning when checking the associated database I found that the database did not pull data from the script that ran at 12:00am. When attempting to run the script I received the listed error message.

What version of MintAPI are you using?

2.15

What command[s] did you run / steps to reproduce?

1) Attempted running using windows task manager
2) Attempted running by clicking .exe
3) Attempted running by using debugger in visual studio 2022 community version

Stacktrace/error received:

('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

image

What did you expect to happen?

Following the mint.get_account_data() command I have a command that prints the statement 'Data Parameter Created'

What actually happened?

Exception is thrown on my line: ChaseAccounts = mint.get_account_data() # as pandas dataframe

Additional context

Add any other context about the problem here.

I have verified within Windows firewall that the application is allowed to execute on both public and private networks; I have tried doing a restart as well as disconnecting and reconnecting my computer.

Other Information Found when Testing

  • (10:24 EST): I was able to execute the same script on my laptop and did not receive any issues // the same Connection Aborted message.
  • (10:46 EST): When converting the connection parameter headless = False, the script executes as intended.
    • (11:11 EST): Note the same Connection Aborted messages is seen within the console however the data pull and storage is still possible / executes.

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