Announcement Paxton Developers will be unable to respond to any forum question in till Jan 4th. We would like to wish all our Forum members a Merry Christmas.
ali.khan
2021-11-25T09:45:45Z
There’s a bug we noticed on the Net2 system that’s causing us some issues.

When we assign a temporary access to students with an expiry and once the date has expired, it shows on the Paxton system that the access has been revoked which is fine but for some reason, in the background it still thinks that the temporary access has not been revoked yet.
I figured this when I ran an API request to change a note on a particular student and this is the response I got:
"Unable to update, Temporary access in use. Revoke before updating."
But when I go into the Paxton client software and check the same student, it shows that temp access is not even applied. If i try to apply temp access level on this student on the client then it crashes. Clearly theres a bug somewhere or I believe its a caching issue.
Can you please let me know what to do?
thank you.


Ali

Birch
2021-11-26T11:44:29Z
Intresting. I have tested this and I am now getting the same problem. I only got the message while the temp access was activated. Can you list steps to reproduce, please?
Paxton Access Ltd - UI & API Design Engineer
ali.khan
2021-11-26T14:05:18Z
The trouble is, it doesn't always happen but only to a handful of students.
1. Firstly we apply temp access to a student with an expiry date.
2. Then we let the date expire.
3. We find the same student again and run step 1 and the Net2 client would come up with an error message (i cant remember this message but i will find out) and after closing the message, the whole client closes. It is at this point, if I run an API query, I get the message i mentioned on the first post.
ali.khan
2021-12-06T12:18:14Z
any ideas? i am still waiting on a response as we need to sort this issue out, otherwise we cannot apply temp access to these handful of students.
should we restart the server?
Alexander
2021-12-06T16:43:05Z
Hi, Birch has limited access this week so I will need to set this up, I'm guessing having student users this is a fairly large system of users? Without looking at the Net2 logs for the error that comes up I couldn't tell you if it is a caching problem or not but you could try restarting the server but I'm not confident that would sort this problem. If this only happens consistently with a handful of students then that suggests to me some bad data possibly caused by the error you mentioned but if you can get the log entry for when this happens that would help possibly identify a fix/workaround
Paxton Forum Administrator
Paxton Access Website 
ali.khan
2021-12-08T13:09:51Z
Alexander
2021-12-09T17:48:42Z
The service logs will reside in the C:\Net2 Access Control machine on the server specifically the CommsServer.log file and the also the crash on the client you need to reproduce and browse to the users temp folder %tmp% and find the Net2.log file, this will give us the errors your seeing In Net2 to find out why its crashing
Paxton Forum Administrator
Paxton Access Website 
ali.khan
2021-12-10T11:13:05Z
I was able to recreate the error/crash on a particular student. Please see temp log below. I dont have access to the server so i'll have to request this from our Network Manager.


2021-12-10 11:00:07.326> ButtonClick: BTN:FINDUSER
2021-12-10 11:00:07.327> ProcessToolbarButtons()
2021-12-10 11:00:07.813> Received header: Length - 277
2021-12-10 11:00:07.814> Slave::MessageReceived: NewEvent
2021-12-10 11:00:07.814> New Net2 event
2021-12-10 11:00:07.915> g_DisableNewEvents: False
2021-12-10 11:00:08.987> Received header: Length - 277
2021-12-10 11:00:08.988> Slave::MessageReceived: NewEvent
2021-12-10 11:00:08.988> New Net2 event
2021-12-10 11:00:09.085> g_DisableNewEvents: False
2021-12-10 11:00:10.581> Enter SelectNode : USERS____54830
2021-12-10 11:00:10.582> Expand Node
2021-12-10 11:00:10.585> #### DisableForm ####
2021-12-10 11:00:10.640> #### EnableForm ####
2021-12-10 11:00:10.648> Node is Nothing
2021-12-10 11:00:10.649> About to GetUserDepartment
2021-12-10 11:00:10.652> Make sure that node exists: DEPTS____1000057
2021-12-10 11:00:10.653> Set nodMain = tvwMain.Nodes(sMainKey): DEPTS____1000057
2021-12-10 11:00:10.653> About to check if node expand
2021-12-10 11:00:10.654> Node not expanded
2021-12-10 11:00:10.657> #### DisableForm ####
2021-12-10 11:00:10.708> #### EnableForm ####
2021-12-10 11:00:10.712> nod is nothing: False
2021-12-10 11:00:10.713> Check is nod.Visible
2021-12-10 11:00:10.736> #### DisableForm ####
2021-12-10 11:00:10.738> Entering tvwMain.NodeClick
2021-12-10 11:00:10.977> Loading global recordsets
2021-12-10 11:00:10.984> Refresh recordset: Peripherals
2021-12-10 11:00:10.990> Recordset refreshed: 0.004s
2021-12-10 11:00:10.990> Global recordsets loaded
2021-12-10 11:00:12.645> DisplayUserDetails()
2021-12-10 11:00:12.727> Loading global recordsets
2021-12-10 11:00:12.730> Global recordsets loaded
2021-12-10 11:00:12.975> LoadAccessLevelGrid: 10
2021-12-10 11:00:12.976> Loading global recordsets
2021-12-10 11:00:12.976> Refresh recordset: nsp_ActiveAreas
2021-12-10 11:00:13.016> Recordset refreshed: 0.039s
2021-12-10 11:00:13.016> Global recordsets loaded
2021-12-10 11:00:13.020> Fetching Access level members...
2021-12-10 11:00:13.031> LoadCardsListView()
2021-12-10 11:00:13.040> LoadUserLabels()
2021-12-10 11:00:13.041> LoadEvents()
2021-12-10 11:00:13.044> #### EnableForm ####
2021-12-10 11:00:13.117> Leaving tvwMain.NodeClick
2021-12-10 11:00:13.117> Exit SelectNode
2021-12-10 11:00:15.065> Received header: Length - 277
2021-12-10 11:00:15.066> Slave::MessageReceived: NewEvent
2021-12-10 11:00:15.066> New Net2 event
2021-12-10 11:00:15.166> g_DisableNewEvents: False
2021-12-10 11:00:15.469> Received header: Length - 497
2021-12-10 11:00:15.470> Slave::MessageReceived: ACUStatus
2021-12-10 11:00:15.571> g_DisableNewEvents: False
2021-12-10 11:00:15.922> Received header: Length - 493
2021-12-10 11:00:15.923> Slave::MessageReceived: ACUStatus
2021-12-10 11:00:16.030> g_DisableNewEvents: False
2021-12-10 11:00:20.926> Received header: Length - 277
2021-12-10 11:00:20.927> Slave::MessageReceived: NewEvent
2021-12-10 11:00:20.927> New Net2 event
2021-12-10 11:00:20.991> Received header: Length - 277
2021-12-10 11:00:20.992> Slave::MessageReceived: NewEvent
2021-12-10 11:00:20.992> New Net2 event
2021-12-10 11:00:21.050> Received header: Length - 277
2021-12-10 11:00:21.051> Slave::MessageReceived: NewEvent
2021-12-10 11:00:21.052> New Net2 event
2021-12-10 11:00:21.112> Received header: Length - 277
2021-12-10 11:00:21.113> Slave::MessageReceived: NewEvent
2021-12-10 11:00:21.113> New Net2 event
2021-12-10 11:00:21.179> Received header: Length - 277
2021-12-10 11:00:21.180> Slave::MessageReceived: NewEvent
2021-12-10 11:00:21.180> New Net2 event
2021-12-10 11:00:21.243> Received header: Length - 277
2021-12-10 11:00:21.244> Slave::MessageReceived: NewEvent
2021-12-10 11:00:21.244> New Net2 event
2021-12-10 11:00:21.319> Received header: Length - 277
2021-12-10 11:00:21.320> Slave::MessageReceived: NewEvent
2021-12-10 11:00:21.320> New Net2 event
2021-12-10 11:00:21.436> g_DisableNewEvents: False
2021-12-10 11:00:29.569> MsgBox: Note, Temporary permissions will override any existing access level permissions.
Additionally any anti-passback enforcements that are in place for this user will be reset when temporary access is both applied and revoked.
Do you wish to proceed?
2021-12-10 11:00:37.447> Received header: Length - 277
2021-12-10 11:00:37.448> Slave::MessageReceived: NewEvent
2021-12-10 11:00:37.449> New Net2 event
2021-12-10 11:00:37.515> Received header: Length - 277
2021-12-10 11:00:37.516> Slave::MessageReceived: NewEvent
2021-12-10 11:00:37.516> New Net2 event
2021-12-10 11:00:37.572> Received header: Length - 277
2021-12-10 11:00:37.573> Slave::MessageReceived: NewEvent
2021-12-10 11:00:37.574> New Net2 event
2021-12-10 11:00:37.636> Received header: Length - 277
2021-12-10 11:00:37.637> Slave::MessageReceived: NewEvent
2021-12-10 11:00:37.638> New Net2 event
2021-12-10 11:00:37.697> Received header: Length - 277
2021-12-10 11:00:37.698> Slave::MessageReceived: NewEvent
2021-12-10 11:00:37.699> New Net2 event
2021-12-10 11:00:37.762> Received header: Length - 277
2021-12-10 11:00:37.763> Slave::MessageReceived: NewEvent
2021-12-10 11:00:37.763> New Net2 event
2021-12-10 11:00:37.872> g_DisableNewEvents: False
2021-12-10 11:00:45.151> Received header: Length - 277
2021-12-10 11:00:45.152> Slave::MessageReceived: NewEvent
2021-12-10 11:00:45.152> New Net2 event
2021-12-10 11:00:45.271> g_DisableNewEvents: False
2021-12-10 11:00:45.557> Received header: Length - 497
2021-12-10 11:00:45.558> Slave::MessageReceived: ACUStatus
2021-12-10 11:00:45.671> g_DisableNewEvents: False
2021-12-10 11:00:45.742> #### DisableForm ####
2021-12-10 11:00:45.782> Received header: Length - 385
2021-12-10 11:00:45.783> Master::MessageReceived:
2021-12-10 11:00:45.784> #### EnableForm ####
2021-12-10 11:00:45.786> SendSynchronous...done
2021-12-10 11:00:45.849> #### DisableForm ####
2021-12-10 11:00:45.921> Received header: Length - 457
2021-12-10 11:00:45.922> Master::MessageReceived:
2021-12-10 11:00:45.923> #### EnableForm ####
2021-12-10 11:00:45.925> SendSynchronous...done
2021-12-10 11:00:45.948> #### DisableForm ####
2021-12-10 11:00:45.999> Received header: Length - 385
2021-12-10 11:00:46.000> Master::MessageReceived:
2021-12-10 11:00:46.000> #### EnableForm ####
2021-12-10 11:00:46.003> SendSynchronous...done
2021-12-10 11:00:46.158> Loading global recordsets
2021-12-10 11:00:46.193> Refresh recordset: Peripherals
2021-12-10 11:00:46.203> Recordset refreshed: 0.012s
2021-12-10 11:00:46.203> Global recordsets loaded
2021-12-10 11:00:48.758> DisplayUserDetails()
2021-12-10 11:00:48.779> Loading global recordsets
2021-12-10 11:00:48.785> Global recordsets loaded
2021-12-10 11:00:49.034> LoadAccessLevelGrid: 10
2021-12-10 11:00:49.035> Loading global recordsets
2021-12-10 11:00:49.035> Refresh recordset: nsp_ActiveAreas
2021-12-10 11:00:49.075> Recordset refreshed: 0.039s
2021-12-10 11:00:49.075> Global recordsets loaded
2021-12-10 11:00:49.078> Fetching Access level members...
2021-12-10 11:00:49.083> LoadCardsListView()
2021-12-10 11:00:49.088> LoadUserLabels()
2021-12-10 11:00:49.089> LoadEvents()
2021-12-10 11:00:49.090> Refreshing treeview UserUpdate
2021-12-10 11:00:49.090> RefreshTreeView exits - No nodes to refresh.
2021-12-10 11:00:49.091> #### DisableForm ####
2021-12-10 11:00:49.159> #### EnableForm ####
2021-12-10 11:00:49.193> Enter SelectNode : USERS____54830
2021-12-10 11:00:49.193> Node is Nothing
2021-12-10 11:00:49.194> About to GetUserDepartment
2021-12-10 11:00:49.195> Make sure that node exists: DEPTS____1000057
2021-12-10 11:00:49.195> Set nodMain = tvwMain.Nodes(sMainKey): DEPTS____1000057
2021-12-10 11:00:49.196> About to check if node expand
2021-12-10 11:00:49.196> Node not expanded
2021-12-10 11:00:49.209> #### DisableForm ####
2021-12-10 11:00:49.314> #### EnableForm ####
2021-12-10 11:00:49.344> nod is nothing: False
2021-12-10 11:00:49.345> Check is nod.Visible
2021-12-10 11:00:49.394> #### DisableForm ####
2021-12-10 11:00:49.410> Entering tvwMain.NodeClick
2021-12-10 11:00:49.411> #### EnableForm ####
2021-12-10 11:00:49.511> Leaving tvwMain.NodeClick
2021-12-10 11:00:49.511> Exit SelectNode
2021-12-10 11:00:49.512> Refreshing treeview complete
2021-12-10 11:00:50.152> Received header: Length - 277
2021-12-10 11:00:50.153> Slave::MessageReceived: NewEvent
2021-12-10 11:00:50.153> New Net2 event
2021-12-10 11:00:50.267> g_DisableNewEvents: False
2021-12-10 11:00:50.724> Slave error: An established connection was aborted by the software in your host machine, possibly due to a data transmission timeout or protocol error. PowerTcp will close the connection when this error is encountered. (10053)
2021-12-10 11:00:50.725> Slave socket closed: [1]
2021-12-10 11:00:50.725> Master error: An established connection was aborted by the software in your host machine, possibly due to a data transmission timeout or protocol error. PowerTcp will close the connection when this error is encountered. (10053)
2021-12-10 11:00:50.726> Master socket closed: [1]
2021-12-10 11:00:51.389> mtmrCheckConnection_ThatTime() - g_bAppClosing
2021-12-10 11:00:51.390> Shutting down - server connection lost
2021-12-10 11:00:51.390> MsgBox: The connection to the Net2 Server has been lost.

Please ensure that the Net2 Server is running before restarting this application.
This application will now terminate.
2021-12-10 11:00:57.014> Query unload complete
2021-12-10 11:00:57.015> frmMain_Unload()
2021-12-10 11:00:57.016> frmMain.Unload() - exception handler uninstalled
2021-12-10 11:00:57.016> Application closed


Users browsing this topic
    Announcement Paxton Developers will be unable to respond to any forum question in till Jan 4th. We would like to wish all our Forum members a Merry Christmas.