Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0033935 | Retail Modules | StoreServer | public | 2016-09-09 08:53 | 2016-11-22 09:12 | |||||||
Reporter | mtaal | |||||||||||
Assigned To | mtaal | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | migueldejuana | |||||||||||
OBNetwork customer | No | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0033935: Get token call from webpos uses expired token and then continuously repeats itself, filling the log | |||||||||||
Description | Somehow the server state background process uses an expired token. This is shown by the repeated stacktrace [1] in the central server when the server status background process is being run periodically. [1] cdb72c84 2016-09-09 06:00:30,058 [TP-Processor6] INFO org.openbravo.mobile.core.authenticate.MobileKeyAuthenticationManager - Authentication login failed, continueing with standard login approach org.openbravo.authentication.AuthenticationException: Invalid token xB1RC9zjd9ILljfcODBzkQ==__;__JhKN1J+EV1pVLV51QsqwT4NV0O0LHsyByiHtVFH0aKB3mZR8EPDNwbpz+xNElPdHHI6P7KhLuXp8+IkqPsIR3GsnfYULUXHJKU3rCx78wTI6Df6eMycoWmEAbFpyjZSh/P27QzIW51LhCneIwYgQ95hqZuMc1qryJXOlWJDnNfT1GUooEJsufKCgHQmf+ySj0A8QBa1H7V8U/V2ATos49w== at org.openbravo.mobile.core.authenticate.MobileAuthenticationKeyUtils.decrypt(MobileAuthenticationKeyUtils.java:194) at org.openbravo.mobile.core.authenticate.MobileKeyAuthenticationManager.doAuthenticate(MobileKeyAuthenticationManager.java:58) at org.openbravo.authentication.AuthenticationManager.authenticate(AuthenticationManager.java:143) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:196) at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87) at org.openbravo.mobile.core.process.WebServiceAuthenticatedServlet.service(WebServiceAuthenticatedServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.replication.symmetricds.ServletDisablerDuringTableReloadFilter.doFilter(ServletDisablerDuringTableReloadFilter.java:64) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | |||||||||||
Steps To Reproduce | Install multi-server Set short token expiry interval by when logging in set breakpoint here: OB.UTIL.localStorage.setItem('tokenRefreshInterval', getPreference('OBMOBC_RequestRouterTokenRefreshInterval', 10 * 60000, OB.UTIL.localStorage.getItem('tokenRefreshInterval') || 30 * 60000)); and then stepover and execute this in the console: OB.UTIL.localStorage.setItem('tokenRefreshInterval', 10000); Login with webpos stop store server wait for token to expire start store server next get token will throw exception in log | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-09-09 08:53 | mtaal | New Issue | ||||||||||
2016-09-09 08:53 | mtaal | Assigned To | => mtaal | |||||||||
2016-09-09 08:53 | mtaal | OBNetwork customer | => No | |||||||||
2016-09-09 08:53 | mtaal | Triggers an Emergency Pack | => No | |||||||||
2016-10-10 09:38 | mtaal | Note Added: 0090510 | ||||||||||
2016-10-10 09:39 | mtaal | Summary | Server state background process uses expired token => Get token call from webpos uses expired token and then continuously repeats itself, filling the log | |||||||||
2016-10-10 09:39 | mtaal | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13337#r13337 | |||||||||
2016-10-10 11:09 | mtaal | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13342#r13342 | |||||||||
2016-10-18 08:31 | hgbot | Checkin | ||||||||||
2016-10-18 08:31 | hgbot | Note Added: 0090654 | ||||||||||
2016-10-18 08:31 | hgbot | Status | new => resolved | |||||||||
2016-10-18 08:31 | hgbot | Resolution | open => fixed | |||||||||
2016-10-18 08:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fb756d8610aa5ed84f1736814fb3244f1be5a7ad [^] | |||||||||
2016-10-22 15:56 | mtaal | Review Assigned To | => migueldejuana | |||||||||
2016-11-13 23:21 | mtaal | Relationship added | causes 0034474 | |||||||||
2016-11-22 09:03 | migueldejuana | Note Added: 0091727 | ||||||||||
2016-11-22 09:12 | migueldejuana | Note Added: 0091729 | ||||||||||
2016-11-22 09:12 | migueldejuana | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|