on 08-10-2013 3:34 PM
Hello,
I have problem with SysMonitor app for iPhone\iPad. Connected mobile app for SolMan used GW.
I have error after when I click adding some system to the Favorites.
Error is "Could not get XCSRF token"
I insert in SCIF path "/default_host/sap/opu/" service name "odata" row "~CHECK_CSRF_TOKEN=0"
Thanks
Alex
I'm experiencing the same issue and have already opened an OSS message, but have not had a response yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The fix is to NOT disable Cross-Site Request Forgery Protection. We followed this cookbook: http://scn.sap.com/docs/DOC-35008. Step 5 has you disable it. The XCSRF token errors went away when we re-enabled.
hi,
I suppose your URL for gateway service prefix path is wrong, can you check this guide in the sap note and correct.
Note 1786544 - SAP System Monitoring Mobile App iPhone/iPad Guide
Thanks
Jansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Logs from mobile app:
SystemMonitoring LOGS / 1.1.4 2013-08-12 11:57:30 +0000 Device:Unknown iPhone iOS version: 6.1.4
| Level = 4 | Time = 12.08.2013, 17:51:05 | TimeNanoSec = 920573000 | Message = <TechnicalSystemTableController: 0x1e509400> [modelDidFailRequest] (UpdateFavoriteTechnicalSystem):<ModelLoadCallbackImpl: 0x1f8bb0c0>
| Level = 4 | Time = 12.08.2013, 17:51:05 | TimeNanoSec = 918393000 | Message = additional info key = NSLocalizedFailureReason value = Could not get X_CSRF_TOKEN for http://{host}:8000/sap/opu/odata/AIGW/TECHMON/TechSysListCollection?
| Level = 4 | Time = 12.08.2013, 17:51:05 | TimeNanoSec = 917661000 | Message = additional info key = NSLocalizedDescription value = Could not get XCSRF token
| Level = 4 | Time = 12.08.2013, 17:51:05 | TimeNanoSec = 916934000 | Message = Error failed domain = com.sap.backend.problem reason = 350
| Level = 4 | Time = 12.08.2013, 17:51:05 | TimeNanoSec = 915934000 | Message = <SystemMonitoringModelService: 0x1f87d930>: Failed request [<SDMHttpRequest: 0x1f839d20>]: Error Domain=com.sap.backend.problem Code=350 "Could not get XCSRF token" UserInfo=0x1e5cd600 {NSLocalizedDescription=Could not get XCSRF token, NSLocalizedFailureReason=Could not get X_CSRF_TOKEN for http://{host}:8000/sap/opu/odata/AIGW/TECHMON/TechSysListCollection? }
| Level = 4 | Time = 12.08.2013, 17:51:05 | TimeNanoSec = 914883000 | Message = [AddSystemToFavorites][commitOperationFail] 1.: DID FAIL operation AddSystemToFavorites
| Level = 4 | Time = 12.08.2013, 17:51:05 | TimeNanoSec = 914008000 | Message = Could not get X_CSRF_TOKEN for http://{host}:8000/sap/opu/odata/AIGW/TECHMON/TechSysListCollection?
| Level = 4 | Time = 12.08.2013, 17:51:05 | TimeNanoSec = 913202000 | Message = Acquiring XSRF token from request http://{host}:8000/sap/opu/odata/AIGW/TECHMON/TechSysListCollection?, response code 200
| Level = 4 | Time = 12.08.2013, 17:51:05 | TimeNanoSec = 912275000 | Message = [AddSystemToFavorites]: Request 1 -th. http://{host}:8000/sap/opu/odata/AIGW/TECHMON/TechSysListCollection? finished successful
| Level = 4 | Time = 12.08.2013, 17:51:04 | TimeNanoSec = 132643000 | Message = [AddSystemToFavorites]: Started 1 -th. request for operation AddSystemToFavorites
| Level = 4 | Time = 12.08.2013, 17:51:04 | TimeNanoSec = 127606000 | Message = <TechnicalSystemTableController: 0x1e509400> [modelDidStartLoad] (UpdateFavoriteTechnicalSystem): <ModelLoadCallbackImpl: 0x1f8bb0c0>
| Level = 4 | Time = 12.08.2013, 17:51:04 | TimeNanoSec = 126389000 | Message = Do fetch request for XSRF with http://{host}:8000/sap/opu/odata/AIGW/TECHMON/TechSysListCollection?
| Level = 4 | Time = 12.08.2013, 17:51:04 | TimeNanoSec = 124652000 | Message = <TechnicalSystemTableController: 0x1e509400> -- Start favorite operation for technical system [000C29A036801ED2ACAD80C9494991AC, X01~ABAP] for system group [000C29A036801ED2AFC109AD01B2BDEF]
| Level = 4 | Time = 12.08.2013, 17:51:04 | TimeNanoSec = 113535000 | Message = <SDMHttpBackend: 0x1e5b3260>: performOperation AddSystemToFavorites for URL http://{host}:8000/sap/opu/odata/AIGW/TECHMON/TechSysListCollection(QueryId='000C29A036801ED2AFC109AD01B2BDEF',Sid='X01',Type='ABAP') Gateway SP 3
| Level = 4 | Time = 12.08.2013, 17:51:04 | TimeNanoSec = 111437000 | Message = -- Long press: start adding/removing technical system [000C29A036801ED2ACAD80C9494991AC, X01~ABAP] at index 1 for query 000C29A036801ED2AFC109AD01B2BDEF to favorites
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.