cpf.gov.sg login page does not load Topic is solved

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
franstam
Moon lover
Moon lover
Posts: 88
Joined: 2017-03-27, 10:16

cpf.gov.sg login page does not load

Unread post by franstam » 2021-03-07, 12:55

Hey guys,

could someone help on whats the issue with the site's login page? they recently rolled out a new fancy site (for what reason i have no idea the old version was working fine on pale moon.)

https://www.cpf.gov.sg/members
click on the top right login button. no need to login, the login page is blank with a top header singapore government agency website, then nothing else.

on the console i see a single error

Code: Select all

20:53:02.034 TypeError: l is null 1 spface.js:2:82543
	t.exports</t[5119]/< https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:82543
	t.exports</t[5119] https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:80807
	i https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:1694261
	t.exports</t[8327] https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:1609634
	i https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:1694261
	t.exports< https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:1694946
	<anonymous> https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:80772
	<anonymous> https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:80472
	<anonymous> https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:80457
	n https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:105
	<anonymous> https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:80357
	n https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:105
	<anonymous> https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:61614
	n https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:105
	<anonymous> https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:902
	<anonymous> https://bio-face.s3-ap-southeast-1.amazonaws.com/html5sdk/spface.js:2:2
what the heck is " TypeError: l is null "? :roll:

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2183
Joined: 2018-05-05, 13:29

Re: cpf.gov.sg login page does not load

Unread post by vannilla » 2021-03-07, 14:28

franstam wrote:
2021-03-07, 12:55

what the heck is " TypeError: l is null "? :roll:
Only the site admins will know. Try asking them; remember to include the error message.

User avatar
franstam
Moon lover
Moon lover
Posts: 88
Joined: 2017-03-27, 10:16

Re: cpf.gov.sg login page does not load

Unread post by franstam » 2021-03-07, 14:59

vannilla wrote:
2021-03-07, 14:28
franstam wrote:
2021-03-07, 12:55

what the heck is " TypeError: l is null "? :roll:
Only the site admins will know. Try asking them; remember to include the error message.
i tried using a brand new profile, same issue. are you getting a blank page too?

i'll go contact them. hopefully they are not gonna ask me to piss off and use a modern, secure mainstream browser like everyone else. :? :thumbdown:

User avatar
franstam
Moon lover
Moon lover
Posts: 88
Joined: 2017-03-27, 10:16

Re: cpf.gov.sg login page does not load

Unread post by franstam » 2021-04-12, 09:00

just to update.

they took 2 weeks to give me a reply back on a useless answer:

With regards to the error code you have encountered, kindly follow the steps below:

Ensure that you are using one of the supported browsers:

Internet Explorer 7 and above
Firefox 31 and above
Chrome 37 and above



Clear your browser’s cache and cookies before logging in. For your reference, I have included some information below for you to clear cache and cookies for the respective browsers:

Internet Explorer
Chrome
Firefox



Ensure your cookies are enabled after clearing the cache and cookies.

BULLSHIT. i told them specifically it was working before their website update on 7 march 2021 and they dont know what changes they rolled out to their website?

their own press release: https://www.tech.gov.sg/media/media-rel ... d-singpass

what should i do? can i ask them to escalate? it seems their level 1 support staff are not familiar with this and have no idea what is going on besides telling us to use mainstream browsers or piss off.

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 575
Joined: 2017-01-14, 02:40
Location: Philippines
Contact:

Re: cpf.gov.sg login page does not load

Unread post by FranklinDM » 2021-04-12, 09:38

The issue here might be one or more of the "modern browser technologies" that they now require, which are listed in this internal page.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35476
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: cpf.gov.sg login page does not load

Unread post by Moonchild » 2021-04-12, 10:54

FranklinDM wrote:
2021-04-12, 09:38
The issue here might be one or more of the "modern browser technologies" that they now require
if they claim to work on Firefox 31, they should most definitely work on Pale Moon.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
franstam
Moon lover
Moon lover
Posts: 88
Joined: 2017-03-27, 10:16

Re: cpf.gov.sg login page does not load

Unread post by franstam » 2021-04-13, 06:58

i'll ask them to escalate this, informing them that if firefox 31 is considered supported, pale moon should be.
its easily reproducible on a fresh profile, and attach that internal page that franklindm posted. thanks!

EDIT:
from that internal page, it seems that 'modern web technologies' have been implemented in the new webpage, namely i quote

Supported Browsers

SP Face's HTML5 Application requires modern browsers to be able to work due to making use of technologies WebRTC, WebGL, WebSockets and WebAssembly. See below for the full list of supported browsers and their minimum versions.


dangit. foiled by their attempt. seems like they dont like us Pale Moon folk? :crazy: :wtf: :shock: :(
Last edited by franstam on 2021-04-13, 10:14, edited 2 times in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35476
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: cpf.gov.sg login page does not load

Unread post by Moonchild » 2021-04-13, 07:18

FranklinDM wrote:
2021-04-12, 09:38
The issue here might be one or more of the "modern browser technologies" that they now require, which are listed in this internal page.
That page seems to also contradict itself. There, it lists Firefox 53+ for desktop, 68+ for Android. And further on it also lists that they use WebComponents but Firefox 53 also doesn't support that at all. So... what the hell would be going on there?

At the top though it says it requires WebRTC (I'm assuming because of wanting to use facial recognition "features"? On desktop...? :lol: ) -- if they hard require that for a login page then it won't work on Pale Moon.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
franstam
Moon lover
Moon lover
Posts: 88
Joined: 2017-03-27, 10:16

Re: cpf.gov.sg login page does not load

Unread post by franstam » 2021-04-15, 10:21

Moonchild wrote:
2021-04-13, 07:18
FranklinDM wrote:
2021-04-12, 09:38
The issue here might be one or more of the "modern browser technologies" that they now require, which are listed in this internal page.
That page seems to also contradict itself. There, it lists Firefox 53+ for desktop, 68+ for Android. And further on it also lists that they use WebComponents but Firefox 53 also doesn't support that at all. So... what the hell would be going on there?

At the top though it says it requires WebRTC (I'm assuming because of wanting to use facial recognition "features"? On desktop...? :lol: ) -- if they hard require that for a login page then it won't work on Pale Moon.
im not sure if the webdevs have any idea what they're doing tbh. anyways if they insist on implementing facial recognition on desktop like u said (they assume everyone on their laptop or mobile phone has a camera :roll: :crazy: :wtf:). i hate using my mobile for any of this junk. my phone is for calls/messages.

thanks for your reply, no need to escalate anything if not supported.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35476
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: cpf.gov.sg login page does not load

Unread post by Moonchild » 2021-04-15, 14:26

franstam wrote:
2021-04-15, 10:21
anyways if they insist on implementing facial recognition on desktop like u said
Well, if they include a module called "Face SP" that seems to be the case. Looks like they integrated a facial recognition something as part of their regular login page (presented to everyone) at the very least. I still think that is wrong and a bug so you could escalate that (and the fact that the module itself is contradicting itself in what is required and what makes sense) but that's up to you.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
franstam
Moon lover
Moon lover
Posts: 88
Joined: 2017-03-27, 10:16

Re: cpf.gov.sg login page does not load

Unread post by franstam » 2021-04-15, 16:13

Moonchild wrote:
2021-04-15, 14:26
franstam wrote:
2021-04-15, 10:21
anyways if they insist on implementing facial recognition on desktop like u said
Well, if they include a module called "Face SP" that seems to be the case. Looks like they integrated a facial recognition something as part of their regular login page (presented to everyone) at the very least. I still think that is wrong and a bug so you could escalate that (and the fact that the module itself is contradicting itself in what is required and what makes sense) but that's up to you.
yes, they do, facial recognition is the 2nd step after logging in with your regular username/password. they require either sms otp or facial recognition. previously they had a 2fa token but they've deprecated it in favor of making u scan a QR code to login with their dedicated phone app or jump through hoops with the above.

they deprecated the token 2fa recently during this website update.

would it still be considered a bug then with the above information?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35476
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: cpf.gov.sg login page does not load

Unread post by Moonchild » 2021-04-15, 17:10

franstam wrote:
2021-04-15, 16:13
would it still be considered a bug then with the above information?
I think it is. If they require one or the other second factor, then their login procedure must accept one of the two systems not being available. They should not impose requirements of both methods on clients logging in, when one of the two suffices.
if pale Moon provides everything necessary to input an SMS OTP (which it does) then the facial recognition module should not be required.

Technically speaking, I think it's a matter of just "assuming WebRTC is always available and enabled" and not handling an error state coming back from that module, which they should deal with to allow SMS OTP to work when the browser requirements for facial recognition fail to pass.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked