Closed stratospark closed 8 years ago
As a random note:
It seems that this app is trying to make a websocket connection to the host at rocket.chat
, but that will not work within the Sandstorm sandbox.
It send an initial anonymous ping for our stats... but that should not brake in cae is fail, let's fix that. Also, you can turn this off via environment variable.
If you can turn it off via env variable, then perhaps the best thing is to set that env variable in .sandstorm/sandstorm-pkgdef.capnp so that the Sandstorm build uses the same code to disable it as everyone else!
I tried "vagrant-spk dev" on my local machine with git checkout 0.16.0 and 0.17.0.
0.16.0 is working fine. 0.17.0 exhibits the same behavior as the downloaded release spk, stuck at "You must login" error.
Can you guys try this one? https://rocket.chat/releases/develop/spk
@engelgabriel This spk can be uploaded without the "Upload Failed" error. However, when starting a new grain, it still gets stuck at the "You must login screen"
@stratospark anything on the logs? @rodrigok any ideas what may have changed last week to cause that?
@engelgabriel
...** SANDSTORM SUPERVISOR: Starting up grain.
sandstorm/supervisor.c++:1156: warning: ip_tables kernel module not loaded; cannot set up transparent network forwarding.
** Starting Mongo...
2016-02-11T21:01:04.393+0000 I STORAGE Engine custom option: log=(prealloc=false,file_max=200KB)
about to fork child process, waiting until server is ready for connections.
forked process: 6
child process started successfully, parent exiting
** Starting Meteor...
Updating process.env.MAIL_URL
Updating process.env.MAIL_URL
Exception in queued task: Error: [CustomOAuth: Options.serverURL is required and must be String]
at CustomOAuth.configure (packages/rocketchat_custom-oauth/custom_oauth_server.coffee:28:21)
at Object.RocketChat.models.Settings.find.observe.added (packages/rocketchat_github-enterprise/common.coffee:19:22)
at [object Object].observeChangesCallbacks.added (packages/minimongo/observe.js:153:1)
at self.applyChange.added (packages/minimongo/observe.js:53:1)
at packages/mongo/observe_multiplex.js:183:1
at Array.forEach (native)
at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
at Object.task (packages/mongo/observe_multiplex.js:177:1)
at [object Object]._.extend._run (packages/meteor/fiber_helpers.js:147:1)
at packages/meteor/fiber_helpers.js:125:1
ufs: temp directory created at /tmp/ufs
configuring push
Using GridFS for Avatar storage
Updating login service CAS
➔ System ➔ startup
➔ +---------------------------------------+
➔ | SERVER RUNNING |
➔ +---------------------------------------+
➔ | |
➔ | Version: 0.17.0 |
➔ | Process Port: 8000 |
➔ | Site URL: http://127.0.0.1:8000 |
➔ | |
➔ +---------------------------------------+
startStreamBroadcast
{"line":"71","file":"percolate_synced-cron.js","message":"SyncedCron: Scheduled \"Generate and save statistics\" next run @Thu Feb 11 2016 21:01:25 GMT+0000 (UTC)","time":{"$date":1455224485670},"level":"info"}
I did git bisect
between 0.16.0 and 0.17.0, then ran vagrant-spk dev
on each commit. Here are the results:
git bisect start
# bad: [b2199a4df042b2503a2b38e34f1a05c1c36b8c42] version bump to 0.17.0
git bisect bad b2199a4df042b2503a2b38e34f1a05c1c36b8c42
# good: [546ad88ca071ac71f8d9d5508ab1954ff72cc54a] Fix auth shutdown to correct idle time (30 days)
git bisect good 546ad88ca071ac71f8d9d5508ab1954ff72cc54a
# bad: [486b1f66d2d3360e57517ee1cf25ec305419b603] Merge remote-tracking branch 'origin/develop' into improvements/logger
git bisect bad 486b1f66d2d3360e57517ee1cf25ec305419b603
# good: [e399653e6bd0d7fa053c82a8b8a3a2b52c7fae6e] Allow send hooks from a specific public channel
git bisect good e399653e6bd0d7fa053c82a8b8a3a2b52c7fae6e
# bad: [5a0af98e12970729b58385ef60afb2500b30d0e9] Add new logger types; Implement LoggerManager as an EventEmmiter; Filter logs by level; Improve log layout
git bisect bad 5a0af98e12970729b58385ef60afb2500b30d0e9
# bad: [04f013034a2c6bbf24a112097b29b97f2177aaad] Add some options to logger and use it in some places
git bisect bad 04f013034a2c6bbf24a112097b29b97f2177aaad
# bad: [6b8aed672537a227ef2ca46ec568a91f990c1273] Merge remote-tracking branch 'origin/develop' into improvements/logger
git bisect bad 6b8aed672537a227ef2ca46ec568a91f990c1273
# good: [83dc0b828ad4fc9f983c2fd7f64b13490e969a4e] Init the class Logger for server logging
git bisect good 83dc0b828ad4fc9f983c2fd7f64b13490e969a4e
# first bad commit: [6b8aed672537a227ef2ca46ec568a91f990c1273] Merge remote-tracking branch 'origin/develop' into improvements/logger
Do you see any error on the browser's console?
@engelgabriel Yes, here is the error for 6b8ae while it is stuck at a blank blue screen:
...** SANDSTORM SUPERVISOR: Starting up grain.
sandstorm/supervisor.c++:1156: warning: ip_tables kernel module not loaded; cannot set up transparent network forwarding.
** Starting Mongo...
2016-02-12T02:43:02.337+0000 I STORAGE Engine custom option: log=(prealloc=false,file_max=200KB)
about to fork child process, waiting until server is ready for connections.
forked process: 6
child process started successfully, parent exiting
** Starting Meteor...
Updating process.env.MAIL_URL
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
Updating login service Accounts_OAuth_Google
Updating login service Accounts_OAuth_Google_id
Updating login service Accounts_OAuth_Google_secret
stop rendering 794
Updating login service Accounts_OAuth_Linkedin
Updating login service Accounts_OAuth_Linkedin_id
Updating login service Accounts_OAuth_Linkedin_secret
Updating login service Accounts_OAuth_Meteor
Updating login service Accounts_OAuth_Meteor_id
Updating login service Accounts_OAuth_Meteor_secret
Updating login service Accounts_OAuth_Twitter
Updating login service Accounts_OAuth_Twitter_id
Updating login service Accounts_OAuth_Twitter_secret
Exception in queued task: Error: [CustomOAuth: Options.serverURL is required and must be String]
at CustomOAuth.configure (packages/rocketchat_custom-oauth/custom_oauth_server.coffee:28:21)
at Object.RocketChat.models.Settings.find.observe.added (packages/rocketchat_github-enterprise/common.coffee:19:22)
at [object Object].observeChangesCallbacks.added (packages/minimongo/observe.js:153:1)
at self.applyChange.added (packages/minimongo/observe.js:53:1)
at packages/mongo/observe_multiplex.js:183:1
at Array.forEach (native)
at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
at Object.task (packages/mongo/observe_multiplex.js:177:1)
at [object Object]._.extend._run (packages/meteor/fiber_helpers.js:147:1)
at packages/meteor/fiber_helpers.js:125:1
ufs: created tmpDir /tmp/ufs
stop rendering 639
Updating process.env.MAIL_URL
configuring push
Using GridFS for Avatar storage
stream error Network error: wss://rocket.chat/websocket: getaddrinfo ENOTFOUND
stream error Network error: wss://rocket.chat/websocket: getaddrinfo ENOTFOUND
stream error Network error: wss://rocket.chat/websocket: getaddrinfo ENOTFOUND
startStreamBroadcast
{"line":"71","file":"percolate_synced-cron.js","message":"SyncedCron: Scheduled \"Generate and save statistics\" next run @Fri Feb 12 2016 02:43:09 GMT+0000 (UTC)","time":{"$date":1455244989747},"level":"info"}
Updating login service Accounts_OAuth_Facebook
Updating login service Accounts_OAuth_Facebook_id
Updating login service Accounts_OAuth_Facebook_secret
Updating login service Accounts_OAuth_GitHub_Enterprise
Updating login service Accounts_OAuth_GitHub_Enterprise_id
Updating login service Accounts_OAuth_GitHub_Enterprise_secret
Updating login service Accounts_OAuth_Github
Updating login service Accounts_OAuth_Github_id
Updating login service Accounts_OAuth_Github_secret
Updating login service Accounts_OAuth_Gitlab
Updating login service Accounts_OAuth_Gitlab_id
Updating login service Accounts_OAuth_Gitlab_secret
Updating login service Accounts_OAuth_Google
Updating login service Accounts_OAuth_Google_id
Updating login service Accounts_OAuth_Google_secret
Updating login service Accounts_OAuth_Linkedin
Updating login service Accounts_OAuth_Linkedin_id
Updating login service Accounts_OAuth_Linkedin_secret
Updating login service Accounts_OAuth_Meteor
Updating login service Accounts_OAuth_Meteor_id
Updating login service Accounts_OAuth_Meteor_secret
Updating login service Accounts_OAuth_Twitter
Updating login service Accounts_OAuth_Twitter_id
Updating login service Accounts_OAuth_Twitter_secret
Updating login service Accounts_OAuth_Wordpress
Updating login service Accounts_OAuth_Wordpress_id
Updating login service Accounts_OAuth_Wordpress_secret
Updating login service SAML_Custom_default
stream error Network error: wss://rocket.chat/websocket: getaddrinfo ENOTFOUND
I meant the BROWSER console.. please talk to me at https://demo.rocket.chat/direct/gabriel.engel
Ok, here are the errors that I see in firefox:
In chrome, that "unreachable code" error doesn't show up:
I've got this on my console:
Error: failed [500] Error: Email doesn't match the criteria. [403]
at AccountsServer.defaultValidateNewUserHook (accounts_server.js:1299:11)
at accounts_server.js:1242:11
at Array.forEach (native)
at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
at AccountsServer.Ap.insertUserDoc (accounts_server.js:1241:5)
at AccountsServer.<anonymous> (server/lib/accounts.coffee:80:22)
at AccountsServer.insertUserDoc (packages/underscore/underscore.js:763:1)
at AccountsServer....
fixed
Current app store version is 0.14.0. The latest listed on https://rocket.chat/releases is 0.17.0
I tried testing the the downloaded sdk by uploading it to my local Sandstorm server.
I got this error:
After click around to other grains, the install screen suddenly showed up. I clicked install then started a new grain. It seems to be stuck here:
If I click debug log, I see: