HTTP Resolver Failed - Expecting value: line 1 column 1 (char 0)

Hi,

I try deploy dockerized privacyIDEA version 3.9.3 along with my simple login_apps in a localhost,to understand how it works before implement in a production.

Scenario is : Both login_apps and privacyIDEA use same docker network, so they can communicate each other.

From inside privacyIDEA container, I did test to access login_apps API endpoint and successfully got response in json format as expected (as below picture).

image

However, it always failed from privacyIDEA webUI httpresolver menu.

I guess those failed is caused by “json parsing process”.

Kindly need advice.

Thanks & Regards,

Fandi

Hi Fandi,

did you had a look into the log file of privacyIDEA to determine what exactly is causing this error? You might need to switch the log level to debug to get more detailed information.

Just one thing I already recognized, in the request mapping, the left value is the attribute that should match to the user store and the right one that should be available in privacyIDEA. I think you defined it vice versa. Anyway, I think this is not the reason for the error.

Bests,
Jelina

Just a short comment. privacyIDEA 3.9 is rather outdated. You should also consider updating.

Hi Jelina,

From privacyIDEA container log, it show nothing.

I have try to switch request mapping variable, but error persists.

Hi @cornelinux ,

I use docker image base “khalibre/privacyidea:latest”. Any suggestion?

No. I do not know this.

I mean the privacyIDEA log not the container log. It is usually located under /var/log/privacyidea/privacyidea.log or check the location in the pi.cfg file.