Reproduce:
- Goto swi-prolog site
- Click login link in page footer
- click “sign in with “ + Google icon
- follow Google oauth until successful redirected can to swi
I expected to see the normal swi page I started on, and hopefully ability to comment on pages.
And on the visible page body I saw:
Internal server error
http_session `_1018’ does not exist
In:
[18] throw(error(existence_error(http_session,_1074),_1068))
[16] http_session:http_session_assert(ax(#{client_data: …,email:“j***@gmail.com”,email_verified:true,family_name:“Siddall”,given_name:“Joseph”,name:“Joseph Siddall”,picture:“…”,sub:“10…72”})) at /usr/lib/swipl/library/ext/http/http/http_session.pl:613
[15] google_client:create_user(#{client_data:_1214{return_to: /,stay:yes},email:“j***@gmail.com”,email_verified:true,family_name:“Siddall”,given_name:“Joseph”,name:“Joseph Siddall”,picture:“…”,sub:“10…72”}) at /srv/plweb/openid.pl:1030
[12] http_dispatch:call_action(google_client:oauth_handle_redirect,[protocol(http),…|…]) at /usr/lib/swipl/library/ext/http/http/http_dispatch.pl:1043
[10] time:run_alarm_goal(‘<garbage_collected>’,‘<garbage_collected>’) at /usr/lib/swipl/library/ext/clib/time.pl:163
[9] setup_call_cleanup(time:alarm(300,…,…,…),time:run_alarm_goal(…,…),time:remove_alarm_notrace(…)) at /usr/lib/swipl/boot/init.pl:682
[5] httpd_wrapper:call_handler(‘<garbage_collected>’,4858410,-) at /usr/lib/swipl/library/ext/http/http/http_wrapper.pl:327
[4] catch(httpd_wrapper:call_handler(…,4858410,-),_1434,httpd_wrapper:true) at /usr/lib/swipl/boot/init.pl:565
[3] httpd_wrapper:handler_with_output_to(http_dispatch:time_limit_action(…,…,…),4858410,-,current_output,_1494) at /usr/lib/swipl/library/ext/http/http/http_wrapper.pl:312
Note: some frames are missing due to last-call optimization.
Re-run your program in debug mode (:- debug.) to get more detail.
SWI-Prolog httpd at c764c0acaecc
