Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timezone breaks submission: "cannot read join of null. #6633

Closed
ghost opened this issue Feb 1, 2016 · 70 comments
Closed

Timezone breaks submission: "cannot read join of null. #6633

ghost opened this issue Feb 1, 2016 · 70 comments

Comments

@ghost
Copy link

ghost commented Feb 1, 2016

I cann't press the button "Submit and go to my next challenge (ctrl + enter)". But if I clicked I only see the infinite loading. How to solve this problem?
default

@AkiraLaine
Copy link
Member

What browser/OS are you using?

@AkiraLaine AkiraLaine added the status: blocked Is waiting on followup from either the Opening Poster of the issue or PR, or a maintainer. label Feb 1, 2016
@ghost
Copy link
Author

ghost commented Feb 1, 2016

Chrome

@AkiraLaine
Copy link
Member

What OS? Also, are you using a VPN?

@ghost
Copy link
Author

ghost commented Feb 1, 2016

Windows 7 Ultimate.No I'm not using

@AkiraLaine
Copy link
Member

Ok, I'm not sure how that happens...weird.

Cc: @BerkeleyTrue @QuincyLarson

@zelda322
Copy link

zelda322 commented Feb 1, 2016

i have same issue ( ( windows 7 , last chrome)

@AkiraLaine
Copy link
Member

I can confirm. I am having the same issue on some challenges.

EDIT: Not happening any more. What about you guys?

@AkiraLaine AkiraLaine added confirmed and removed status: blocked Is waiting on followup from either the Opening Poster of the issue or PR, or a maintainer. labels Feb 1, 2016
@zelda322
Copy link

zelda322 commented Feb 1, 2016

@AkiraLaine still not working

@QuincyLarson
Copy link
Contributor

I can't reproduce on latest Chrome with OSX. @AkiraLaine are you on Windows? Can anyone with Windows confirm this is still a problem?
@Park23 could you open up your browser console and take a screen shot of any errors you see? Also, which challenge are you experiencing this on?

@AkiraLaine
Copy link
Member

@QuincyLarson No I cannot reproduce it.

@ghost
Copy link
Author

ghost commented Feb 1, 2016

default

@bugron
Copy link
Contributor

bugron commented Feb 1, 2016

Also if you have this issue, please, comment here a screenshot of your browser's Network tab.

@zelda322
Copy link

zelda322 commented Feb 1, 2016

wtfcode

@bugron
Copy link
Contributor

bugron commented Feb 1, 2016

@Park23 is that all? Isn't there a POST request for /completed-challenge/?

@zelda322
Copy link

zelda322 commented Feb 1, 2016

@bugron it's all

@bugron
Copy link
Contributor

bugron commented Feb 1, 2016

@Park23 are you behind any VPN, anonymization soft, proxy, firewall? Are you browsing from your school/internet cafe/any other public place? Because they may have a firewall which is blocking your connection.

@zelda322
Copy link

zelda322 commented Feb 1, 2016

@bugron Just router in home, 2 hour later all was fine

@bugron
Copy link
Contributor

bugron commented Feb 1, 2016

@Park23 and the last question. Where are you located if you don't mind me asking? I recommend you to try this https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Using-browsec-for-securing-your-connection-to-fcc.

@zelda322
Copy link

zelda322 commented Feb 1, 2016

@bugron Middle Asia)

@evaristoc
Copy link
Contributor

tried the registration challenges: can't replicate, @bugron
Windows 10; Amsterdam; Google Chrome

I did notice a short delay though

@bugron
Copy link
Contributor

bugron commented Feb 1, 2016

@evaristoc I'm not able to repro too. Not sure what is the issue. I thought this is something related to their connection (kinda a VPN, firewall or proxy is blocking things) but I'm in doubt now after @Park23 said that there isn't a POST request for /completed-challenge/. When you click that button script makes a /completed-challenge/ POST request to send the completion data to the server. There is no such a request which means that something went wrong before a request has been made.

@evaristoc
Copy link
Contributor

That suggests that it could be broken at client...

@bugron we rencently introduced a change in the ga functionality (I wonder if that change is breaking the completion script...)

@bugron
Copy link
Contributor

bugron commented Feb 1, 2016

This is what I'm talking about (after clicking the button):

The emphasized redirection takes place only when that POST request is successful.
@evaristoc not sure if that is related to this issue.

@bugron
Copy link
Contributor

bugron commented Feb 1, 2016

I see that jQuery isn't loaded for @Park23. We send the POST request using jQuery's $.post so it will fail. @Park23 if you still have this issue try to find out why jQuery isn't loading.

@evaristoc
Copy link
Contributor

@bugron yes, I couldn't find any reason why the change to the ga functionality
could have broken the post request...

@danielnaid
Copy link

Hi guys! Same here with "submit and go to my next challenge" screen hanging. Everything was fine until now. Chrome/Windows 7. Can this be a server lagging?

@sukrosono
Copy link

😍 i also have some issue when using Chrome, which is got 404 when accessing npmcdn .
So this just happen in windows user?

@cannelflow
Copy link

happened to me also but i closed it and refreshed the page worked for me

@zhylninc
Copy link

zhylninc commented Feb 2, 2016

err:
win10+chrome

good:
win10+firefox

@zhylninc
Copy link

zhylninc commented Feb 2, 2016

#6642
only after landing

//! moment-timezone.js
//! version : 0.5.0
//! author : Tim Wood
//! license : MIT
//! github.com/moment/moment-timezone

vendor-main-00eff8238f.js:formatted:17423Uncaught TypeError: Cannot read property 'join' of null

function i(a) {
var b = a.toTimeString()
, c = b.match(/(.+)/);
c = c && c[0] ? c[0].match(/[A-Z]/g).join("") : b.match(/[A-Z]{3,5}/g)[0], //error line

@iritu
Copy link

iritu commented Feb 2, 2016

It stucks in this position, not working, for 2 days, tried in Edge and Chrome, nothing helps, it worked perfectly a few days ago so please don't blame my WIN10 or my computer it something to do with your system, please do check it.

1

@raisedadead
Copy link
Member

@iritu Can you use Firefox meanwhile? seems to have worked for others in the comments above.

@iritu
Copy link

iritu commented Feb 2, 2016

Yes, this is what I did, try to fix the problem with Chrome, please....Tnks.

@sebastian-kreft
Copy link

Firefox works for me. Waiting for Chrome fix, please :)

@ImSerenityADev
Copy link

There are 64 and 32 bit Chrome versions. Saw Windows 7 mentioned. Any of the posts mention/ include this info? (i.e., which version of Win7 ( (32/64) not sure that it would be relevant though)

@noncasus
Copy link

noncasus commented Feb 2, 2016

No issues here but I'm usually signed out so it could be that one must sign in to get past this issue.

Win10/Chrome 48.0.2564.97

@sukrosono
Copy link

@sebbe88 can you try with closing the tab and try again with chrome?
or try with signed out and sign in again?

@YangLeda
Copy link

YangLeda commented Feb 3, 2016

Same problem. I have 2 computuers at my home, windows7 + chrome / windows10 + edge. Both have the same problem. Home WiFi, no VPN. I'm in China. I haven't try firefox since I don't like it. Thanks a lot if anybody gonna fix this.

@aleksej3455
Copy link

same error appear, win 7 + chrome
made 112 challanges in one day, took 4 days break and - Uncaught TypeError: Cannot read property 'join' of null is what i have now

p,s: also everything works fine in chrome if you not loggedin in private mode

@BerkeleyTrue BerkeleyTrue changed the title I cann't press the button "Submit and go to my next challenge (ctrl + enter)" Timezone breaks submission: "cannot read join of null. Feb 3, 2016
@BerkeleyTrue
Copy link
Contributor

Thanks everyone for reporting. This is a bug in moment-timezones code. I'll put together a patch shortly while we wait for an official fix from them.

In the meantime please use FireFox.

@SaintPeter
Copy link
Member

Can everyone report if they have their OS language set to a non-English language and/or a non-western alphabet/character set (IE: Cyrillic)?

If so, does changing your language to english help?

@BerkeleyTrue
Copy link
Contributor

A patch is up on beta. Give it a try and report back.

@sukrosono
Copy link

@BerkeleyTrue will report if any user in gitter have this issue.

@BerkeleyTrue
Copy link
Contributor

A patch has been released to production. This patch will be removed when new version of moment-timezone is release with permanent fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests