Postgres 16 & notecaddy error

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Postgres 16 & notecaddy error

Postby Tinman9956 » Mon Jun 10, 2024 11:35 am

Upgraded to postgres16, installed my backed up database and get his error. Using Ver 4.18 Thanks
Attachments
Notecaddy Post 16 Error.png
(30.1 KiB) Downloaded 3473 times
Tinman9956
 
Posts: 254
Joined: Wed Nov 02, 2011 8:29 pm

Re: Postgres 16 & notecaddy error

Postby Flag_Hippo » Mon Jun 10, 2024 12:26 pm

So we can investigate that and follow up with you please turn on 'Enable Logging' in PokerTracker 4 via 'Configure -> Options' and then restart PokerTracker 4. Next reproduce this issue and then attach your support bundle to a Support Ticket. The support bundle is created via the 'File -> Create Support Bundle' menu option in PokerTracker 4.
Flag_Hippo
Moderator
 
Posts: 17049
Joined: Tue Jan 31, 2012 7:50 am

Re: Postgres 16 & notecaddy error

Postby GelaGoot » Fri Jul 12, 2024 9:41 am

I am experiencing the same issue.

I have already tried deleting the following folders:


Code: Select all
C:\Users\<USERNAME>\AppData\Local\PokerTracker 4\Apps\Tm90ZUNhZGR5
C:\Users\<USERNAME>\AppData\Local\PokerTracker 4\Data\AppsData\Tm90ZUNhZGR5
C:\Users\<USERNAME>\Desktop\NoteCaddy Coaching Pack Files



Additionally, I have added the folders `C:\Users\<USERNAME>\AppData\Local\PokerTracker 4` and `C:\Program Files (x86)\PokerTracker 4` to the exclusion list of the Windows Firewall and Antivirus.

The error message states that NoteCaddy cannot connect to the database:


Code: Select all
4.07.12 15:03:53:7572[3]    Unable to connect to database Server=localhost;Port=5432;User Id=postgres;Password=********;Database=PT4 DB;
2024.07.12 15:04:20:8799[1]    There was an error loading the NoteCaddy. -> Unable to detect DB connection details
stack trace:    bei AssaultWare.Business.ConnectionStringFinder.GetConnectionData()
   bei NoteCaddyPT4.Pt4Loader.<GetConnectionData>d__1.MoveNext()
NoteCaddyPT4.Pt4Loader+<GetConnectionData>d__1
NoteCaddy.Business.DataParameterBuilder+<BuildDataParameters>d__10
NoteCaddy.Business.DataParameterBuilder+<GetDataParameters>d__1
NoteCaddy.Business.CoreApplicationLoader`1+<GetBuildLayer>d__14[System.String]
NoteCaddy.Business.ApplicationManager`1+<Start>d__2[System.String]
NoteCaddy.Business.CoreApplicationBuilder`1+<GetApplication>d__1[System.String]
WpfCommon.WpfApp+<RunStartupLogicAsync>d__9



The error reappears approximately 30 seconds after its last occurrence. This also happens if I disable and then enable NoteCaddy; the error takes 30 seconds to reappear.

It seems like a firewall issue to me, possibly due to a timeout on the connection command.

I am using:
- Windows 11
- PokerTracker 4.18.1
- PostgreSQL 16.3

I have also made my PostgreSQL database available on my network by modifying the following configuration files:

In `C:\Program Files\PostgreSQL\16\data\pg_hba.conf`, I added this line:

Code: Select all
host    all             all             192.168.0.0/24          scram-sha-256



In `C:\Program Files\PostgreSQL\16\data\postgresql.conf`, I modified this line:

Code: Select all
listen_addresses = '*'        # what IP address(es) to listen on;



NoteCaddy was enabled when I was running PostgreSQL 9.x. I later disabled it and then re-enabled it after upgrading PostgreSQL from 9.x to 16.3.

I hope my information helps to reproduce and fix this issue.
GelaGoot
 
Posts: 12
Joined: Sat Dec 03, 2022 4:42 pm

Re: Postgres 16 & notecaddy error

Postby Flag_Hippo » Fri Jul 12, 2024 12:46 pm

Thank you. Please note that NoteCaddy currently only supports PostgreSQL up to version 12 so if you want use NoteCaddy at this time it's not possible with PostgreSQL v16.
Flag_Hippo
Moderator
 
Posts: 17049
Joined: Tue Jan 31, 2012 7:50 am

Re: Postgres 16 & notecaddy error

Postby Rushton14 » Fri Jul 12, 2024 5:45 pm

I am also having the same issue. I also do not have a working HUD right now. I understand you guys are probably getting lots of msg's regarding this. Any idea of when this issue will be fixed? I have been dealing with support trying to resolve this issue for several weeks now.
Rushton14
 
Posts: 18
Joined: Fri Dec 27, 2013 9:40 pm

Re: Postgres 16 & notecaddy error

Postby Flag_Hippo » Sat Jul 13, 2024 6:16 am

I don't have any timescales for NoteCaddy supporting PostgreSQL v16. To use NoteCaddy with PokerTracker 4 you will need to install PostgreSQL v12:

https://www.pokertracker.com/forums/vie ... 32#p374932
Flag_Hippo
Moderator
 
Posts: 17049
Joined: Tue Jan 31, 2012 7:50 am


Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 9 guests