Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Aborted #625

Open
CFile87 opened this issue Dec 8, 2023 · 1 comment
Open

Connection Aborted #625

CFile87 opened this issue Dec 8, 2023 · 1 comment

Comments

@CFile87
Copy link

CFile87 commented Dec 8, 2023

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.
@tianshanghong
Copy link

tianshanghong commented Feb 12, 2024

Same. Also got this problem in ubuntu and macos when the headless false was set to True.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants