Can't restart a process.

Brief description of your issue
When I run the program normally then I can restart any process running by user but in the system informer with admin rights in can't restart them.
Steps to reproduce (optional)
run the system informer and try to restart a user process.
Expected behavior (optional)
To restart the process even, I'm using system informer with admin rights.
Actual behavior (optional)
show's this message error : “Unable to restart process name (PID)”
“a required privilege is not held by client”
Environment (optional)
Nightly : 3.0.6390
Windows 10 : 10.0.19045 build 19045

Duplicate of #1621


Add pretty formatting to titles

The title pulled from the directory name or file name is prettified by removing "_" (underscores), "-" (dashes), ".md" (the extension) and any prefixed ordering numbers.

Thank you! And sorry for the delay.


Keycloak statefulsets spin up pod issue

In ticket #771 we needs to change statefulsets and restart keycloak pods to add new theme for login page.
During restart we noticed that it spin up only one pod and other pod keeps restarting, It failed with postgres driver error.

Note: It can be resolve by taking a look at log in detail but all other error start after on line "Stopped Driver service with driver-name = postgresql".
And just to verify that it's not an error with the new change that we want to merge.
We have checked out Prod statefulsets for keycloak and found the same issue occurred since the last update of openshift on 3rd Feb 2023.

Fixed on TEST.
Will try to fix the PROD during the deployment to PROD, this evening.

Fixed on PROD.
The workaround was to set Keycloak replicas to 0, wait for the pods to be terminated, and set replicas to 2 again.


Issue not fixed yet... #2505

Environment data

Language Server version: 2022.5.1
OS and version: Windows 10 pro 21H2
Python version (& distribution if applicable, e.g. Anaconda): Python 3.9.10

Actual behavior
@heejaechang @bgianfo that issue is not fixed yet

it creating delay in my work
i have to restart it again , then it got fixed...

@Zaeem20 can you provide some detail repro steps. I am not sure what you are asking.

hey i think i fixed it python.autoComplete.ExtraPaths...
yeah it working fine now....

also whenever i install new packages in workspace(no venv) using pip, it not recognizing it

but strange thing, it instantly detects any new package in virtual env @heejaechang

this issue is fixed now by adding autoComplete.extraPaths

But still getting "Select Python Interpreter" error
See this Logs:
Experiment 'pythonTensorboardExperiment' is active
Experiment 'pythonSurveyNotification' is active
Experiment 'PythonPyTorchProfiler' is active
Experiment 'pythonDeprecatePythonPath' is active
Experiment 'pythonInterpreterInfoPinned' is active
> conda info --json
> "~\AppData\Local\Programs\Python\Python39\python.exe" "~\.vscode\extensions\ms-python.python-2022.6.2\pythonFiles\get_output_via_markers.py" "~\.vscode\extensions\ms-python.python-2022.6.2\pythonFiles\interpreterInfo.py"
[ERROR 2022-4-20 20:2:58.147]: [Error: Command failed: "C:\Users\Zaeem Durani\AppData\Local\Programs\Python\Python39\python.exe" "c:\Users\Zaeem Durani\.vscode\extensions\ms-python.python-2022.6.2\pythonFiles\get_output_via_markers.py" "c:\Users\Zaeem Durani\.vscode\extensions\ms-python.python-2022.6.2\pythonFiles\interpreterInfo.py"

	at ChildProcess.exithandler (node:child_process:406:12)
	at ChildProcess.emit (node:events:390:28)
	at maybeClose (node:internal/child_process:1064:16)
	at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)] {
  killed: true,
  code: null,
  signal: 'SIGTERM',
  cmd: '"C:\\Users\\Zaeem Durani\\AppData\\Local\\Programs\\Python\\Python39\\python.exe" "c:\\Users\\Zaeem Durani\\.vscode\\extensions\\ms-python.python-2022.6.2\\pythonFiles\\get_output_via_markers.py" "c:\\Users\\Zaeem Durani\\.vscode\\extensions\\ms-python.python-2022.6.2\\pythonFiles\\interpreterInfo.py"'
}
Python interpreter path: ~\AppData\Local\Programs\Python\Python39\python.exe
Starting Pylance language server.
Diagnostic Code: InvalidPythonInterpreterDiagnostic, Message: No Python interpreter is selected. You need to select a Python interpreter to enable features such as IntelliSense, linting, and debugging.

@heejaechang @mattetti

how do i fix it

no reply yet @heejaechang

looking for reply, anyone???

But still getting "Select Python Interpreter" error

@Zaeem20, this appears to be an issue with the Python extension rather than Pylance. Looks like the same issue as https://github.com/microsoft/vscode-python/issues/19104. Please comment on that issue.
Btw, it's very confusing when you report multiple different problems in the same GitHub issue. It would be best to open a separate issue for each problem that you are seeing. It's easier for us to manage, easier for other users who are experiencing the same problem to find, etc.

this issue is fixed now by adding autoComplete.extraPaths

Thanks, closing this issue.


Missing cupertinoYankee/NSDate+CupertinoYankee.h

Hi guys,
Seems like something is wrong during installs.
Getting cupertinoYankee/NSDate+CupertinoYankee.h
Any ideas?

It seems that the dependency MSCollectionViewCalendarLayout removed Cupertino Yankee from its dependencies some point last year. You can work around this adding the following to your Podfile before LIYDateTimePicker:
pod 'MSCollectionViewCalendarLayout', '0.1.3'
Then re-run pod install.
I don't have time to fix the root cause now but if you want to submit a pull request feel free. Basically the podspec has to be updated to have an explicit dependency on Cupertino Yankee.


superannotate 4.4.21 depends on pre-release version of superannotate-schemas

When installing superannotate==4.4.21 using the uv pip package manager we get the following error message:
superannotate-schemas was requested with a pre-release marker (e.g., superannotate-schemas==1.0.47b5), but pre-releases weren't enabled (try: `--prerelease=allow`)

The problem exists for superannotate versions >= 4.4.18 (changed in this commit: 0c29c15c6747faec87de498772078b08bfe79df9)
On PyPI I can see that 1.0.47 (non-beta) is already released. Would it be possible to update to this version?
Due to how we package our own software enabling pre-releases would be a problem for us.

Thank you for opening the issue. The fix will be available on June 13 in version 4.4.22.


feat(remix-server-runtime): use an internal hash for the id in createMemorySessionStorage

In the future we plan to rename this to something more obvious it's only recommended for development and initial scaffolding. But we could also probably use the web crypto API for better unique IDs.


Added check-out page (Fixed issue #2108)

Fixes Issue
Closes #2108

Changes proposed

Screenshots

Note to reviewers

@codervivek5 your practice of labelling is not at all per our guidelines, kindly invite me to the repo


"ufw: command not found" in inspect.sh

When filing #630 I ran microk8s.inspect it produces an error at the end.
/snap/microk8s/743/inspect.sh: line 101: ufw: command not found
Building the report tarball

I'd expect the snap to bundle everything necessary to produce this report.

You are right we should not be showing this kind of errors: https://github.com/ubuntu/microk8s/blob/master/scripts/inspect.sh#L122
We try to be smart and suggest a fix to a common problem (firewall).


version 4.0.14

health check function can return text or Map

@acn-ericlaw Each service should provide a health check flow which may be configured to run during health check. What do you think?

Only service that has external dependency may need a health check function.


Unable to install Addon in Home Assistant

I added the "https://github.com/evcc-io/hassio-addon"-URL in the repository settings of Home Assistant 10.1.
In the Add-on Store i find the category "Evcc" but there are no addons available.
i did test a different version of Home Assistant -> same issue
Reboot -> same issue
Is this a known issue or what can i do to resolve this problem?
Thank you

Clear your browser cache, and ctrl+F5 your addon site.

Clear your browser cache, and ctrl+F5 your addon site.

Already did that. I even switched to different Browser in Privacy Tab. Same Problem

i installed a new Raspberry Pi 3 with:
Home Assistant 2023.5.2
Supervisor 2023.04.1
Operating System 10.1
Frontend 20230503.3 - latest
I added the repository and have the same Problem.

Add this:
https://github.com/evcc-io/hassio-addon

I did add this url from the beginning. I only tried the other url after you send me the screenshot.


Displayed new tool (asciiDoc) on Home

Displayed the new tool on the Home page and in Navbar's dropdown menu.

Also can you check and see why the checks are failing, and fix them? Thanks.


Redis::CannotConnectError: Error connecting to Redis when executing RAKE

Hi,
I have Redmine 4.0.2 running in Plesk and I am trying to install 2FA plugin (latest version).
I have already uploaded redmine_bots (latest version) into the plugins folder.
Bundle installation is without issues.
I am getting the below error when trying to rake:
redmine:plugins:migrate RAILS_ENV=production
So this is before even adding the redmine_2fa plugin to the plugins folder.
Can anyone help?
I, [2019-07-11T15:24:26.101988 #29156]  INFO -- : Celluloid 0.17.4 is running in BACKPORTED mode. [ http://git.io/vJf3J ] rake aborted! Redis::CannotConnectError: Error connecting to Redis on <IP_ADDRESS>:6379 (Errno::ECONNREFUSED) /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:362:in rescue in establish_connection'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:343:in establish_connection' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:106:in block in connect'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:306:in with_reconnect' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:105:in connect'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:381:in ensure_connected' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:231:in block in process'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:319:in logging' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:230:in process'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:125:in call' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis.rb:2166:in block in hget'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis.rb:52:in block in synchronize' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis.rb:52:in synchronize'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis.rb:2165:in hget' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:361:in block in status_from_redis'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.2.7/lib/sidekiq.rb:97:in block in redis' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:65:in block (2 levels) in with'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:64:in handle_interrupt' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:64:in block in with'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:61:in handle_interrupt' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:61:in with'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.2.7/lib/sidekiq.rb:94:in redis' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:360:in status_from_redis'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:272:in initialize' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:241:in new'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:241:in create' /var/www/vhosts/mywebsiteurl.com/httpdocs/plugins/redmine_bots/init.rb:29:in '
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:378:in block in require_or_load' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in block in load_interlock'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:14:in block in loading' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/concurrency/share_lock.rb:151:in exclusive'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:13:in loading' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in load_interlock'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:356:in require_or_load' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:334:in depend_on'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:246:in require_dependency' /var/www/vhosts/mywebsiteurl.com/httpdocs/plugins/redmine_2fa/init.rb:1:in '
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/lib/redmine/plugin.rb:173:in block in load' /var/www/vhosts/mywebsiteurl.com/httpdocs/lib/redmine/plugin.rb:164:in each'
/var/www/vhosts/mywebsiteurl.com/httpdocs/lib/redmine/plugin.rb:164:in load' /var/www/vhosts/mywebsiteurl.com/httpdocs/config/initializers/30-redmine.rb:21:in '
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in load' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in block in load'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in load'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:657:in block in load_config_initializer' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:170:in instrument'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:656:in load_config_initializer' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:614:in block (2 levels) in '
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in each' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in block in '
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in instance_exec' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in run'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:61:in block in run_initializers' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in each'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in tsort_each_child' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:60:in run_initializers'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/application.rb:361:in initialize!' /var/www/vhosts/mywebsiteurl.com/httpdocs/config/environment.rb:14:in '
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/application.rb:337:in require_environment!' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/application.rb:520:in block in run_tasks_blocks'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/rake-12.3.2/exe/rake:27:in `'
Caused by:
Errno::ECONNREFUSED: Connection refused - connect(2) for <IP_ADDRESS>:6379
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:187:in rescue in connect_addrinfo' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:179:in connect_addrinfo'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:220:in block in connect' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:218:in each'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:218:in each_with_index' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:218:in connect'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:317:in connect' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:349:in establish_connection'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:106:in block in connect' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:306:in with_reconnect'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:105:in connect' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:381:in ensure_connected'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:231:in block in process' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:319:in logging'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:230:in process' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:125:in call'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis.rb:2166:in block in hget' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis.rb:52:in block in synchronize'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis.rb:52:in synchronize' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis.rb:2165:in hget'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:361:in block in status_from_redis' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.2.7/lib/sidekiq.rb:97:in block in redis'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:65:in block (2 levels) in with' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:64:in handle_interrupt'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:64:in block in with' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:61:in handle_interrupt'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:61:in with' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.2.7/lib/sidekiq.rb:94:in redis'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:360:in status_from_redis' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:272:in initialize'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:241:in new' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:241:in create'
/var/www/vhosts/mywebsiteurl.com/httpdocs/plugins/redmine_bots/init.rb:29:in ' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:378:in block in require_or_load'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in block in load_interlock' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:14:in block in loading'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/concurrency/share_lock.rb:151:in exclusive' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:13:in loading'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in load_interlock' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:356:in require_or_load'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:334:in depend_on' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:246:in require_dependency'
/var/www/vhosts/mywebsiteurl.com/httpdocs/plugins/redmine_2fa/init.rb:1:in ' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/www/vhosts/mywebsiteurl.com/httpdocs/lib/redmine/plugin.rb:173:in block in load'
/var/www/vhosts/mywebsiteurl.com/httpdocs/lib/redmine/plugin.rb:164:in each' /var/www/vhosts/mywebsiteurl.com/httpdocs/lib/redmine/plugin.rb:164:in load'
/var/www/vhosts/mywebsiteurl.com/httpdocs/config/initializers/30-redmine.rb:21:in ' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in load'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in block in load' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in load' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:657:in block in load_config_initializer'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:170:in instrument' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:656:in load_config_initializer'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:614:in block (2 levels) in ' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in each'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in block in ' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in instance_exec'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in run' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:61:in block in run_initializers'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in each' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in tsort_each_child'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:60:in run_initializers' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/application.rb:361:in initialize!'
/var/www/vhosts/mywebsiteurl.com/httpdocs/config/environment.rb:14:in ' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/application.rb:337:in require_environment!'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/application.rb:520:in block in run_tasks_blocks' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/rake-12.3.2/exe/rake:27:in '
Caused by:
IO::EINPROGRESSWaitWritable: Operation now in progress - connect(2) would block
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:180:in connect_addrinfo' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:220:in block in connect'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:218:in each' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:218:in each_with_index'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:218:in connect' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/connection/ruby.rb:317:in connect'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:349:in establish_connection' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:106:in block in connect'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:306:in with_reconnect' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:105:in connect'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:381:in ensure_connected' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:231:in block in process'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:319:in logging' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:230:in process'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis/client.rb:125:in call' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis.rb:2166:in block in hget'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis.rb:52:in block in synchronize' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis.rb:52:in synchronize'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/redis-4.1.2/lib/redis.rb:2165:in hget' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:361:in block in status_from_redis'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.2.7/lib/sidekiq.rb:97:in block in redis' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:65:in block (2 levels) in with'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:64:in handle_interrupt' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:64:in block in with'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:61:in handle_interrupt' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/connection_pool-2.2.2/lib/connection_pool.rb:61:in with'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.2.7/lib/sidekiq.rb:94:in redis' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:360:in status_from_redis'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:272:in initialize' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:241:in new'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/sidekiq-cron-1.1.0/lib/sidekiq/cron/job.rb:241:in create' /var/www/vhosts/mywebsiteurl.com/httpdocs/plugins/redmine_bots/init.rb:29:in '
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:378:in block in require_or_load' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in block in load_interlock'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:14:in block in loading' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/concurrency/share_lock.rb:151:in exclusive'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:13:in loading' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in load_interlock'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:356:in require_or_load' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:334:in depend_on'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:246:in require_dependency' /var/www/vhosts/mywebsiteurl.com/httpdocs/plugins/redmine_2fa/init.rb:1:in '
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/lib/redmine/plugin.rb:173:in block in load' /var/www/vhosts/mywebsiteurl.com/httpdocs/lib/redmine/plugin.rb:164:in each'
/var/www/vhosts/mywebsiteurl.com/httpdocs/lib/redmine/plugin.rb:164:in load' /var/www/vhosts/mywebsiteurl.com/httpdocs/config/initializers/30-redmine.rb:21:in '
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in load' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in block in load'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in load'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:657:in block in load_config_initializer' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:170:in instrument'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:656:in load_config_initializer' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:614:in block (2 levels) in '
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in each' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in block in '
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in instance_exec' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in run'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:61:in block in run_initializers' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in each'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in tsort_each_child' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:60:in run_initializers'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/application.rb:361:in initialize!' /var/www/vhosts/mywebsiteurl.com/httpdocs/config/environment.rb:14:in '
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/application.rb:337:in require_environment!' /var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/application.rb:520:in block in run_tasks_blocks'
/var/www/vhosts/mywebsiteurl.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/rake-12.3.2/exe/rake:27:in `'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
`

When I remove redmine_bots plugin and try to install just the 2fa plugin I am also getting errors (the top one is obvious because it cannot find redmine_bots but why am I getting the other errors?
I have also tried older versions of the 2fa plugin (the ones that work with telegram) but I am getting comparable issues. I only need Google Authenticator, the sms and other options will not be used.
Can you help me?
rake aborted! LoadError: No such file to load -- /var/www/vhosts/somesite.site.com/httpdocs/plugins/redmine_bots/init.rb /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:378:in block in require_or_load'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in block in load_interlock' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:14:in block in loading'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/concurrency/share_lock.rb:151:in exclusive' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:13:in loading'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in load_interlock' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:356:in require_or_load'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:334:in depend_on' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:246:in require_dependency'
/var/www/vhosts/somesite.site.com/httpdocs/plugins/redmine_2fa/init.rb:1:in ' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/www/vhosts/somesite.site.com/httpdocs/lib/redmine/plugin.rb:173:in block in load'
/var/www/vhosts/somesite.site.com/httpdocs/lib/redmine/plugin.rb:164:in each' /var/www/vhosts/somesite.site.com/httpdocs/lib/redmine/plugin.rb:164:in load'
/var/www/vhosts/somesite.site.com/httpdocs/config/initializers/30-redmine.rb:21:in ' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in load'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in block in load' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in load' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:657:in block in load_config_initializer'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:170:in instrument' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:656:in load_config_initializer'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:614:in block (2 levels) in ' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in each'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in block in ' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in instance_exec'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in run' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:61:in block in run_initializers'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in each' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in tsort_each_child'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/initializable.rb:60:in run_initializers' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/application.rb:361:in initialize!'
/var/www/vhosts/somesite.site.com/httpdocs/config/environment.rb:14:in ' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in block in require' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in load_dependency'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in require' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/application.rb:337:in require_environment!'
/var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/railties-5.2.2/lib/rails/application.rb:520:in block in run_tasks_blocks' /var/www/vhosts/somesite.site.com/httpdocs/vendor/bundle/ruby/2.4.0/gems/rake-12.3.2/exe/rake:27:in '
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)`
For your info, I am running
Ruby 2.4.4-p296
Rails 5.2.2

any update for this issue, i'm facinh the same issue

You need to install Redis, as it's required by Sidekiq. It's mentioned in Readme now: https://github.com/southbridgeio/redmine_bots/commit/796c0cf7af53a356c52f8cfa7ced21a576510a5f


Formatter doesn't deindent HEREDOC literals

require "spec"

describe "top" do
  it "third" do
    output.should eq(<<-XML
      <?xml version="1.0" encoding="UTF-8"?>
      <root>
        <foo>x</foo>
        <foo/>
      </root>\n
      XML
    )
  end
end

If you were to remove the it block it gets formatted to:
require "spec"

describe "top" do
  output.should eq(<<-XML
      <?xml version="1.0" encoding="UTF-8"?>
      <root>
        <foo>x</foo>
        <foo/>
      </root>\n
      XML
  )
end

I would have expected the HEREDOC body to also be de-indented by 2 spaces.

I think the expected behaviour is what it should be. It's not hard to fix (I already have a patch that even simplifies the entire fix_heredocs method).
An obvious follow-up question: what if it's the other way around and indent increases?
begin
foo <<-FOO
  bar
  FOO
end

Most would probably expect that to become:
begin
  foo <<-FOO
    bar
    FOO
end

We can do that and keep the relative difference between the indents of the start and end delimiter lines. This would only be limited by the amount of available leading whitespace. If a negative difference is larger than the end delimiter's indent, the here doc can only be shifted left to column 1.
Maybe the heredoc's base indent should also be adjusted by the formatted, but that's a separate discussion (#11070).

However, there is also the question of what the heredoc indent is relative to.
# What is the heredoc body relative to?
foo  <<-FOO
  bar
  FOO
# indent of the start delimiter line
foo <<-FOO
  bar
  FOO
# column of the start delimiter
foo <<-FOO
 bar
 FOO

fix_heredocs is entirely broken for consecutive heredoc literals which all start on the same line. The formatter assumes the start delimiter is in lines[fix.start_line - 1] which is not true in cases like this:
foo <<-FOO, <<-BAR
   foo
  FOO
   bar
  BAR


Create default implementation for FederationApi

Currently it's annoying to have to update 4 implementations when we add a new function to FederationApi.  We'd like to refactor the test fixtures perhaps in FakeFederation to avoid this.
See more ideas here:
https://github.com/fedimint/fedimint/pull/348#discussion_r942724679

Maybe what we actually want is a single trait function call(path: &str, arg: serde_json::Value) -> serde_json::Value that has to be implemented and then just impl the remaining functions as default impls or even completely outside the trait like for Database?
https://github.com/fedimint/fedimint/blob/f574584e11dd81bec0b3443eaba3e92ce7314f8c/minimint-api/src/db/mod.rs#L54-L70

With recent changes FedimintApi is method-based, so this is no longer necessary.


Debug output no longer showing in console

VSCode Version: 1.9.0
OS Version: Windows 10

Steps to Reproduce:

Launch debug task
Watch debug console

The new update appears to have broken the debug output.  Previously we would get the following when launching the debug task:
node --inspect=30770 --debug-brk --nolazy debugall.js
Debugger listening on port 30770.
Warning: This is an experimental feature and could change at any time.

This would then be followed by the normal debug output from our project. Now when we run the debug task, the above is the only thing showing in the debug console. The application functions normally so it is running, but no output is shown.
launch.json:
{
  "version": "0.1.0",
  "configurations": [
    {
      "name": "Debug All",
      "type": "node2",
      "program": "${workspaceRoot}/debugall.js",
      "stopOnEntry": false,
      "args": [],
      "cwd": "${workspaceRoot}/",
      "runtimeExecutable": null,
      "runtimeArgs": [
        "--nolazy"
      ],
      "env": {
        "NODE_ENV": "development",
        "LOGSQL": "false",
        "USE_COMPRESSION": "false",
      },
      "sourceMaps": false,
      "outDir": null,
      "console": "internalConsole"
    }
  ]
}

Note: if you change to "console": "integratedTerminal" it works fine

The issue is also present on Mac

+1, this only happens when using node2. When switching to node, the problem does not appear.

Assigning to @roblourens to do an initial investigation since it only happens with node2

Which version of node?
Can you set "diagnosticLogging": true and try again? It will print a path to a log file at the top of the debug console. Can you upload that log file?

7.5.0
http://pastebin.com/WA9mDVLJ

Thanks, I'm looking for the full log though Verbose logs are written to ...
Do the messages show up in chrome devtools? If you debug with node --inspect ...

This is what I've just uploaded. This is the file. I'm not using chrome-debug here. I'm not sure what you mean with the last question. If you want to know if there is any output when I run the application with node --inspect, yes there is.

I can confirm it's only using node2 and not with node.
$ node -v
v6.9.1

Running the task with "diagnosticLogging": true:
Verbose logs are written to C:\Users\JFORSY~1\AppData\Local\Temp\vscode-node-debug2.txt
4:44:18 PM, 2/6/2017
OS: win32 ia32
Adapter node: v6.5.0 ia32
vscode-chrome-debug-core: 3.11.7
node-debug2: 1.9.12
node --inspect=37775 --debug-brk --nolazy c:\dev\SenSourceOne/debugall.js
Discovering targets via http://<IP_ADDRESS>:37775/json
Debugger listening on port 37775.
Warning: This is an experimental feature and could change at any time.
Paused on entry
Target node version: v6.9.1 x64

The debug file has some potentially sensitive information in it, so I won't post the full thing (I can email if you'd like) but the important bits, I think, are here:
Verbose logs are written to C:\Users\JFORSY~1\AppData\Local\Temp\vscode-node-debug2.txt
4:44:18 PM, 2/6/2017
OS: win32 ia32
Adapter node: v6.5.0 ia32
vscode-chrome-debug-core: 3.11.7
node-debug2: 1.9.12
From client: initialize({"adapterID":"node2","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true})
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"exceptionBreakpointFilters":[{"label":"All Exceptions","filter":"all","default":false},{"label":"Uncaught Exceptions","filter":"uncaught","default":true}],"supportsConfigurationDoneRequest":true,"supportsSetVariable":true,"supportsConditionalBreakpoints":true,"supportsCompletionsRequest":true,"supportsHitConditionalBreakpoints":true,"supportsRestartFrame":true}}
From client: launch({"name":"Debug All","type":"node2","diagnosticLogging":true,"request":"launch","stopOnEntry":false,"args":["c:\\dev\\project/debugall.js"],"cwd":"c:\\dev\\project/","preLaunchTask":null,"runtimeExecutable":null,"runtimeArgs":["--nolazy"],"env":{"NODE_ENV":"development","LOGSQL":"false","USE_COMPRESSION":"false","ENABLE_DEV_DOMAIN":"true","LOCALS3":"false","LOCALFS":"false"},"sourceMaps":false,"outDir":null,"console":"internalConsole","skipFiles":["<node_internals>/**","**/node_modules/**"]})
Discovering targets via http://<IP_ADDRESS>:37775/json
Attaching to target: {"description":"node.js instance","devtoolsFrontendUrl":"https://chrome-devtools-frontend.appspot.com/serve_file/@60cd6e859b9f557d2312f5bf532f6aec5f284980/inspector.html?experiments=true&v8only=true&ws=localhost:37775/8f0f49c1-590c-47a3-94f5-0373bc99b8b5","faviconUrl":"https://nodejs.org/static/favicon.ico","id":"8f0f49c1-590c-47a3-94f5-0373bc99b8b5","title":"c:_dev_SenSourceOne/debugall.js","type":"node","url":"file://C:_dev_project_debugall.js","webSocketDebuggerUrl":"ws://<IP_ADDRESS>:37775/8f0f49c1-590c-47a3-94f5-0373bc99b8b5"}
WebSocket Url: ws://<IP_ADDRESS>:37775/8f0f49c1-590c-47a3-94f5-0373bc99b8b5
To target: "{\"id\":1,\"method\":\"Debugger.setBlackboxPatterns\",\"params\":{\"patterns\":[\"(.*[\\\\/\\\\\\\\])?node_modules[\\\\/\\\\\\\\](.*[\\\\/\\\\\\\\])?\",\"^(?!\\\\/)(?![a-zA-Z]:)(.*[\\\\/\\\\\\\\])?\"]}}"
To target: "{\"id\":2,\"method\":\"Console.enable\"}"
To target: "{\"id\":3,\"method\":\"Debugger.enable\"}"
To target: "{\"id\":4,\"method\":\"Runtime.enable\"}"
To target: "{\"id\":5,\"method\":\"Runtime.runIfWaitingForDebugger\"}"
To target: "{\"id\":6,\"method\":\"Runtime.run\"}"
From target: {"id":1,"result":{}}
From target: {"id":2,"result":{}}
From target: {"id":3,"result":{}}
From target: {"method":"Runtime.executionContextCreated","params":{"context":{"id":1,"origin":"","name":"NodeJS Main Context"}}}
From target: {"id":4,"result":{}}
From target: {"id":5,"result":{}}
From target: {"error":{"code":-32601,"message":"'Runtime.run' wasn't found"},"id":6}
To target: "{\"id\":7,\"method\":\"Runtime.evaluate\",\"params\":{\"expression\":\"[process.pid, process.version, process.arch]\",\"returnByValue\":true,\"contextId\":1}}"
To client: {"seq":0,"type":"response","request_seq":2,"command":"launch","success":true}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"43","url":"bootstrap_node.js","startLine":0,"startColumn":0,"endLine":511,"endColumn":0,"executionContextId":1,"hash":"ACC5FC93EBC03965891A7B76D65D5EC42EB55E82","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"45","url":"","startLine":0,"startColumn":0,"endLine":0,"endColumn":44,"executionContextId":1,"hash":"22960EE2CC885872F71ED2E747A68B200282CC65","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"id":7,"result":{"result":{"type":"object","subtype":"error","className":"ReferenceError","description":"ReferenceError: process is not defined\n    at \u003Canonymous\u003E:1:2\n    at bootstrap_node.js:1:1","objectId":"{\"injectedScriptId\":1,\"id\":1}"},"exceptionDetails":{"exceptionId":1,"text":"Uncaught","lineNumber":0,"columnNumber":1,"scriptId":"45","stackTrace":{"callFrames":[{"functionName":"","scriptId":"45","url":"","lineNumber":0,"columnNumber":1},{"functionName":"","scriptId":"43","url":"bootstrap_node.js","lineNumber":0,"columnNumber":0}]},"exception":{"type":"object","subtype":"error","className":"ReferenceError","description":"ReferenceError: process is not defined\n    at \u003Canonymous\u003E:1:2\n    at bootstrap_node.js:1:1","objectId":"{\"injectedScriptId\":1,\"id\":2}"}}}}
Got expected exception: `process is not defined`. Will try again later.
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"46","url":"events.js","startLine":0,"startColumn":0,"endLine":483,"endColumn":3,"executionContextId":1,"hash":"2079B9E3C9B84A4288F47F5531D9546816946054","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"47","url":"util.js","startLine":0,"startColumn":0,"endLine":1056,"endColumn":3,"executionContextId":1,"hash":"60453D708420B9B69FB9E7D4037748F1141CB272","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"48","url":"buffer.js","startLine":0,"startColumn":0,"endLine":1344,"endColumn":3,"executionContextId":1,"hash":"AAD441B347D9863975EF55B231FCDDD2ACB26B65","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"49","url":"internal/util.js","startLine":0,"startColumn":0,"endLine":168,"endColumn":3,"executionContextId":1,"hash":"6C92DF6384FC749A971ADFB6D252E5CAB1D4F883","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"50","url":"timers.js","startLine":0,"startColumn":0,"endLine":718,"endColumn":3,"executionContextId":1,"hash":"A4226291250E4D4006474285058AF9EB6E1C0520","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"51","url":"internal/linkedlist.js","startLine":0,"startColumn":0,"endLine":72,"endColumn":3,"executionContextId":1,"hash":"C9B003D0A94D6420CFF22A00EAEB23D947FAA760","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"52","url":"assert.js","startLine":0,"startColumn":0,"endLine":372,"endColumn":3,"executionContextId":1,"hash":"CBAC7782F03628433FAF7EB49B2B45A4745166C3","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"53","url":"internal/process.js","startLine":0,"startColumn":0,"endLine":252,"endColumn":3,"executionContextId":1,"hash":"CE9F3E60D93CBBB954B38AD56845AD77CBDC6FE2","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"54","url":"internal/process/warning.js","startLine":0,"startColumn":0,"endLine":50,"endColumn":3,"executionContextId":1,"hash":"539015137923A6348BA33CE0B81DFFF54211A1A0","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"55","url":"internal/process/next_tick.js","startLine":0,"startColumn":0,"endLine":158,"endColumn":3,"executionContextId":1,"hash":"B8CBC4126F5C1951A454D4F64DC68E872ABA0E37","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"56","url":"internal/process/promises.js","startLine":0,"startColumn":0,"endLine":77,"endColumn":3,"executionContextId":1,"hash":"16F634A161C02BF8E72355F5D2B0397CCCB944B4","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"57","url":"internal/process/stdio.js","startLine":0,"startColumn":0,"endLine":176,"endColumn":3,"executionContextId":1,"hash":"D060A290AD916B0296AD4F8351EEA1A5BB6CD143","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"58","url":"path.js","startLine":0,"startColumn":0,"endLine":1598,"endColumn":3,"executionContextId":1,"hash":"D75D8992EB9A8DD54ADF5EC62AF90684DB174F03","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"59","url":"module.js","startLine":0,"startColumn":0,"endLine":668,"endColumn":3,"executionContextId":1,"hash":"BCAB2D7041B142E78572F7025028086A6EEE0165","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"60","url":"internal/module.js","startLine":0,"startColumn":0,"endLine":97,"endColumn":3,"executionContextId":1,"hash":"A799FB00D3EECEA0E36238210812CBD6D68533B6","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"61","url":"vm.js","startLine":0,"startColumn":0,"endLine":105,"endColumn":3,"executionContextId":1,"hash":"B4F6B9D140C54AC0002962F54D66A389D75DBAA0","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"62","url":"fs.js","startLine":0,"startColumn":0,"endLine":2243,"endColumn":3,"executionContextId":1,"hash":"B75B8D128AFCB417EB1101F7686665B357CA0508","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"63","url":"stream.js","startLine":0,"startColumn":0,"endLine":108,"endColumn":3,"executionContextId":1,"hash":"4EA8A5B1EFFACB02F4F714F611015942BFA250B5","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"64","url":"_stream_readable.js","startLine":0,"startColumn":0,"endLine":977,"endColumn":3,"executionContextId":1,"hash":"257A3951AF5BDDC09A213D96006D4CEB93C66587","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"65","url":"internal/streams/BufferList.js","startLine":0,"startColumn":0,"endLine":73,"endColumn":3,"executionContextId":1,"hash":"A7683B52CD6F6299B8D6DF70EF9B54E9CAE2BC96","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"66","url":"_stream_writable.js","startLine":0,"startColumn":0,"endLine":557,"endColumn":3,"executionContextId":1,"hash":"38172B63B6EBD73281233F759E50F47B6D60D754","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"67","url":"_stream_duplex.js","startLine":0,"startColumn":0,"endLine":58,"endColumn":3,"executionContextId":1,"hash":"5E476583F40B11B912420FD1AC4295F8C71738F2","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"68","url":"_stream_transform.js","startLine":0,"startColumn":0,"endLine":193,"endColumn":3,"executionContextId":1,"hash":"D99FBE9083ADCBA4CD40A7815E34A88A3D75CB45","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"69","url":"_stream_passthrough.js","startLine":0,"startColumn":0,"endLine":23,"endColumn":3,"executionContextId":1,"hash":"122E62B378B03CAABE23C6A421ED869B93DBE6E1","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"70","url":"c:\\dev\\project\\debugall.js","startLine":0,"startColumn":0,"endLine":18,"endColumn":3,"executionContextId":1,"hash":"F85EFFB1344347A96F0220C093ACC64AD682D1D4","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"method":"Debugger.paused","params":{"callFrames":[{"callFrameId":"{\"ordinal\":0,\"injectedScriptId\":1}","functionName":"","functionLocation":{"scriptId":"70","lineNumber":0,"columnNumber":10},"location":{"scriptId":"70","lineNumber":0,"columnNumber":62},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":3}"},"startLocation":{"scriptId":"70","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"70","lineNumber":18,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":4}"}}],"this":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":5}"}},{"callFrameId":"{\"ordinal\":1,\"injectedScriptId\":1}","functionName":"Module._compile","functionLocation":{"scriptId":"59","lineNumber":509,"columnNumber":36},"location":{"scriptId":"59","lineNumber":569,"columnNumber":31},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":6}"},"name":"Module._compile","startLocation":{"scriptId":"59","lineNumber":509,"columnNumber":36},"endLocation":{"scriptId":"59","lineNumber":572,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":7}"},"startLocation":{"scriptId":"59","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"59","lineNumber":668,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":8}"}}],"this":{"type":"object","className":"Module","description":"Module","objectId":"{\"injectedScriptId\":1,\"id\":9}"}},{"callFrameId":"{\"ordinal\":2,\"injectedScriptId\":1}","functionName":"Module._extensions..js","functionLocation":{"scriptId":"59","lineNumber":576,"columnNumber":36},"location":{"scriptId":"59","lineNumber":578,"columnNumber":9},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":10}"},"name":"Module._extensions..js","startLocation":{"scriptId":"59","lineNumber":576,"columnNumber":36},"endLocation":{"scriptId":"59","lineNumber":579,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":11}"},"startLocation":{"scriptId":"59","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"59","lineNumber":668,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":12}"}}],"this":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":13}"}},{"callFrameId":"{\"ordinal\":3,\"injectedScriptId\":1}","functionName":"Module.load","functionLocation":{"scriptId":"59","lineNumber":477,"columnNumber":32},"location":{"scriptId":"59","lineNumber":486,"columnNumber":31},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":14}"},"name":"Module.load","startLocation":{"scriptId":"59","lineNumber":477,"columnNumber":32},"endLocation":{"scriptId":"59","lineNumber":488,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":15}"},"startLocation":{"scriptId":"59","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"59","lineNumber":668,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":16}"}}],"this":{"type":"object","className":"Module","description":"Module","objectId":"{\"injectedScriptId\":1,\"id\":17}"}},{"callFrameId":"{\"ordinal\":4,\"injectedScriptId\":1}","functionName":"tryModuleLoad","functionLocation":{"scriptId":"59","lineNumber":442,"columnNumber":22},"location":{"scriptId":"59","lineNumber":445,"columnNumber":11},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":18}"},"name":"tryModuleLoad","startLocation":{"scriptId":"59","lineNumber":442,"columnNumber":22},"endLocation":{"scriptId":"59","lineNumber":452,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":19}"},"startLocation":{"scriptId":"59","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"59","lineNumber":668,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":20}"}}],"this":{"type":"undefined"}},{"callFrameId":"{\"ordinal\":5,\"injectedScriptId\":1}","functionName":"Module._load","functionLocation":{"scriptId":"59","lineNumber":411,"columnNumber":23},"location":{"scriptId":"59","lineNumber":437,"columnNumber":2},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":21}"},"name":"Module._load","startLocation":{"scriptId":"59","lineNumber":411,"columnNumber":23},"endLocation":{"scriptId":"59","lineNumber":440,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":22}"},"startLocation":{"scriptId":"59","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"59","lineNumber":668,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":23}"}}],"this":{"type":"function","className":"Function","description":"function Module(id, parent) {\n  this.id = id;\n  this.exports = {};\n  this.parent = parent;\n  if (parent && parent.children) {\n    parent.children.push(this);\n  }\n\n  this.filename = null;\n  this.loaded = false;\n  this.children = [];\n}","objectId":"{\"injectedScriptId\":1,\"id\":24}"}},{"callFrameId":"{\"ordinal\":6,\"injectedScriptId\":1}","functionName":"Module.runMain","functionLocation":{"scriptId":"59","lineNumber":601,"columnNumber":25},"location":{"scriptId":"59","lineNumber":603,"columnNumber":9},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":25}"},"name":"Module.runMain","startLocation":{"scriptId":"59","lineNumber":601,"columnNumber":25},"endLocation":{"scriptId":"59","lineNumber":606,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":26}"},"startLocation":{"scriptId":"59","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"59","lineNumber":668,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":27}"}}],"this":{"type":"object","className":"Timeout","description":"Timeout","objectId":"{\"injectedScriptId\":1,\"id\":28}"}},{"callFrameId":"{\"ordinal\":7,\"injectedScriptId\":1}","functionName":"ontimeout","functionLocation":{"scriptId":"50","lineNumber":360,"columnNumber":18},"location":{"scriptId":"50","lineNumber":364,"columnNumber":13},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":29}"},"name":"ontimeout","startLocation":{"scriptId":"50","lineNumber":360,"columnNumber":18},"endLocation":{"scriptId":"50","lineNumber":382,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":30}"},"startLocation":{"scriptId":"50","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"50","lineNumber":718,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":31}"}}],"this":{"type":"undefined"}},{"callFrameId":"{\"ordinal\":8,\"injectedScriptId\":1}","functionName":"tryOnTimeout","functionLocation":{"scriptId":"50","lineNumber":232,"columnNumber":21},"location":{"scriptId":"50","lineNumber":236,"columnNumber":4},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":32}"},"name":"tryOnTimeout","startLocation":{"scriptId":"50","lineNumber":232,"columnNumber":21},"endLocation":{"scriptId":"50","lineNumber":250,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":33}"},"startLocation":{"scriptId":"50","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"50","lineNumber":718,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":34}"}}],"this":{"type":"undefined"}},{"callFrameId":"{\"ordinal\":9,\"injectedScriptId\":1}","functionName":"listOnTimeout","functionLocation":{"scriptId":"50","lineNumber":160,"columnNumber":22},"location":{"scriptId":"50","lineNumber":206,"columnNumber":4},"scopeChain":[{"type":"local","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":35}"},"name":"listOnTimeout","startLocation":{"scriptId":"50","lineNumber":160,"columnNumber":22},"endLocation":{"scriptId":"50","lineNumber":227,"columnNumber":1}},{"type":"closure","object":{"type":"object","className":"Object","description":"Object","objectId":"{\"injectedScriptId\":1,\"id\":36}"},"startLocation":{"scriptId":"50","lineNumber":0,"columnNumber":10},"endLocation":{"scriptId":"50","lineNumber":718,"columnNumber":1}},{"type":"global","object":{"type":"object","className":"global","description":"global","objectId":"{\"injectedScriptId\":1,\"id\":37}"}}],"this":{"type":"object","className":"Timer","description":"Timer","objectId":"{\"injectedScriptId\":1,\"id\":38}"}}],"reason":"other","hitBreakpoints":[]}}
Paused on entry
To target: "{\"id\":8,\"method\":\"Runtime.evaluate\",\"params\":{\"expression\":\"[process.pid, process.version, process.arch]\",\"returnByValue\":true,\"contextId\":1}}"
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"72","url":"","startLine":0,"startColumn":0,"endLine":0,"endColumn":44,"executionContextId":1,"hash":"22960EE2CC885872F71ED2E747A68B200282CC65","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}
From target: {"id":8,"result":{"result":{"type":"object","value":[8776,"v6.9.1","x64"]}}}
Target node version: v6.9.1 x64
To client: {"seq":0,"type":"event","event":"initialized"}
From client: setExceptionBreakpoints({"filters":["all","uncaught"]})
To target: "{\"id\":9,\"method\":\"Debugger.setPauseOnExceptions\",\"params\":{\"state\":\"all\"}}"
From target: {"id":9,"result":{}}
To client: {"seq":0,"type":"response","request_seq":3,"command":"setExceptionBreakpoints","success":true}
From client: configurationDone(undefined)
To target: "{\"id\":10,\"method\":\"Debugger.resume\"}"
To client: {"seq":0,"type":"response","request_seq":4,"command":"configurationDone","success":true}
From target: {"id":10,"result":{}}
From target: {"method":"Debugger.resumed","params":{}}
From client: threads(undefined)
To client: {"seq":0,"type":"response","request_seq":5,"command":"threads","success":true,"body":{"threads":[{"id":1,"name":"Thread 1"}]}}
From target: {"method":"Debugger.scriptParsed","params":{"scriptId":"73","url":"c:\\dev\\project\\manage\\app.js","startLine":0,"startColumn":0,"endLine":373,"endColumn":3,"executionContextId":1,"hash":"9FB68BC08CCB9FD468489285187B0D11DE2D5497","isLiveEdit":false,"sourceMapURL":"","hasSourceURL":false}}

There are many (6000+) of these last lines (From target:)
A couple more things that may or may not help: using nodemon also doesn't show any debug output (which was expected). Also, if there is an uncaught exception, it WILL show in the debug output.

I just found out that the problem is not with console.log, but with process.stdout.write, process.stderr.write seems to work fine.
So you can reproduce this. Make a new .js file with process.stdout.write("test");, launch it. It will work. Change the launch.json to use node2, it will stop outputting "test".

@pkeuter Sorry you're right, that is the right file. I was looking for the messages from node containing the log messages, but they are missing. I actually had seen this on someone else's computer last week but couldn't repro it under the same conditions.
Are you saying that console.log output shows up, but process.stdout.write doesn't? I wouldn't expect process.stdout.write output to show up, because node2 isn't listening to the process' stdout. It only gets log messages over the debug socket from console.log.
You can check this by running with node --inspect --debug-brk and navigating to that URL in Chrome - then you won't see those messages in chrome devtools either. But if you are running 'console.log` and it doesn't show up, that's a problem, and I'd like to know if there's a difference between what you see in chrome devtools vs vscode.

Alright, console.log does (indeed) show up in devtools, process.stdout.write does not. So vscode and devtools do the same thing.
So this doesn't seem to be a vscode issue then? But then how can it be that this is a problem since 1.9.0?

By the way, Winston is using process.stdout.write, that's why I noticed:
https://github.com/winstonjs/winston/blob/master/lib/winston/transports/console.js#L121

Yeah, it will show up in the console output you see, because that's just showing stdout.
In 1.9 we switched from showing stdout to showing log messages from the debug protocol. There are a couple advantages to this, mainly that you can now log an object, and see an actual expandable object in the console, instead of just text like before.
We could listen to stdout as well, but then we would have to de-dupe messages between the two channels so that we don't show them twice. And if we do that, you could have an issue with message ordering. They might come over stdout faster than the debug protocol, and I think that showing messages in the wrong order is worse than not showing them at all.
Thanks for pointing out that Winston uses that - searching around a little, this might end up being a common issue.

@jdforsythe Are you also using process.stdout.write? Or console.log?

@roblourens That sounds like a bad solution indeed. You could make it a setting though (showing stdout vs showing debug protocol)? With the way it is now as default. But you probably already thought of this :-)

Yeah, I think we might want a setting for this. I also opened an issue on Winston - https://github.com/winstonjs/winston/issues/981 - so I'm curious what they will say.

Yeah, me too! I'll keep following that. Thanks.

@roblourens We are also using winston

@roblourens It looks like they specifically made the change from console.log:
https://github.com/winstonjs/winston/pull/163
I made a PR to winston to add a setting for the console transport to use console.log/console.error. It fixes this issue. I still have no output with nodemon using this, but in a regular launch configuration it works.
https://github.com/winstonjs/winston/pull/982

Thanks for making the PR, but I hope we can find a solution that works out of the box for everyone.

Is there any update to this?

In 1.9 we switched from showing stdout to showing log messages from the debug protocol. There are a couple advantages to this, mainly that you can now log an object, and see an actual expandable object in the console, instead of just text like before.

Losing the ability for the internal console to show console.log() messages is really unhelpful. Previously it was simple to run a node app and see what was happening in the same window - it now requires an extra config setting (console: "integratedTerminal" and switching back and forth between the terminal and debug windows.
I would prefer to revert the behaviour back to the original and rethink/redesign the change to only show messages from the debug protocol.

console.log messages should still show up. Only process.stdout.write calls will not appear. Is that not what you are seeing?

I haven't seen any console.log()messages in the Debug Console in 1.9 versions.
I've just created a brand new file with a default node2 launch.json and a simple console.log() source:
launch.json

{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node2",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceRoot}/a.js",
"cwd": "${workspaceRoot}",
},
{
"type": "node2",
"request": "attach",
"name": "Attach to Process",
"port": 5858
}
]
}

a.js

console.log('Boom!')
return;

Stepping through it, nothing is outputted is Code - not in the Debug Console nor in the terminal or Output windows. I have to add a "console": "integratedTerminal" entry in order to see any output.
Am I missing something or is there anything I should be looking for?

Can you try something? Run node --inspect --debug-brk a.js, then open the URL that it prints in Chrome. Then check whether it prints that log statement in the console?
Also, what OS and node version are you using?

I don't see the log appear in Chrome - I do seem to get a lot of errors (in the Chrome debug tools) though, so perhaps something else is wrong.

I'm using Ubuntu 16 - x64, Code 1.9.1, Node 6.3.0 and Chrome 56.0.2924.87 (64-bit).

@roblourens turns out my node version is too old!
I've just updated to the node LTE (v6.9.5) and console.log() is now shown in Debug Console. Thanks for the pointers - that was driving me crazy!
And, like the others, output from process.stdout.write() is not shown.

I see, glad you figured it out!

Just my two cents for anybody who want to use inspector protocol with Winston now, while waiting for fix from any side, Winston console logger can be overridden to use real console:
const winston = require('winston');
const winstonCommon = require('winston/lib/winston/common');

// Override to use real console.log etc for VSCode debugger
winston.transports.Console.prototype.log = function (level, msg, meta, callback) {
  if (this.silent) {
    return callback(null, true);
  }

  const self = this;
  const output = winstonCommon.log({
    colorize: this.colorize,
    json: this.json,
    level,
    message: msg,
    meta,
    stringify: this.stringify,
    timestamp: this.timestamp,
    showLevel: this.showLevel,
    prettyPrint: this.prettyPrint,
    raw: this.raw,
    label: this.label,
    logstash: this.logstash,
    depth: this.depth,
    formatter: this.formatter,
    align: this.align,
    humanReadableUnhandledException: this.humanReadableUnhandledException
  });

  if (this.stderrLevels[level]) {
    console.error(output + this.eol);
  } else {
    console.log(output + this.eol);
  }

  //
  // Emit the `logged` event immediately because the event loop
  // will not exit until `process.stdout` has drained anyway.
  //
  self.emit('logged');
  callback(null, true);
};

and it magically works after that :)

I had been piping my node process through a runtimeExecutable that looks like:
node $* | bunyan -L

This was working well with node but when switching to node2 (in order to work with node 6.9.5 debugging breakpoints not showing call stack) the bunyan outputted piped data seemed to break, which probably goes through stdout as well I'm guessing.  Anything in my application that called console.log did show up in the Debug Console, however.
To get bunyan formatted text in the debug console.  I tried the "console": "integratedTerminal" as mentioned above and that works in the Terminal tab, but the Debug Console is still missing text.
The surprising thing I saw though was the color text!  Looking forward to that.

I looked at bunyan's code, and it looks like they try to use console.log in the browser, and process.stdout.write in node. https://github.com/trentm/node-bunyan/blob/master/lib/bunyan.js#L475
I'm not sure why they do that in node, but it might be worth filing an issue on them to use console.log for node as well.
"console": "integratedTerminal" won't make the output show up in the debug console, but you should see all stdout output in the terminal at least.

Related to this: vscode prints console.warn and console.error twice. Once as a pretty printed object (debug protocol) and once as error (stderr). I don't think this is wanted behaviour?

@pkeuter That's https://github.com/Microsoft/vscode/issues/21947, likely a Node bug on Windows.

FYI
const debug = require('debug');
debug.log = console.log.bind(console);

For the record Pino also suffers from this problem. I don't think filing issues on the logging libraries and convince them to change to console.log is the way to go here, especially since console.log is slower.

It's a serious problem, when will it be resolved?

I'm using Winston with Node 8.1.4 and I just spent an hour before I finally got to this bug and realized what was going on. And the comment way above regarding integratedTerminal isn't working for me at all.

            "console": "integratedTerminal"

works very well,
Make sure you are on the right tab on the terminal tabs area

Thank you @Bnaya that was the problem. I was expecting it to be streamed in Debug Console but it was in the "Node Debug Console" terminal instance under Terminal.

For bunyan users, I can recommend using https://github.com/ibm-watson-data-lab/bunyan-console-stream while debugging. You can use https://github.com/oliversalzburg/debugger-attached to determine when to load it.
This way we're logging with console while running in VS Code and with process.stdout when running in production.

@tinovyatkin override worked for the most part.
Only problem I still have is that winston.debug doesn't print anything: it doesn't even pass @tinovyatkin override. console.debug does work though.

The Insider's build now has the "outputCapture": "std" option, which will show stdout and stderr in the debug console, instead of the debug protocol messages, which will help with this!

@roblourens Just tested the latest Insider Build, only debug and error output are showing in the debug console when using Winston.

Do those actually get written to stdout?

@roblourens any hints on if this will be a part of minor release or patch? Very excited to see this finally getting sorted out.

You can use it today in the Insiders build.

Honestly I don't expect to find a better solution than opting into showing stdout/err directly with the new outputCapture option, so I'm closing this.

Verification steps:
Debug this node script:
console.log('this is from console.log');
process.stdout.write('this is from process.stdout.write\n')

You should see log from console.log, but not from process.stdout.write
Set "outputCapture": "std" in your launch config (won't be recognized until the next build but will still work)
Debug it again. Now you should see both logs.

verified with Node 8.1.1

verified with v8.4.0

I tried to use "outputCapture": "std" on a remote node v6.9.1 process, but it seems that this is not compatible with an "request": "attach"  type config (the squigglies somewhat in the launch.json somewhat illude to that). I guess this is a "nothing can be done here" situation?

Yes, we can't capture the stdout when attaching to a running process.

Is this going to be a permanent issue? After updating node to the latest version I am seeing winston logging problems on several applications

Yes but you can set "outputCapture": "std" to work around it.

"console": "internalConsole", "outputCapture": "std" verified with node 8.6.0 - thank you!

More of an FYI since using "outputCapture": "std" got this working for me:
Using VS Code v1.17.2 and node v6.11.4 on my Windows machine I was not able to capture console.log() output in the Debug Console without adding "outputCapture": "std" in my launch.json.
However using VS Code v1.17.0 and node v6.9.4 on my CentOS machine I was able to capture console.log() output in the Debug Console without adding "outputCapture": "std" in my launch.json.
I'm running the same exact code, but getting different results based on OS and slightly different VS Code and Node versions.

I've tested using VSCode 1.18.0 and suggested node versions.
//launch.json:
{
  "version": "0.2.0",
  "configurations": [{
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "/home/user/.nvm/versions/node/v6.9.4/bin/node",
      "name": "Launch Program",
      "outputCapture": "std",
      "program": "${workspaceRoot}/main.js"
    }]
}

//main.js:
console.log('test');

Logging works well on both: "runtimeExecutable": "/home/user/.nvm/versions/node/v6.9.4/bin/node", and "runtimeExecutable": "/home/user/.nvm/versions/node/v6.11.4/bin/node",
@GitFlip could you please check your code using VSCode 1.18 and provide more details (e.g. simplified source code).

Using VS Code v1.17.2 and node v6.11.4 on my Windows machine I was not able to capture console.log() output in the Debug Console without adding "outputCapture": "std" in my launch.json.

Please open a new issue with details


Add rikai.options module to allow for user configurations

e.g., of things like height/width of the Image/Video to display in jupyter notebooks

add read from file option before close

will close since #188 was opened to track the read from file


assign undefined to empty tag

Is it possible to assign the empty xml tags to an undfined value? when putting emptyTag: undefined the parser will not parse the items and will not generate them in the json file. However i need it to still show the propery "foo": undefined
anyway around this ?

You could delete the offending tags from the resulting object, I don't see much use into special casing for this single requirement.

Im parsing a large xml document and saving it to mongodb. The thing is that i dont want null values saved.
But thanks anyway...


Authorization

Thank you this page is helpful, but falls short.  I speaks of Authentication, but nothing of Authorization and B2C.  This is a big issue as I can find very little on the subject and how many websites use authentication, but don't need Authorization?  Very few.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 520b9821-ecef-20af-a601-ea36c4297d88
Version Independent ID: da9c8ac9-4d7a-4b40-56a2-a4bfe7083567
Content: Secure an ASP.NET Core Blazor WebAssembly hosted app with Azure Active Directory B2C
Content Source: aspnetcore/blazor/security/webassembly/hosted-with-azure-active-directory-b2c.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @curelom ... If you look at the 5.0 topic for B2C, the AAD groups and roles topic shows up in the sidebar ToC ...
https://docs.microsoft.com/aspnet/core/blazor/security/webassembly/azure-active-directory-groups-and-roles?view=aspnetcore-5.0
Were you working in 3.x? If so, I have a copy of the prior document in PDF format for 3.x apps that use MS Identity 1.0. I think I can post that PDF to you, and I might put it on the repo and cross-link it into the topic. I didn't do that when we put up the 5.0 updates because MS is keen to move devs to 5.0 and Identity 2.0 asap. We're leaning on it. :smile: ... but perhaps a bit too much.

I'll try to drop it in here, and we can see what happens ...
AAD Groups and Roles 3-1.pdf
Leave this issue open. I think I want to cross-link this into the coverage ... maybe.

Thank you.   That is for AAD and not B2C.  Very different.

They aren't different client-side, and I'm not aware of any different approaches for B2C service-wise either; although, that might be the case. Our documentation support for B2C has been more limited than for AAD. For one thing in 3.x, the Blazor framework had several rough edges with B2C. It wasn't until 5.0 and Identity 2.0 that those edges were smoothed out or eliminated by Blazor framework and MS Identity updates. I'm thinking, for example, of using B2C with third party Identity Providers (we have redirect and popup mechanisms now for auth, and IIRC it was the lack of a redirect flow that was breaking people) and perhaps one or two of the B2C user flow scenarios became workable.
On the authorization side for components in the app, there's no difference to how you permit and deny access than what's covered at ...
https://docs.microsoft.com/aspnet/core/blazor/security/?view=aspnetcore-5.0#authorization
... with the first step being to establish claims (and/or authz policies based on claims) from the service for user app roles, Azure Admin Roles, and security groups. The claims, authz policies, and/or procedural code permit or deny access to users of the app. I'm not aware of any differences between AAD and AAD B2C in these contexts on the service side. There might be some gotchas tho. I haven't seen readers writing in lately to inquire on B2C problems.
My plan is that when I reach the Groups and Roles topic within a few months for an update to set up and try all of the techniques with a B2C app to see if and how well they work. If everything works 🤞, then I'll merely (perhaps) change the title of the topic ("perhaps" because B2C really is "AAD B2C," so we might leave it alone on that basis) and make a few text updates. If some parts fail, I'll still perhaps change the title and text a bit but provide guidance for B2C users for the gotchas 😈. If things don't go well at all, I'll need to confer with either or both the Blazor product unit engineers and Azure product unit engineers to resolve problems.
I suggest that you try the approaches in the topic, either the 5.0 live topic if you're working in 5.0 or using the 3.1 PDF if you're working in 3.x. If you hit a snag, I can try to help. I'm not sure about moving the overhaul work on the topic up in priority tho. That might not be possible given the workload right now.

I should also add that ... you know this probably, I'll just link in case others see this ... I'll add that the usual product support forums can be of help for breaking apps and Identity cases when we can't currently provide a lot of product support. We recommend the usual forums ...

Stack Overflow (tag: blazor)
ASP.NET Core Slack Team
Blazor Gitter

... of course, there are others. I'm NOT saying that that's the end goal for general guidance. We DO want whatever B2C base use case coverage that we need here, barring content that Azure docs provide and that we can cross-link to from here. I'm just saying that it's still early days for Blazor, the framework and coverage are rapidly evolving right now (especially Identity), and the external forums can be helpful.

@curelom ... I slept on it 🛌. I think it's best if we follow what Azure and MS Identity docs have done and try to move devs to Identity v2.0 asap. v1.0 is supported (as is Blazor in ASP.NET Core 3.1), but they're removed all ... or almost all ... of their prior coverage. That's why it isn't published here. I'm happy to provide the 3.1 PDF to anyone who wants it, but I'm not going to publish it.
To recap ...

Blazor authz is covered generally here :point_right: https://docs.microsoft.com/aspnet/core/blazor/security/?view=aspnetcore-5.0#authorization
Procedural logic is in the same topic (btw - I'll be moving this section UP in that coverage later) here :point_right: https://docs.microsoft.com/aspnet/core/blazor/security/?view=aspnetcore-5.0#procedural-logic
AAD (hopefully AAD B2C, too) groups and roles coverage (only for 5.0/Identity v2.0) is here, including authz techniques in the app (I'll perform B2C testing when I reach it on https://github.com/dotnet/AspNetCore.Docs/issues/19286) :point_right: https://docs.microsoft.com/aspnet/core/blazor/security/webassembly/azure-active-directory-groups-and-roles?view=aspnetcore-5.0
If you need product support, we recommend the usual support channels ...

Stack Overflow (tag: blazor)
ASP.NET Core Slack Team
Blazor Gitter

If you hit an error trying to use the AAD Groups and Roles topic, you can open an issue on this repo using the This page feedback button and form at the bottom of that topic, and I'll try to help.