+ 5

403 Forbidden and session expired messages in Sololearn

I can't save an answer while properly signed into www.sololearn.com. Instead of saving an answer, it says my session expired and I need to sign in again. That message is weird when I can refresh my profile fine and see all my unpublished codes there. The browser's developer tools indicate a 403 response was returned.

15th Oct 2020, 6:10 PM
Josh Greig
Josh Greig - avatar
10 Respuestas
+ 7
I had also faced the similiar issue when working on my laptop. we need to sign in again every time we enter this website
15th Oct 2020, 6:16 PM
Kunal Chaudhari
Kunal Chaudhari - avatar
+ 8
Thanks for trying to help all you guys. It is resolved now. I marked one of Kunal's answers as the solution because Kunal might have run into the same weird bug-like situation. I just realized that I answered here proving that I can save an answer. lol It just matters what answer I'm saving. I also checked the network tab while trying to save the other problematic answer. I got HTML with the following content with the 403 HTTP response: " Please enable cookies. Sorry, you have been blocked You are unable to access sololearn.com Why have I been blocked? This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data. What can I do to resolve this? You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page. " The Ray ID and IP is omitted here in case it is to be kept private from the public. I guess the PHP I tried to add on https://www.sololearn.com/Discuss/2545217/please-explain-me-the-use-of-strpos was classified by Cloudflare to be dangerous so it was blocked. I left out the PHP snippet so it would get through.
16th Oct 2020, 5:49 AM
Josh Greig
Josh Greig - avatar
+ 7
Josh Greig I'm testing this on a new message post where I include the emoji after the open PHP tag: <?php 🤷‍♂️ phpinfo();
16th Oct 2020, 7:58 AM
David Carroll
David Carroll - avatar
+ 4
Are you keeping the website bookmarked and opening it or first searching and then signing in?
16th Oct 2020, 1:44 AM
Kunal Chaudhari
Kunal Chaudhari - avatar
+ 4
Josh Greig I had the same issue an hour ago where I figured out that adding any text after the open PHP tag will result in a misleading error message: "No Connection - Try Again" However, the message will go through if nothing comes after the open PHP tag, as seen here: <?php 🤷‍♂️ [Update] Interesting... it appears that I can add content after the open PHP tag if followed by an emoji in an existing message post.
16th Oct 2020, 7:51 AM
David Carroll
David Carroll - avatar
+ 4
David Carroll, yes it is weird. It would be nicer if they didn't do any checks like that or at least give a clear validation message.
16th Oct 2020, 7:59 PM
Josh Greig
Josh Greig - avatar
+ 4
Josh Greig I agree. It seems to be a recent change as well. I mentioned you in a code comment where I stumbled upon this similar problem, prior to seeing your post. But, I believe you use the web version which may not yet support code comments or mentions notifications yet. I can't wait for SoloLearn to release updates to the web version. Hopefully, that will be soon.
16th Oct 2020, 9:00 PM
David Carroll
David Carroll - avatar
+ 3
Kunal, I signed out, signed back in, and tried to answer a question again. It still failed the same way. It still shows the session expired message. My account is authenticated using facebook. Maybe that is important for reproducing the bug.
15th Oct 2020, 8:23 PM
Josh Greig
Josh Greig - avatar
+ 3
I have experienced several connectivity issues on Sololearn today after the recent UI improvement.
16th Oct 2020, 10:41 AM
Sonic
Sonic - avatar
0
Ok
17th Oct 2020, 2:13 PM
Benson Lisa Ana
Benson Lisa Ana - avatar