Mobile app randomly kicking back out to signon screen

Use this board to ask questions or have discussions with other Rich Displays users.
pjshuey
Experienced User
Posts: 119
Joined: Wed May 25, 2016 11:58 am
First Name: Patti
Last Name: Shuey
Company Name: Conestoga Wood Specialties
Phone: 7174452886
Address 1: 645 Reading Road
City: East Earl
State / Province: Pennsylvania
Zip / Postal Code: 17519
Country: United States
Contact:

Mobile app randomly kicking back out to signon screen

Post by pjshuey »

I have a mobile app running on a tablet where information is just scanned into fields on the screen requiring no additional input on the screen. When the last field is scanned I have a pui.click() to simulate them hitting enter. They can successfully scan through this screen about 20 time, sometimes more, sometimes less, and then it kicks them out to the signon screen. There are no errors that I can see that would cause this. Does anyone have any suggestions?????
User avatar
Megan
Profound Logic Staff Member
Posts: 90
Joined: Mon Sep 11, 2017 12:15 pm
First Name: Megan
Last Name: Bond
Company Name: Profound Logic
Phone: 5623227473
State / Province: California
Zip / Postal Code: 92692
Country: United States
Contact:

Re: Mobile app randomly kicking back out to signon screen

Post by Megan »

Hello Patti,

We're sorry to hear that you are having issues with this. It sounds like you may be having an issue with your timeout timers. To correct this, you may want to extend your server side timeouts, set appropriate length client side timeouts, or submit the screen after each scan rather than after having scanned all barcodes. You can learn more about timeouts on our doc pages at the following links:
We hope this helps! If you have any additional questions, please let us know!

Thanks,
~MEGAN BOND
Technical Support Specialist
support@profoundlogic.com
pjshuey
Experienced User
Posts: 119
Joined: Wed May 25, 2016 11:58 am
First Name: Patti
Last Name: Shuey
Company Name: Conestoga Wood Specialties
Phone: 7174452886
Address 1: 645 Reading Road
City: East Earl
State / Province: Pennsylvania
Zip / Postal Code: 17519
Country: United States
Contact:

Re: Mobile app randomly kicking back out to signon screen

Post by pjshuey »

I don't think this is a timeout issue. It is not happening if the screen sits idle. They are constantly scanning 2 barcodes and then control is sent back to the program. They can do this about 20 times and then it just goes back to the sign on screen.

I did check the links you included, and we have everything set according to the documentation.
kevinh
Profound User
Posts: 43
Joined: Tue May 19, 2009 4:31 pm
First Name: Kevin
Last Name: Hunter
Company Name: Integrated Corporate Solutions
Phone: 2567608239
Address 1: 501 S Wood Ave
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Location: Florence Alabama
Contact:

Re: Mobile app randomly kicking back out to signon screen

Post by kevinh »

Patti,
Just curious, is your IBM i OS version 7.3?
We've had a couple reports from an installation running on 7.3 where users were moving through browser screens (not mobile) as normal then suddenly they are returned to a signon screen. We too have all the PUI timeout settings as documentation suggests, timing sessions out at an hour of inactivity which users are accustom to which is why they reported this behavior to us knowing it wasn't normal.
It only started with them after upgrading to IBM i 7.3, but has only happened randomly to a couple users as far as we know. There was nothing abnormal in their job log, just that they ended their session.
Just fishing for answers at this point, nothing frequent enough or traceable to substantiate a support ticket. Don't want to hijack your thread.
Kevin H.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Mobile app randomly kicking back out to signon screen

Post by Scott Klement »

If it is timing out, there'd be a message that pops up saying that the session has timed out. If you are getting that when you dont' expect to (like Kevin's description) then it should be reported to Profound Logic Support.

If it's not giving a timeout message, then it's not timing out... at least not in a way that I'm familiar with! And, Patti never said anything about time outs, so I don't think that makes any sense, here?

Typically, the only reason an application goes back to the sign-on is because the back-end program (customer-written RPG, Node.js, PHP or Cobol program that drives the process) has ended. The first thing you should do is debug that program and determine what is going on when this happens... is it ending? is it receiving an error? If "nothing" is happening, what does that mean, that the program is still waiting on the display file?

More info please.
pjshuey
Experienced User
Posts: 119
Joined: Wed May 25, 2016 11:58 am
First Name: Patti
Last Name: Shuey
Company Name: Conestoga Wood Specialties
Phone: 7174452886
Address 1: 645 Reading Road
City: East Earl
State / Province: Pennsylvania
Zip / Postal Code: 17519
Country: United States
Contact:

Re: Mobile app randomly kicking back out to signon screen

Post by pjshuey »

I just ran it through debug with a break point set on the EXFMT and on the 21st time when I stepped past that command, it just went back to the signon screen.... It never came back to the program. I checked the active jobs and the job seems to be still running. What information can I send you that will help you with this?
pjshuey
Experienced User
Posts: 119
Joined: Wed May 25, 2016 11:58 am
First Name: Patti
Last Name: Shuey
Company Name: Conestoga Wood Specialties
Phone: 7174452886
Address 1: 645 Reading Road
City: East Earl
State / Province: Pennsylvania
Zip / Postal Code: 17519
Country: United States
Contact:

Re: Mobile app randomly kicking back out to signon screen

Post by pjshuey »

The active shows the function as being PGM-PUI0001202.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Mobile app randomly kicking back out to signon screen

Post by Scott Klement »

a) We're going to need to handle this in Support. There's no way it can be handled in the forums. Please contact support@profoundlogic.com for support.

b) We're going to need to be able to reproduce it.
pjshuey
Experienced User
Posts: 119
Joined: Wed May 25, 2016 11:58 am
First Name: Patti
Last Name: Shuey
Company Name: Conestoga Wood Specialties
Phone: 7174452886
Address 1: 645 Reading Road
City: East Earl
State / Province: Pennsylvania
Zip / Postal Code: 17519
Country: United States
Contact:

Re: Mobile app randomly kicking back out to signon screen

Post by pjshuey »

Okay. Thanks Scott!
ectstx
New User
Posts: 7
Joined: Mon Feb 27, 2012 6:31 pm
First Name: Daniel
Last Name: Salazar
Company Name: Eclipse Consulting
Phone: 956-630-2005
Address 1: 7017 N. 10th
Address 2: Suite 202
City: McAllen
State / Province: Texas
Zip / Postal Code: 78504
Country: United States
Contact:

Re: Mobile app randomly kicking back out to signon screen

Post by ectstx »

Started getting this problem when, I applied PTF's last week. Was there ever a solution?
Post Reply

Who is online

Users browsing this forum: Esdale and 1 guest