Re: Re: REST API authentication issue
Aldevinas Katkus
2-14-22
I have just upgraded our demo from 8.5 2021-11-24 (build 85420169) to 8.5 2022-02-02 (build 85420830) and cannot fetch any records anymore.
Never version client crashed when I tried to fetch records using Power BI, an older version did not crash.

hansa.log new version:
2022-02-14 17:00:56 (1) ENABLER: get functionality SERVICE_RESTAPI already resolved to 2^M
2022-02-14 17:00:56 (1) FindService(RESTAPI,) -> http(s)://18.156.208.209:443 for function DOOAUTHCHECKIFTOKENISVALID^M
2022-02-14 17:00:56 (1) CallHal("OAuthCheckIfTokenIsValid")^M
2022-02-14 17:00:56 (1) CallHal("FindService")^M
2022-02-14 17:00:56 (1) ENABLER: get functionality SERVICE_RESTAPI already resolved to 2^M
2022-02-14 17:00:56 (1) FindService(RESTAPI,) -> http(s)://18.156.208.209:443 for function DOOAUTHCHECKIFTOKENISVALID^M
2022-02-14 17:00:56 (1) CallHal("OAuthCheckIfTokenIsValid")^M
2022-02-14 17:00:56 (1) CallHal("FindService")^M
2022-02-14 17:00:56 (1) ENABLER: get functionality SERVICE_RESTAPI already resolved to 2^M
2022-02-14 17:00:56 (1) FindService(RESTAPI,) -> http(s)://18.156.208.209:443 for function DOOAUTHCHECKIFTOKENISVALID^M
2022-02-14 17:00:56 (1) slot 4242819: clear^M
2022-02-14 17:00:56 (1) slot 4242819: allocated^M
2022-02-14 17:00:56 (1) slot 4242819: set usage to http^M
2022-02-14 17:00:56 (1) slot 4242819: set session to 4 from SetWebClArr^M
2022-02-14 17:00:56 (1) AD CallHal("EmailValidationStatusWithStdID")^M
2022-02-14 17:00:56 (1) AD Login ^M
2022-02-14 17:00:56 (1) AD Login Slot: 4242819 Session: -1^M
2022-02-14 17:00:57 (1) /THREAD(30) CallHal("OAuthCheckIfTokenIsValid")^M
2022-02-14 17:00:57 (1) /THREAD(30) CallHal("FindService")^M
2022-02-14 17:00:57 (1) /THREAD(30) ENABLER: get functionality SERVICE_RESTAPI already resolved to 2^M
2022-02-14 17:00:57 (1) /THREAD(30) FindService(RESTAPI,) -> http(s)://18.156.208.209:443 for function DOOAUTHCHECKIFTOKENISVALID^M
2022-02-14 17:00:57 (1) /THREAD(32) CallHal("OAuthCheckIfTokenIsValid")^M
2022-02-14 17:00:57 (1) /THREAD(32) CallHal("FindService")^M
2022-02-14 17:00:57 (1) /THREAD(32) ENABLER: get functionality SERVICE_RESTAPI already resolved to 2^M
2022-02-14 17:00:57 (1) /THREAD(32) FindService(RESTAPI,) -> http(s)://18.156.208.209:443 for function DOOAUTHCHECKIFTOKENISVALID^M
2022-02-14 17:00:57 (1) /THREAD(34) CallHal("OAuthCheckIfTokenIsValid")^M
2022-02-14 17:00:57 (1) /THREAD(34) CallHal("FindService")^M
2022-02-14 17:00:57 (1) /THREAD(34) ENABLER: get functionality SERVICE_RESTAPI already resolved to 2^M
2022-02-14 17:00:57 (1) /THREAD(34) FindService(RESTAPI,) -> http(s)://18.156.208.209:443 for function DOOAUTHCHECKIFTOKENISVALID^M

old version:
2022-02-14 11:10:26 (1) CallHal("OAuthCheckIfTokenIsValid")

2022-02-14 11:10:26 (1) CallHal("FindService")
2022-02-14 11:10:26 (1) ENABLER: get functionality SERVICE_RESTAPI already resolved to 2

2022-02-14 11:10:26 (1) FindService(RESTAPI,) -> http(s)://18.156.208.209:443 for function DOOAUTHCHECKIFTOKENISVALID
2022-02-14 11:10:26 (1) M4USleep called on main thread: 100000
2022-02-14 11:10:26 (1) M4USleep called on main thread: 100000
2022-02-14 11:10:26 (1) TIMINGS: blocking slow web-call (2) to https://18.156.208.209:443/cloudcall took 0.2 seconds
2022-02-14 11:10:26 (1) backtrace called due to: slow webcall
2022-02-14 11:10:26 (1) -------------------- backtrace start -------------------------

...
[0x8d2f7e]
2022-02-14 11:10:26 (1) 19: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f00b5d5e555]
..
[0x4129ee]

2022-02-14 11:10:26 (1) --------------------- backtrace end --------------------------
2022-02-14 11:10:26 (1)
2022-02-14 11:10:26 (1) dump of call stack
2022-02-14 11:10:26 (1) 00007F00B3C71311 + 35413 amainhal/HTSTools3.hal: OAUTHCHECKIFTOKENISVALID
2022-02-14 11:10:26 (1) slot 4242844: clear
2022-02-14 11:10:26 (1) slot 4242844: allocated
2022-02-14 11:10:26 (1) slot 4242844: set usage to http
2022-02-14 11:10:26 (1) slot 4242844: set session to 29 from SetWebClArr
2022-02-14 11:10:26 (1) AD CallHal("EmailValidationStatusWithStdID")

2022-02-
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Reino Botha
Please check your version of android if it is the same as the server you are connecting too. ...
08:24 21 Nov 2024
Bror-Erik Kotiranta
In NC you hace operations>>ai chats. They are used for these Br, Bror-Erik...
05:12 21 Nov 2024