{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/10013","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/10013/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/10013/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/10013/events","html_url":"https://github.com/meteor/meteor/issues/10013","id":334030238,"node_id":"MDU6SXNzdWUzMzQwMzAyMzg=","number":10013,"title":"Meteor.call doesn't get fired AT ALL neither on the client or on the server on the production server.","user":{"login":"NitroBAY","id":9869317,"node_id":"MDQ6VXNlcjk4NjkzMTc=","avatar_url":"https://avatars3.githubusercontent.com/u/9869317?v=4","gravatar_id":"","url":"https://api.github.com/users/NitroBAY","html_url":"https://github.com/NitroBAY","followers_url":"https://api.github.com/users/NitroBAY/followers","following_url":"https://api.github.com/users/NitroBAY/following{/other_user}","gists_url":"https://api.github.com/users/NitroBAY/gists{/gist_id}","starred_url":"https://api.github.com/users/NitroBAY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NitroBAY/subscriptions","organizations_url":"https://api.github.com/users/NitroBAY/orgs","repos_url":"https://api.github.com/users/NitroBAY/repos","events_url":"https://api.github.com/users/NitroBAY/events{/privacy}","received_events_url":"https://api.github.com/users/NitroBAY/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-06-20T11:10:55Z","updated_at":"2018-06-20T18:56:55Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nIn my app I've just deployed to servers with mup the sub in in 2 steps : first one subscribes through the form provided by AccountsTemplate (materialize) then he goes to a second page to finish his sign-up. Everything works on the client but on the server in a very unpredictable and unreliable way sometimes my method finishSignUp isn't called AT ALL. Neither on the server or on the client . No error is thrown (I even wrapped in a try/catch), when this weird state is triggered actually NO METEOR.CALL works even if I meteor call a method I know doesn't exist it doesn't throw any sort of error unlike when the website is in its normal state...\r\nI can't provide a reproduction as it's only in the remote server that it happens (I tried --production but I cannot reproduce the bug). I've been struggling this issue since yesterday, my clients are mad about me we've losed all our reputation and a lot of money on this, so I hope you'll care about my issue even though I cannot provide a repository.\r\nThe very ugly hack for now is reloading the entire page, it unlocks again the Meteor.call. Meteor status returns that I'm connected.\r\nServer doesn't log inhabitual things. I'm affected by the bug #6247. Unfortunately as I haven't received any support there (...) I did require('events').EventEmitter.defaultMaxListeners = Infinity; . I don't know if it's related. I'm still on 1.6 because of #9976 that breaks 1.7. I know there's a workaround but this is rather slow to apply and do I need to update ro receive support ? I have also the bug \" Error: The Mongo server and the Meteor query disagree on how many documents match your query. Maybe it is hitting a Mongo edge case? The query is: {}\" (#9619). I didn't track down the core of the issue as I'm not sure how to reproduce it nor I have the time to care about it.\r\nTo reproduce go to https://mesfichescrfpa.fr -> connectez-vous -> s'enregistrer (bottom of the card) -> you check stuff put your email password -> BUTTON \"S'ENREGISTRER\" -> you go to another page you select two random stuff in the top 2 select elements (procédure/specialité) -> then either it works and you're redirect to the home page. Or the button stay greyed out for an infinity of time....\r\nPackages\r\n\r\nmeteor-base@1.3.0            # Packages every Meteor app needs to have\r\nmobile-experience@1.0.5       # Packages for a great mobile UX\r\nmongo@1.4.2               # The database Meteor supports right now\r\nblaze-html-templates   # Compile .html files into Meteor Blaze views\r\nreactive-var@1.0.11            # Reactive variable for tracker\r\ntracker@1.1.3                # Meteor's client-side reactive programming library\r\n\r\nstandard-minifier-js@2.3.1    # JS minifier run for production mode\r\nes5-shim@4.7.0           # ECMAScript 5 compatibility for older browsers.\r\necmascript@0.10.6         # Enable ECMAScript2015+ syntax in app code\r\njquery@1.11.10                          # For easy DOM manipulation\r\n\r\naccounts-password@1.5.0\r\nkadira:flow-router\r\nkadira:blaze-layout\r\narillo:flow-router-helpers\r\nuseraccounts:flow-routing\r\nsoftwarerero:accounts-t9n\r\nground:db\r\nsession@1.1.7\r\nseba:minifiers-autoprefixer\r\narchive:jquery-dotdotdot\r\nrandom@1.1.0\r\nmomentjs:moment\r\nrzymek:moment-locale-fr\r\nunderscore@1.0.10\r\nfroatsnook:valid-email\r\nshell-server@0.3.1\r\nfourseven:scss\r\nmanuel:reactivearray\r\nmeteorhacks:picker\r\npromise@0.10.1\r\ncheck@1.3.0\r\nddp-rate-limiter@1.0.7\r\nraix:eventddp\r\nnpm-bcrypt@0.9.3\r\nkadira:dochead\r\ngadicohen:sitemaps\r\nblaze\r\ndynamic-import@0.3.0\r\nuseraccounts:materialize\r\nmaterialize:materialize\r\ntinymce\r\ntinymce-lineheight\r\nemail\r\n\r\nVersions\r\naccounts-base@1.4.2\r\naccounts-password@1.5.1\r\nallow-deny@1.1.0\r\narchive:jquery-dotdotdot@1.6.15\r\narillo:flow-router-helpers@0.5.2\r\nautoupdate@1.4.0\r\nbabel-compiler@7.0.9\r\nbabel-runtime@1.2.2\r\nbase64@1.0.11\r\nbinary-heap@1.0.10\r\nblaze@2.3.2\r\nblaze-html-templates@1.1.2\r\nblaze-tools@1.0.10\r\nboilerplate-generator@1.4.0\r\ncaching-compiler@1.1.12\r\ncaching-html-compiler@1.1.2\r\ncallback-hook@1.1.0\r\ncheck@1.3.1\r\ncoffeescript@1.0.17\r\nddp@1.4.0\r\nddp-client@2.3.2\r\nddp-common@1.4.0\r\nddp-rate-limiter@1.0.7\r\nddp-server@2.1.2\r\ndeps@1.0.12\r\ndiff-sequence@1.1.0\r\ndynamic-import@0.3.0\r\necmascript@0.10.9\r\necmascript-runtime@0.5.0\r\necmascript-runtime-client@0.6.2\r\necmascript-runtime-server@0.5.0\r\nejson@1.1.0\r\nemail@1.2.3\r\nes5-shim@4.7.3\r\nfourseven:scss@4.9.0\r\nfroatsnook:valid-email@1.0.0\r\ngadicohen:robots-txt@0.0.10\r\ngadicohen:sitemaps@0.0.26\r\ngeojson-utils@1.0.10\r\nground:db@2.0.0-rc.6\r\nhot-code-push@1.0.4\r\nhtml-tools@1.0.11\r\nhtmljs@1.0.11\r\nhttp@1.4.1\r\nid-map@1.1.0\r\njquery@1.11.10\r\nkadira:blaze-layout@2.3.0\r\nkadira:dochead@1.5.0\r\nkadira:flow-router@2.12.1\r\nlaunch-screen@1.1.1\r\nlivedata@1.0.18\r\nlocalstorage@1.2.0\r\nlogging@1.1.20\r\nmanuel:reactivearray@1.0.8\r\nmaterialize:materialize@0.100.2-1\r\nmeteor@1.8.6\r\nmeteor-base@1.3.0\r\nmeteorhacks:picker@1.0.3\r\nminifier-css@1.3.1\r\nminifier-js@2.3.5\r\nminimongo@1.4.4\r\nmobile-experience@1.0.5\r\nmobile-status-bar@1.0.14\r\nmodules@0.11.8\r\nmodules-runtime@0.9.2\r\nmomentjs:moment@2.22.1\r\nmongo@1.4.7\r\nmongo-dev-server@1.1.0\r\nmongo-id@1.0.7\r\nnpm-bcrypt@0.9.3\r\nnpm-mongo@2.2.34\r\nobserve-sequence@1.0.16\r\nordered-dict@1.1.0\r\npromise@0.10.2\r\nraix:eventddp@0.0.2\r\nraix:eventemitter@0.1.3\r\nraix:eventstate@0.0.4\r\nrandom@1.1.0\r\nrate-limit@1.0.9\r\nreactive-dict@1.2.0\r\nreactive-var@1.0.11\r\nreload@1.2.0\r\nretry@1.1.0\r\nroutepolicy@1.0.13\r\nrzymek:moment-locale-fr@2.14.1\r\nseba:minifiers-autoprefixer@1.0.1\r\nserver-render@0.3.1\r\nservice-configuration@1.0.11\r\nsession@1.1.7\r\nsha@1.0.9\r\nshell-server@0.3.1\r\nshim-common@0.1.0\r\nsocket-stream-client@0.1.0\r\nsoftwarerero:accounts-t9n@1.3.11\r\nspacebars@1.0.15\r\nspacebars-compiler@1.1.3\r\nsrp@1.0.10\r\nstandard-minifier-js@2.3.4\r\ntemplating@1.3.2\r\ntemplating-compiler@1.3.3\r\ntemplating-runtime@1.3.2\r\ntemplating-tools@1.1.2\r\ntinymce@4.7.13-2\r\ntinymce-lineheight@1.0.2\r\ntracker@1.1.3\r\nui@1.0.13\r\nunderscore@1.0.10\r\nurl@1.2.0\r\nuseraccounts:core@1.14.2\r\nuseraccounts:flow-routing@1.14.2\r\nuseraccounts:materialize@1.14.2\r\nwebapp@1.5.0\r\nwebapp-hashing@1.0.9\r\nzimme:active-route@2.3.2\r\n\r\nMethod : \r\n```\r\n  async 'User.finishSignUp'({ specialty, method, token, billingOption, couponName }) {\r\n    check(specialty, Number);\r\n    check(method, Number);\r\n    check(token, Match.Maybe(String));\r\n    check(billingOption, Match.Maybe(String));\r\n    console.log(this.userId);\r\n\r\n    const userId = this.userId;\r\n    const dataToInsert = {};\r\n    dataToInsert.specialty = specialty;\r\n    dataToInsert.method = method;\r\n    if (billingOption && couponName || (token && billingOption !== 'free')) {\r\n      _.extend(dataToInsert, await billing({ token, billingOption, couponName, method, specialty }));\r\n    }\r\n    Meteor.users.update(userId, { $set: dataToInsert });\r\n  },\r\n```\r\nI very desperately need your help, this is the worst scenario that happened for this deployment and the worst kind of bug (not sure how to reproduce, only happen on the remote server not on my development server).\r\nThanks,"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/398859359","html_url":"https://github.com/meteor/meteor/issues/10013#issuecomment-398859359","issue_url":"https://api.github.com/repos/meteor/meteor/issues/10013","id":398859359,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODg1OTM1OQ==","user":{"login":"larswolter","id":13793513,"node_id":"MDQ6VXNlcjEzNzkzNTEz","avatar_url":"https://avatars1.githubusercontent.com/u/13793513?v=4","gravatar_id":"","url":"https://api.github.com/users/larswolter","html_url":"https://github.com/larswolter","followers_url":"https://api.github.com/users/larswolter/followers","following_url":"https://api.github.com/users/larswolter/following{/other_user}","gists_url":"https://api.github.com/users/larswolter/gists{/gist_id}","starred_url":"https://api.github.com/users/larswolter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larswolter/subscriptions","organizations_url":"https://api.github.com/users/larswolter/orgs","repos_url":"https://api.github.com/users/larswolter/repos","events_url":"https://api.github.com/users/larswolter/events{/privacy}","received_events_url":"https://api.github.com/users/larswolter/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T18:56:55Z","updated_at":"2018-06-20T18:56:55Z","author_association":"NONE","body":"One reason could be a different method never returning, so everything gets stalled. you can monitor your websocket frames and find out which method call is the first one that does not receive an answer.  Probably not the one you are thinking of and maybe from a different package."}}
{"actor":{"display_login":"larswolter"}}