The I/O operation has been aborted because of either a thread exit or an application request

Environment
Windows build number:  Microsoft Windows NT 10.0.20175.0
Your Distribution version:  Ubuntu (can't run because failed to run the bash)
Whether the issue is on WSL 2 and/or WSL 1: WSL1

Steps to reproduce

Just opening the WSL (Ubuntu) after a windows update (insider build).

lxcore details logs -
lxcore-files.zip
Expected behavior
Should work
Actual behavior
Error:
The I/O operation has been aborted because of either a thread exit or an application request

I'm hitting the same issue, and am on the same Windows build with WSL1.
Even just trying to list distributions hangs and fails like this: wsl --list --all

@bityob - Interesting, I'm able to repro this but this didn't hit in our automated testing.  I'll figure out what's going on.  In the meantime I'd suggest rolling back to the previous version or using WSL2.  Looks like conversion is working ok.

Ok... this issue seems to be related to when the init daemon receives a larger than expected message from our service and has to resize our buffer.  You may be able to work around this by temporarily reducing the length of your windows %PATH% variable.

Alright, I've fixed this and written a test so this kind of thing won't happen again.
Sorry about the disruption this caused... I'll try to get the fix into an Insider Fast build ASAP.

@nathpete-msft - the list issue you mention looks different.  Can you file a new issue with more details, please?

@benhillis

You may be able to work around this by temporarily reducing the length of your windows %PATH% variable.

I was able to workaround the issue -
set PATH=
C:\Windows\System32\wsl.exe

Yep.  I'm definitely affected by this bug.  I started shortening my %PATH%, one program path string at a time until I got down to 989 characters, including spaces (so, assuming a limit of 1024 characters or just below).  Once I got it pared down to 989 characters, WSL started working again as normally.  But my machine where I test preview builds also has Windows Kits, developer environments, multimedia software, diagnostics, and so forth, all of which need to be in the path to work properly.  Why was WSL limited to a certain path length? Any way to work around this without shortening the path in a cmd prompt before running WSL? I have use it to run Linux software side-by-side with Windows on the fly.  Haven't been able to do this since updating to Windows 10 build 20175.

This again??? Yikes.

This again??? Yikes.

Again? First time for me, and I've been testing preview builds since 2014.

Temporary workaround I started using today is to launch terminal from PowerShell:
c:\windows\system32\cmd.exe /c "path %SystemRoot%\System32; && %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\wt"
Alternatively, a shortcut can be created with the following:
C:\WINDOWS\system32\cmd.exe /c "path %SystemRoot%\System32; && %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\wt"
Or, you can use:
C:\Windows\System32\cmd.exe /c "path C:\Windows\system32; && %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\wt.exe"
Set the "Run:" property on the Shortcut tab to Minimized and click apply.  So, until the above bug is fixed, this is what I have started doing for the time being. Similar can be done with individual Linux apps.

@dcharlespyle

I started shortening my %PATH%, one program path string at a time until I got down to 989 characters, including spaces (so, assuming a limit of 1024 characters or just below). Once I got it pared down to 989 characters, WSL started working again as normally

I wrote a simple python script to check the limit in my machine.
In my case the limit was not always the same (805/817/878 characters).
The script needs Python 3.6+ to run.
import os
from subprocess import STDOUT, check_output
import platform

# Get the path to the wsl executable, it's different if python is 32bit or 64bit
# See here - https://stackoverflow.com/a/41631476
system32 = 'SysNative' if platform.architecture()[0] == '32bit' else 'System32'
wsl_command = os.path.join(os.environ['SystemRoot'], system32, 'wsl.exe')

min_num = 800
max_num = 2000
path = ""

try:
    for i in range(min_num, max_num):
        path = "A" * i

        curr_command = f"set PATH={path} && {wsl_command} uptime"

        print(f"Length of path: {len(path)}")

        # Raise exception in case of error
        output = check_output(curr_command, stderr=STDOUT, timeout=60, shell=True)

        print(output.decode('utf8').strip())
except Exception as ex:
    print(f"FAILED. Output: {ex.output.decode('utf8')}")

I've shorten my PATH to 770 characters, but still can not start WSL with extractly same error.

If you're running into the issue with too long of a PATH and you're using Windows Terminal, you can set up a profile with the following commandline property to automatically clear your PATH before running WSL. This will leave PATH in tact for other shells.
"commandline": "cmd.exe /C \"set PATH= && \"C:\\WINDOWS\\System32\\wsl.exe\"\"",

If you're running into the issue with too long of a PATH and you're using Windows Terminal, you can set up a profile with the following commandline property to automatically clear your PATH before running WSL. This will leave PATH in tact for other shells.
"commandline": "cmd.exe /C \"set PATH= && \"C:\\WINDOWS\\System32\\wsl.exe\"\"",

If you're using VSCode, you can resolve this by using the following settings:
  "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\wsl.exe",
  "terminal.integrated.env.windows": {
    "PATH": ""
  },

Not working for me 😢

If you're running into the issue with too long of a PATH and you're using Windows Terminal, you can set up a profile with the following commandline property to automatically clear your PATH before running WSL. This will leave PATH in tact for other shells.
"commandline": "cmd.exe /C \"set PATH= && \"C:\\WINDOWS\\System32\\wsl.exe\"\"",

If you're using VSCode, you can resolve this by using the following settings:
  "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\wsl.exe",
  "terminal.integrated.env.windows": {
    "PATH": ""
  },

The first one actually worked for me, although I applied a minor tweak to the code of the first example.  This is what I put into my profile settings Windows Terminal for use with WSL Ubuntu:
        // Disabled as workaround for current path length bug; replaced with "commandline" property; when bug is fixed, enable the below line and disable the other.
        // "source": "Windows.Terminal.Wsl",
        "commandline": "cmd.exe /C \"set PATH=C:\\WINDOWS\\System32;C:\\WINDOWS;C:\\;C:\\Program Files;C:\\Program Files (x86) && \"C:\\WINDOWS\\System32\\wsl.exe\"\"",

That worked and it also allows me to run Windows executables from the Linux command line.

I've reduced the characters limit to 456, I might break things in a really bad way if I keep trying to make it short and still no success. I'm done.

@ertwro
Did you try the python script above to check the limit in your machine?
I guess that empty path is working for you, right?

@bityob Yes, empty path is working. The limit using the python script and lowering the minimum variable is 760-767. Unfortunately that is not true. The real limit is somewhere around 250 in my case.

Even with cleanned PATH (set PATH=) I can NOT run wsl :
"The I/O operation has been aborted because of either a thread exit or an application request" BUG

@andreluizgit
set PATH=
C:\Windows\System32\wsl.exe

This doesn't work for you?

I've reduced the path characters to 456, I might break things in a really bad way if I keep trying to make it short and still no success. When is the next build coming out?

I hope you weren't shortening your actual path environment.  That could be bad for some programs.  If you are doing it in the command line, however, it's only temporary for that session.  So there is nothing to risk if doing it that way.

Even with PATH cleared (set PATH =), I can NOT run wsl:
"The I/O operation has been aborted because of either a thread exit or an application request" BUG

If you actually put a space between PATH and the = sign (like you did above), that probably is why it didn't work for you.  There should be no space between the words PATH and =.  It should be set PATH=.

Even with PATH cleared (set PATH =), I can NOT run wsl:
"The I/O operation has been aborted because of either a thread exit or an application request" BUG

If you actually put a space between PATH and the = sign (like you did above), that probably is why it didn't work for you. There should be no space between the words PATH and =. It should be set PATH=.

I'm also can not run wsl even set PATH to empty.

Even with PATH cleared (set PATH =), I can NOT run wsl:
"The I/O operation has been aborted because of either a thread exit or an application request" BUG

If you actually put a space between PATH and the = sign (like you did above), that probably is why it didn't work for you. There should be no space between the words PATH and =. It should be set PATH=.

I'm also can not run wsl even set PATH to empty.

Could you post exactly what command line string it is that you are using to try to start and use WSL? And, where you are trying to launch WSL from?

If you actually put a space between PATH and the = sign (like you did above), that probably is why it didn't work for you. There should be no space between the words PATH and =. It should be set PATH=.

I'm also can not run wsl even set PATH to empty.

Could you post exactly what command line string it is that you are using to try to start and use WSL? And, where you are trying to launch WSL from?

I've tried in many ways, such as:

launch from cmd
launch from powershell
launch from Windows Termial

And I've tried many ways to launch:

modify Windows Termial profile as you suggested previously
launch wsl after set PATH=
shorten my PATH environment from 1k+ chars to <800byte

None of them works for me 😭
So at last I rollback my laptop, cause I uses WSL often.
And I leave my PC on 20175 for testing.

If you actually put a space between PATH and the = sign (like you did above), that probably is why it didn't work for you. There should be no space between the words PATH and =. It should be set PATH=.

I'm also can not run wsl even set PATH to empty.

Could you post exactly what command line string it is that you are using to try to start and use WSL? And, where you are trying to launch WSL from?

I've tried in many ways, such as:

launch from cmd
launch from powershell
launch from Windows Termial

And I've tried many ways to launch:

modify Windows Termial profile as you suggested previously
launch wsl after set PATH=
shorten my PATH environment from 1k+ chars to <800byte

None of them works for me 😭
So at last I rollback my laptop, cause I uses WSL often.
And I leave my PC on 20175 for testing.

Launching wsl from cmd and PowerShell require two different methods.  You cannot use the same method or command line on both PowerShell and cmd.  You also cannot have a space between PATH and =.  You cannot launch WSL from Windows Terminal using the same command line string.  All require different approaches and differ in use of quotes or escape characters.
It's a curious thing that none of the approaches works for your situation.  Open up a Command Prompt.  Type "PATH" (without quote).  Please post a screenshot of the output.
Next, open PowerShell.  Typing "PATH" the same way will fail because it is not a recognized commandlet, etc.  There, you would have to include cmd.exe in the command line syntax.  But, if you already have shortened the path to exclude PowerShell's path and a completely blank path, you probably won't be able to run either cmd.exe or wsl.exe without the entire path.  But, if you type cmd /c "set PATH= && c:\windows\system32\wsl.exe", it should work (unless you shortened your actual system-wide path.  This would open the WSL BASH prompt.
In the profile of the Windows Terminal, which has to be altered to allow for WSL to run in terminal, you have to make sure that you have the correct number of escape characters, or it won't work.  And, you also cannot forget to include the comma at the end of the line, either, or it won't work.  If you don't comment out the following line in your profile for WSL:
"source": "Windows.Terminal.Wsl",
The above line has to be commented out before the following line is inserted:
"commandline": "cmd.exe /C \"set PATH=C:\\WINDOWS\\System32;C:\\WINDOWS;C:\\;C:\\Program Files;C:\\Program Files (x86) && \"C:\\WINDOWS\\System32\\wsl.exe\"\"",
That above line must be all on a single line, too, or it won't work.  There is another potential issue that could affecting what it is that you are trying to do.  Check the "name" property line for your WSL profile in your installation and configuration.  Change it to "Ubuntu", if it is not already set to that.  Each line you modify must also be followed by a comma.

@dcharlespyle thanks for your patience.
The command line or profile I use copy & paste, not typing by hand 😅

@dcharlespyle thanks for your patience.
The command line or profile I use copy & paste, not typing by hand 😅

Command line.  Easier to make sure the windows is on top, and then hit Alt + PrintScr (or, "Print Screen").  Then, paste the screen shot into your comment.  No need for typing or copy-pasting, if you do that. :-)

@andreluizgit

Even with PATH cleared (set PATH =), I can NOT run wsl:
"The I/O operation has been aborted because of either a thread exit or an application request" BUG

set PATH=
C:\Windows\System32\wsl.exe

This doesn't work for you? (from cmd)

Did not work ... 😥

@dcharlespyle thanks for your patience.
The command line or profile I use copy & paste, not typing by hand 😅

Command line. Easier to make sure the window is on top, and then hit Alt + PrintScr (or, "Print Screen"). Then, paste the screen shot into your comment. No need for typing or copy-pasting, if you do that. :-)

Here you go .... 😄

I initially had the problem that @andreluizgit appears to have. I would set the PATH to an empty string and it still wouldn't work. A while ago, I did this to fix another issue that I had. If I set NEWPATH to an empty string as well that seems to solve my issue. Perhaps the issue is not specifically with PATH but instead with any env variable being too large and PATH is the only one that regularly gets long enough to cause issues.
Either way, I thought I had switched to WSL 2 but my Ubuntu installation was still running in WSL 1. Since I switched to WSL 2, all my problems were resolved and even VS Code runs in remote-WSL. When I thought I switched over to WSL 2, I followed Microsoft's guide and ran wsl --set-default-version 2. I didn't realize this only takes effect when you install new distros. You have to convert your old installations to wsl 2.
First, run wsl -l -v to see all installations and their versions. If the one you are having problems with says 1 and you still cannot run it then that's probably something the people over at Microsoft would like to know about. To convert a distro from WSL 1 to WSL 2, run wsl --set-version <distro> 2. You may get an issue that says something along the lines of

Virtual hard disk files must be uncompressed and unencrypted and must not be sparse.

Here is a github issue that tracks this. There are several fixes in the thread but this one is the one that seemed to work for me.

@bityob

Even with PATH cleared (set PATH =), I can NOT run wsl:
"The I/O operation has been aborted because of either a thread exit or an application request" BUG

set PATH=
C:\Windows\System32\wsl.exe

This doesn't work for you? (from cmd)

Did not work ... 😥

The command echo %path% doesn't work in Command Prompt.  While I do not think that this is necessarily the problem, try typing just the word path and hitting Enter in command prompt, after setting your path to null.
Your path variable is a mess (and I thought mine was bad).  You should put your Windows, Windows\System32, Program Files and Program Files (x86) lines ought to be up front, before all the others.  In my own, it looks like duplicates are there but they actually are variants that use %SYSTEMROOT% instead of writing out the directory name.
But just for grins and giggles, try, instead of setting the PATH to null, typing set path=C:\WINDOWS\System32;C:\WINDOWS; and hitting Enter, before running WSL.  Let us know what you see, and please post that result, too.

@dcharlespyle thanks for your patience.
The command line or profile I use copy & paste, not typing by hand 😅

Command line. Easier to make sure the window is on top, and then hit Alt + PrintScr (or, "Print Screen"). Then, paste the screen shot into your comment. No need for typing or copy-pasting, if you do that.   Not sure what is going on there, to be honest.  But I am reasonably sure your system has more problems than just with WSL.  This time, run the command cmd /c "set path=C:\WINDOWS\System32;C:\WINDOWS; && wsl" and post a screenshot.  I want to see if a null path also will cause an issue with WSL on a system running in another language, before looking at other things.

Hi, same issue here. The set PATH= workaround works.
Any instruction on how to do workaround with the Windows Terminal? Running under CMD messes up everything. I also need to have the VS Code "code" command working, or this will be total pain.

Hi, same issue here. The set PATH= workaround works.
Any instruction on how to do workaround with the Windows Terminal? Running under CMD messes up everything. I also need to have the VS Code "code" command working, or this will be total pain.

Open up your Terminal settings.json file in the Run dialog:
notepad %USERPFOFILE%\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
Here is what I put into mine to workaround the problem in Windows Terminal:
        "name": "Ubuntu",
        // Disabled as workaround for current path length bug; replaced with "commandline" property; when bug is fixed, enable the below line and disable the other.
        // "source": "Windows.Terminal.Wsl",
        "commandline": "cmd.exe /C \"set PATH=C:\\WINDOWS\\System32;C:\\WINDOWS;C:\\;C:\\Program Files;C:\\Program Files (x86) && \"C:\\WINDOWS\\System32\\wsl.exe\"\"",

Each property must be on its own line, and must end with a comma, and you must have the proper number of escape characters, as above.  Not sure about the VSCode issue but will take a look at that.  There is some example code several comments above but I have not checked whether or not it works.  Give that a try.

Hi,
that works. "code" command is in user app data, So my path line is now like:
"commandline": "cmd.exe /C "set PATH=C:\WINDOWS\System32;C:\WINDOWS;C:\;C:\Program Files;C:\Program Files (x86);C:\Users\MyUserName\AppData\Local\Programs\Microsoft VS Code\bin&& "C:\WINDOWS\System32\wsl.exe"""
It is indeed picky on correct formatting. You don't need comma at the end of on the last entry, but there may not be space after \bin! I tried %USERPROFILE%, that did not resolve to anything useful.

Seems to be another issue with WSL that may or may not be related to the above.  WSL isn't converting spaces in paths properly.  Seeing the following in BASH:
$PATH
-bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/WINDOWS/System32:/mnt/c/WINDOWS:/mnt/c/:/mnt/c/Program: No such file or directory

Escaping is properly set in the path command in the settings.json file, according to VS Code and Visual Studio 2019.  No errors reported but WSL truncates the path when converting it and then BASH reports "No such file or directory."

Hmm that thing I submited above works for me:
hs@simu:/mnt/c/Users/Henri$ echo $PATH /home/hs/.cargo/bin:/home/hs/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/WINDOWS/System32:/mnt/c/WINDOWS:/mnt/c/:/mnt/c/Program Files:/mnt/c/Program Files (x86):/mnt/c/Users/Henri/AppData/Local/Programs/Microsoft VS Code/bin:/snap/bin:/home/hs/.cargo/bin:/home/hs/.local/bin:/usr/local/bin
The spaces are as they should, and "code" command opens VS Code as expected.

Things just keep getting more bizarre!  Doesn't matter where I put the double ampersand operator.  I still get a path that is truncated, and my code is identical to your with the exception of the extra ones you appended to yours.  But we get two different results in WSL.  Really strange!

Do you use WSL1 or WSL2? I use WSL1.

Do you use WSL1 or WSL2? I use WSL1.

I also am using WSL1.  WSL2 is too buggy for my purposes at the moment (until they make improvements in networking interoperability).
wsl --list -v
NAME      STATE           VERSION

Ubuntu    Running         1

@dcharlespyle that kinda sounds like a locale issue, not WSL related. Might be worth a ticket with Windows Terminal folks?

@dcharlespyle that kinda sounds like a locale issue, not WSL related. Might be worth a ticket with Windows Terminal folks?

I thought that this was a distinct possibility.  However, on further tinkering around, it isn't just in Windows Terminal.  I found the same issue running direct through command line using cmd, and also in PowerShell.  It definitely seems to be something with WSL, and not isolated to Windows Terminal.  Not quite sure how or where to narrow it down at this moment, but hoping to figure it out sooner than later.  They'll probably have it fixed before I do, though. :-)

@dcharlespyle thanks for your patience.
The command line or profile I use copy & paste, not typing by hand 😅

Command line. Easier to make sure the window is on top, and then hit Alt + PrintScr (or, "Print Screen"). Then, paste the screen shot into your comment. No need for typing or copy-pasting, if you do that.  Not sure what is going on there, to be honest. But I am reasonably sure your system has more problems than just with WSL. This time, run the command cmd /c "set path=C:\WINDOWS\System32;C:\WINDOWS; && wsl" and post a screenshot. I want to see if a null path also will cause an issue with WSL on a system running in another language, before looking at other things.

Nop... My WSL was OK when I using Win10 Insider Preview 20160(Intel) on laptop & 20170 on my PC(AMD). But when I upgrade them to 20175 last week, WSL1 on my laptop and PC all stop working. Cause I use my laptop often, so I rollback it to win10 20170, WSL1 works again.

@dcharlespyle thanks for your patience.
The command line or profile I use copy & paste, not typing by hand 😅

Command line. Easier to make sure the window is on top, and then hit Alt + PrintScr (or, "Print Screen"). Then, paste the screen shot into your comment. No need for typing or copy-pasting, if you do that.  Not sure what is going on there, to be honest. But I am reasonably sure your system has more problems than just with WSL. This time, run the command cmd /c "set path=C:\WINDOWS\System32;C:\WINDOWS; && wsl" and post a screenshot. I want to see if a null path also will cause an issue with WSL on a system running in another language, before looking at other things.

My WSL was OK when I using Win10 Insider Preview 20170(Intel) on laptop & 20160 on my PC(AMD). But when I upgrade them to 20175 last week, WSL1 on my laptop and PC all stop working. Cause I use my laptop often, so I rollback it to win10 20170, WSL1 works again.
And set path to C:\WINDOWS\System32;C:\WINDOWS; I've tried before, same situation, not working. I can not provide a screenshot right now.

That's just it, though.  A lot of WSL1 users are having problems with WSL in build 20175 (including myself), but your system on that build was a special case because nothing worked with WSL, not even the workarounds that worked around the issue for everybody else.  That was my point.  What is working for everybody else, however, didn't work for your machine--at all.  Something in 20175 breaks WSL, but in your case even more was wrong with that build on your computer.

@dcharlespyle I'm still wondering on that unicode. Do you have beta UTF-8 setting on? Settings-Region-Additional Settings- Administrative-Change System Locale. There is a tick for beta UTF-8. Mine is off.

@dcharlespyle I'm still wondering on that unicode. Do you have beta UTF-8 setting on? Settings-Region-Additional Settings- Administrative-Change System Locale. There is a tick for beta UTF-8.

Mine also is off.

and the locale in Ubuntu?  I have LANG="C.UTF-8"
Yep this is mysterious.

and the locale in Ubuntu? I have LANG="C.UTF-8"
Yep this is mysterious.

Here is what I get:
$ locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=

I have 100% same..

I agree that this is mysterious.  Another fellow who has posted here has had not one workaround work for him on build 20175.  That is when my problems began, but I am holding out from rolling back this time around.  I almost rolled back when I started noticing the problem with WSL on this build.

All of the workarounds above used to work for me, but now they do not.

I don't know how to make a poll here, but are the effected all WSL1, or is WSL2 the same thing?
Myself I cannot use WSL2 as I need VMWare.

@dcharlespyle FYI, WSL2 works ok on my 20175. I just not want to use it, it doesn't make sense to me

Unregistering (using wsl command-line) and reinstalling Ubuntu WSL from the app store fixed the problem for me. Caveat: I had forgotten that unregistering a WSL distrib completely deletes the file system so I lost all my files in the process, ouch! It would have been wiser for me to first backup the file system using wsl --export and then reimport it using wsl --import or make a copy of the .vhdx file.

Unregistering (using wsl command-line) and reinstalling Ubuntu WSL from the app store fixed the problem for me. Caveat: I had forgotten that unregistering a WSL distrib completely deletes the file system so I lost all my files in the process, ouch! It would have been wiser for me to first backup the file system using wsl --export and then reimport it using wsl --import or make a copy of the .vhdx file.

I have no .vhdx file that I am aware of.  Went searching for it, too, but turned up nothing.

Use the path workaround, WSL2, or roll back to previous insider build. Fix is inbound.

Fixed in 20190.
/fixed


A problem of Markdown row locking

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.69.1 (user setup)
OS Version: Windows_NT x64 10.0.19044

Steps to Reproduce:
I found the row locking having some error.
When I choose the first item, the preview view will lock the all item list. But when I choose the second item, the preview view will choose the second item.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.69.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Have the same problem.

Please share the text of the markdown file from that screenshot

对于常系数线性微分方程组，我们可以用下述方法求它的解：
1. 从方程组中消去一些未知函数及其各阶导数，得到只含有一个未知函数的高阶常系数线性微分方程。
2. 解此高阶微分方程，求出满足该方程的未知函数。
3. 把已求得的函数代入原方程组，一般说来，不必经过积分就可求出其余的未知函数。

To better explain the issue for verification:

Create a list in markdown with at least two elements
Open the markdown preview
Now back in the editor, place your cursor on the first item of the list

This was previously highlighting the entire list over in the preview. It should instead just highlight the first item in the list (that's what was happening for the second item in the list

This bug has been fixed in the latest release of VS Code Insiders!
@Vincent0706, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version 2c801254ebf547baaee771b99aa76d202f999622 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!


Losing descriptions of ref attributes

In Swagger 2.0 yaml we keep descriptions for ref attributes. this is ignored by swagger, yet important for documentation purposes.
OAS 3.0 supports (?) it.
During the transition I'd like to keep the descriptions of ref attributes.

example:
https://github.com/MEF-GIT/MEF-LSO-Sonata-SDK-extended/blob/address_cfc1/api/serviceability/address/geographicAddressManagement.api.yaml
attribute
GeographicAddressValidation.validationResult


vnpy_ib 网关有时候ib断线重连最低价会出现  -1 导致计算有误

When IBApi::EWrapper::tickPrice and IBApi::EWrapper::tickSize are reported as -1, this indicates that there is no data currently available. Most commonly this occurs when requesting data from markets that are closed. It can also occur for infrequently trading instruments which do not have open bids or offers at that time of the request. To receive frozen quotes (the last available bid/ask recorded by the system) invoke the function IBApi.EClient.reqMarketDataType with argument 2. Alternatively, to receive "delayed frozen" data from tickers without holding market data subscriptions, specify a market data type of 4. Frozen data is exclusive to default tick types- Generic Tick Types are not available- and requires market data subscriptions.
https://interactivebrokers.github.io/tws-api/md_receive.html

由于IB支持的交易市场太多，各个市场的细节规则非常繁琐。
这块建议在策略层的on_tick回调函数下根据实际情况进行过滤，gateway接口层不适合做统一处理。


Revert "Revert "nixos/lib: add /home to pathsNeededForBoot""

This reverts commit 645b5a2f9fcad1df56999256cb1e066ceca1c721.
related https://github.com/NixOS/nixpkgs/pull/203768
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I really think we need to be moving logic like this out of activationScripts rather than making more accommodations for the flawed design that activationScripts run before the system is even partially usable. Like in this case, user home directories should be created by a systemd oneshot service that has RequiresMountsFor=/home and Before=local-fs.target. Doing it in an activation script means mounting /home in initrd, which is completely unnecessary, adds more bulk and boot-time overhead to initrd, and makes it difficult to put /home on something more esoteric (e.g. something that requires credentials or other files or services from the root fs or OS).
Now I understand that's a big shift in design, so I'm not saying this PR has to be the one to start it. But this is definitely the kind of thing that makes me really activation scripts were kept to much more of a minimum.


Fix: 404 bug with param

With pull requests:

Open your pull request against master
Your pull request should have no more than two commits, if not you should squash them.
It should pass all tests in the available continuous integration systems such as GitHub Actions.
You should add/modify tests to cover your proposed code changes.
If your pull request contains a new feature, please document it on the README.

Codecov Report

Merging #2 (cee994f) into test/action (1c48977) will decrease coverage by 0.10%.
The diff coverage is 100.00%.

@@               Coverage Diff               @@
##           test/action       #2      +/-   ##
===============================================
- Coverage        98.36%   98.26%   -0.11%
===============================================
  Files               42       42
  Lines             3124     3112      -12
===============================================
- Hits              3073     3058      -15
- Misses              38       40       +2
- Partials            13       14       +1

Flag
Coverage Δ

98.26% <100.00%> (-0.11%)
:arrow_down:

go-1.15
?

go-1.16
?

go-1.17
98.26% <100.00%> (-0.01%)
:arrow_down:

go-1.18
?

macos-latest
?

ubuntu-latest
98.26% <100.00%> (-0.11%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

tree.go
100.00% <100.00%> (ø)

context.go
97.95% <0.00%> (-0.52%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Codecov Report

Merging #2 (cee994f) into test/action (1c48977) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@               Coverage Diff               @@
##           test/action       #2      +/-   ##
===============================================
- Coverage        98.36%   98.36%   -0.01%
===============================================
  Files               42       42
  Lines             3124     3112      -12
===============================================
- Hits              3073     3061      -12
  Misses              38       38
  Partials            13       13

Flag
Coverage Δ

98.36% <100.00%> (-0.01%)
:arrow_down:

go-1.15
98.36% <100.00%> (-0.01%)
:arrow_down:

go-1.16
∅ <ø> (∅)

go-1.17
98.26% <100.00%> (-0.01%)
:arrow_down:

go-1.18
98.26% <100.00%> (-0.01%)
:arrow_down:

macos-latest
98.36% <100.00%> (-0.01%)
:arrow_down:

ubuntu-latest
98.36% <100.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

tree.go
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


FileExistsError: [Errno 17] File exists: '/output/results.json'

with Docker test (run_and_time.sh) resulting error
./run_and_time.sh tf resnet50 [cpu/gpu]
Traceback (most recent call last):
File "python/main.py", line 541, in
main()
File "python/main.py", line 450, in main
os.makedirs(output_dir, exist_ok=True)
File "/opt/anaconda3/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/output/results.json'
ENDING RUN AT.......

I have not tested the docker images for a little.
I'll take a look and give it a test.

Thx Guenther.
Appears problem with run_helper.sh line 15
python3 python/main.py $opts --output /output/results.json
may require something like
python3 python/main.py $opts --output $OUTPUT_DIR/results.json

Thx Guenther. Verified fixed

Verified Resolved


feat: cloud functions tutorial

Add Cloud Functions tutorial.
This isn't very different from the tutorial on Cloud Run, but some people have asked about it, so I thought I'd produce a sample.
@ssvaidyanathan, @drush1980 ; can you please test and review?  In particular I'm looking for feedback on structure and correctness.

@DinoChiesa - I see the PR still is work in progress (Draft mode)
Let us know once its complete from your end.

I think it's complete, pending review. I don't have a screencast.
Also I would like your feedback on whether it is done at the "right level".  Please advise.

ok I've rebased. I think the conflict with toplevel README is resolved. Needs further testing before merge.

Ready for review.  Please test the Tutorial.


Syncing project type updates and updating submodule

This is an automated PR

See this for a successful E2E. No code changes in this PR. Synced publication scripts from Partner Solution spec.


[Julia] Installing Julia dependencies fails (call: esmvaltool install julia)

See GH failed test, equally CircleCI fails this step too. I'll have a look, literally just landed back from holidays, so bear with me for a wee bit :bear:

I have opened https://github.com/JuliaGeo/NetCDF.jl/issues/195 and now I will proceed to commenting out NetCDF from our deps list - the few Julia recipes don't really work for us anyway, so no major drama if we keep that pkg not installed while things get fixed at upstream :beer:

after not installing NetCDF (and RainFarm, that needs NetCDF), we are in turn faced with yet another SegFault issue that is documented in https://github.com/curl/curl/issues/14860 and linked https://github.com/JuliaLang/Downloads.jl/issues/260 - all this confounded by the problem with updating Julia version, impossible at the moment due to environment insolvency.


gbimporter: handle GOROOT/GOPATH with trailing slash

Today, I configure "GOPATH" to "/xxx/", that is, with a trailing backslash, then YouCompleteMe fail to give completion because gocode consider my project as a gb project.
Hope this PR will save a whole day for guys making the same mistake.

thanks for doing this! I'm sorry you had so much trouble with this bug.


[Tooling] dotnet dev-certs issues on Mac when old certificate version is present

When an old version of the certificate is present on Mac, the tool runs into some issues:

It does not update the cert automatically. dotnet dev-certs https --check returns 0.
It causes exporting the certificate to fail dotnet dev-certs https -ep path -p password fails.
The old version is not accepted by new OS/Browsers and it causes HTTPS connections to be rejected.

Cleaning the cert and creating a new one fixes the issue.
For whomever is fixing this:

First run dotnet dev-certs https -ep cert -path and see if it fails.
Create a razor pages app and see if it works (and you can navigate to the https endpoint).
DO not run dotnet dev-certs HTTPS --clean as that will remove the cert and prevent the issue from reproing.

We want to debug this as we want to know why it is failing and we want to patch it.

I managed to get a clean repro for this issue.

On a clean machine (no .NET Core)

Install .NET Core 3.0

Run dotnet new webapp

Run the app with dotnet run

Run the app with dotnet path-to-dll

Run dotnet dev-certs https -ep ./cert.pfx -p crypticpassword

Install .NET Core 3.1

Run the app with dotnet run

Run the app with dotnet path-to-dll

The app fails to access the certificate inside the keychain

Run dotnet dev-certs https -ep ./cert.pfx -p crypticpassword

The app fails to access the certificate inside the keychain (exception below)

Run dotnet dev-certs through dotnet run -- https -ep ./cert.pfx -p crypticpassword

The app successfully exports the certificate.
This was done cloning the aspnetcore repo.

I managed to capture the exception by debugging the current version of the tool.

The exception can be found at the bottom.

At this point I believe it is an issue in .NET Core 3.1 preview1

-------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (vsdbg) with
Visual Studio Code, Visual Studio or Visual Studio for Mac software
to help you develop and test your applications.
-------------------------------------------------------------------
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/Users/jacalvar/work/AspNetCore/artifacts/bin/dotnet-dev-certs/Debug/netcoreapp3.1/dotnet-dev-certs.dll'. Symbols loaded.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Diagnostics.Debug.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Diagnostics.Process.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.ComponentModel.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Threading.Thread.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Runtime.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Text.Encoding.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Runtime.InteropServices.RuntimeInformation.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/Microsoft.Win32.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Security.Cryptography.X509Certificates.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Step into: Stepping over non-user code 'Microsoft.AspNetCore.Certificates.Generation.CertificateManager.<>c__DisplayClass46_0..ctor'
The thread 366462 has exited with code 0 (0x0).
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Collections.NonGeneric.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Security.Cryptography.Encoding.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Runtime.Numerics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Memory.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Buffers.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Security.Cryptography.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Security.Cryptography.Algorithms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Collections.Concurrent.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Step into: Stepping over property 'Microsoft.AspNetCore.Certificates.Generation.CertificateManager.DetailedEnsureCertificateResult.get_Diagnostics'. To step into properties or operators, add '"enableStepFiltering": false' to launch.json and restart debugging.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.IO.FileSystem.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'Interop.AppleCrypto.AppleCommonCryptoCryptographicException' in System.Security.Cryptography.X509Certificates.dll
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Diagnostics.StackTrace.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Reflection.Metadata.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Collections.Immutable.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.IO.MemoryMappedFiles.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

"Interop+AppleCrypto+AppleCommonCryptoCryptographicException: The user name or passphrase you entered is not correct.\n   at Interop.AppleCrypto.X509Export(X509ContentType contentType, SafeCreateHandle cfPassphrase, IntPtr[] certHandles)\n   at Interop.AppleCrypto.X509ExportPfx(IntPtr[] certHandles, SafePasswordHandle exportPassword)\n   at Internal.Cryptography.Pal.StorePal.AppleCertificateExporter.ExportPkcs12(SafePasswordHandle password)\n   at Internal.Cryptography.Pal.StorePal.AppleCertificateExporter.Export(X509ContentType contentType, SafePasswordHandle password)\n   at Internal.Cryptography.Pal.AppleCertificatePal.Export(X509ContentType contentType, SafePasswordHandle password)\n   at System.Security.Cryptography.X509Certificates.X509Certificate.Export(X509ContentType contentType, String password)\n   at Microsoft.AspNetCore.Certificates.Generation.CertificateManager.ExportCertificate(X509Certificate2 certificate, String path, Boolean includePrivateKey, String password, DiagnosticInformation diagnostics) in /Users/jacalvar/work/AspNetCore/src/Shared/CertificateGeneration/CertificateManager.cs:line 310"

This also includes the log from kestrel
dotnet ./bin/Debug/netcoreapp3.1/webappclean31.dll
dotnet ./bin/Debug/netcoreapp3.1/webappclean31.dll
dbug: Microsoft.Extensions.Hosting.Internal.Host[1]
      Hosting starting
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
      User profile is available. Using '/Users/jacalvar/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
      Reading data from file '/Users/jacalvar/.aspnet/DataProtection-Keys/key-2ba1a4f9-1a74-42f1-9dfc-66d1c8f6477f.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
      Reading data from file '/Users/jacalvar/.aspnet/DataProtection-Keys/key-90369a32-cc7f-4640-a05c-a0ddd5d8ad51.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
      Reading data from file '/Users/jacalvar/.aspnet/DataProtection-Keys/key-8be36a50-36bd-4df5-a019-a07e0660e256.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
      Reading data from file '/Users/jacalvar/.aspnet/DataProtection-Keys/key-1f4045ee-9ee7-4cd4-ac0d-3a87e9e15d0e.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
      Reading data from file '/Users/jacalvar/.aspnet/DataProtection-Keys/key-d8d2bb5d-96cd-4d03-94a4-530255a7633b.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
      Reading data from file '/Users/jacalvar/.aspnet/DataProtection-Keys/key-784f15d0-86f5-4b69-8385-56831915d539.xml'.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
      Found key {2ba1a4f9-1a74-42f1-9dfc-66d1c8f6477f}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
      Found key {90369a32-cc7f-4640-a05c-a0ddd5d8ad51}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
      Found key {8be36a50-36bd-4df5-a019-a07e0660e256}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
      Found key {1f4045ee-9ee7-4cd4-ac0d-3a87e9e15d0e}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
      Found key {d8d2bb5d-96cd-4d03-94a4-530255a7633b}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
      Found key {784f15d0-86f5-4b69-8385-56831915d539}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver[13]
      Considering key {784f15d0-86f5-4b69-8385-56831915d539} with expiration date 2019-11-15 14:03:22Z as default key.
dbug: Microsoft.AspNetCore.DataProtection.TypeForwardingActivator[0]
      Forwarded activator type request from Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60 to Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60
dbug: Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory[11]
      Using managed symmetric algorithm 'System.Security.Cryptography.Aes'.
dbug: Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory[10]
      Using managed keyed hash algorithm 'System.Security.Cryptography.HMACSHA256'.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider[2]
      Using key {784f15d0-86f5-4b69-8385-56831915d539} as the default key.
dbug: Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService[0]
      Key ring with default key {784f15d0-86f5-4b69-8385-56831915d539} was loaded during application startup.
dbug: Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer[2]
      Failed to locate the development https certificate at '(null)'.
dbug: Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer[0]
      Using development certificate: CN=localhost (Thumbprint: 163AB9BC6FB63A5504E690BC3603E0931557FCD8)
dbug: Microsoft.AspNetCore.Server.Kestrel[0]
      No listening endpoints were configured. Binding to http://localhost:5000 and https://localhost:5001 by default.
info: Microsoft.Hosting.Lifetime[0]
      Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
      Now listening on: https://localhost:5001
dbug: Microsoft.AspNetCore.Hosting.Diagnostics[0]
      Loaded hosting startup assembly webappclean31
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /Users/jacalvar/work/validation/webappclean31
dbug: Microsoft.Extensions.Hosting.Internal.Host[2]
      Hosting started
dbug: Microsoft.AspNetCore.Server.Kestrel[39]
      Connection id "0HLQJPMSPDN1D" accepted.
dbug: Microsoft.AspNetCore.Server.Kestrel[1]
      Connection id "0HLQJPMSPDN1D" started.
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:5000/
dbug: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[0]
      Wildcard detected, all requests with hosts will be allowed.
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
dbug: Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware[1]
      The request is insecure. Skipping HSTS header.
dbug: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[5]
      Https port '5001' discovered from server endpoints.
dbug: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[1]
      Redirecting to 'https://localhost:5001/'.
dbug: Microsoft.AspNetCore.Server.Kestrel[9]
      Connection id "0HLQJPMSPDN1D" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 13.8035ms 307
dbug: Microsoft.AspNetCore.Server.Kestrel[39]
      Connection id "0HLQJPMSPDN1E" accepted.
dbug: Microsoft.AspNetCore.Server.Kestrel[1]
      Connection id "0HLQJPMSPDN1E" started.
dbug: Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware[1]
      Failed to authenticate HTTPS connection.
System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.
 ---> Interop+AppleCrypto+SslException: Internal error
   --- End of inner exception stack trace ---
   at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
   at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslStream.ProcessAuthentication(LazyAsyncResult lazyResult, CancellationToken cancellationToken)
   at System.Net.Security.SslStream.BeginAuthenticateAsServer(SslServerAuthenticationOptions sslServerAuthenticationOptions, CancellationToken cancellationToken, AsyncCallback asyncCallback, Object asyncState)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsServerAsync>b__69_0(SslServerAuthenticationOptions arg1, CancellationToken arg2, AsyncCallback callback, Object state)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl[TArg1,TArg2](Func`5 beginMethod, Func`2 endFunction, Action`1 endAction, TArg1 arg1, TArg2 arg2, Object state, TaskCreationOptions creationOptions)
   at System.Threading.Tasks.TaskFactory.FromAsync[TArg1,TArg2](Func`5 beginMethod, Action`1 endMethod, TArg1 arg1, TArg2 arg2, Object state, TaskCreationOptions creationOptions)
   at System.Threading.Tasks.TaskFactory.FromAsync[TArg1,TArg2](Func`5 beginMethod, Action`1 endMethod, TArg1 arg1, TArg2 arg2, Object state)
   at System.Net.Security.SslStream.AuthenticateAsServerAsync(SslServerAuthenticationOptions sslServerAuthenticationOptions, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware.InnerOnConnectionAsync(ConnectionContext context)
dbug: Microsoft.AspNetCore.Server.Kestrel[2]
      Connection id "0HLQJPMSPDN1E" stopped.
dbug: Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets[7]
      Connection id "0HLQJPMSPDN1E" sending FIN because: "The Socket transport's send loop completed gracefully."

dotnet run
dotnet run
dbug: Microsoft.Extensions.Hosting.Internal.Host[1]
      Hosting starting
info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
      User profile is available. Using '/Users/jacalvar/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
      Reading data from file '/Users/jacalvar/.aspnet/DataProtection-Keys/key-2ba1a4f9-1a74-42f1-9dfc-66d1c8f6477f.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
      Reading data from file '/Users/jacalvar/.aspnet/DataProtection-Keys/key-90369a32-cc7f-4640-a05c-a0ddd5d8ad51.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
      Reading data from file '/Users/jacalvar/.aspnet/DataProtection-Keys/key-8be36a50-36bd-4df5-a019-a07e0660e256.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
      Reading data from file '/Users/jacalvar/.aspnet/DataProtection-Keys/key-1f4045ee-9ee7-4cd4-ac0d-3a87e9e15d0e.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
      Reading data from file '/Users/jacalvar/.aspnet/DataProtection-Keys/key-d8d2bb5d-96cd-4d03-94a4-530255a7633b.xml'.
dbug: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[37]
      Reading data from file '/Users/jacalvar/.aspnet/DataProtection-Keys/key-784f15d0-86f5-4b69-8385-56831915d539.xml'.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
      Found key {2ba1a4f9-1a74-42f1-9dfc-66d1c8f6477f}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
      Found key {90369a32-cc7f-4640-a05c-a0ddd5d8ad51}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
      Found key {8be36a50-36bd-4df5-a019-a07e0660e256}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
      Found key {1f4045ee-9ee7-4cd4-ac0d-3a87e9e15d0e}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
      Found key {d8d2bb5d-96cd-4d03-94a4-530255a7633b}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[18]
      Found key {784f15d0-86f5-4b69-8385-56831915d539}.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver[13]
      Considering key {784f15d0-86f5-4b69-8385-56831915d539} with expiration date 2019-11-15 14:03:22Z as default key.
dbug: Microsoft.AspNetCore.DataProtection.TypeForwardingActivator[0]
      Forwarded activator type request from Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60 to Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.AuthenticatedEncryptorDescriptorDeserializer, Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60
dbug: Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory[11]
      Using managed symmetric algorithm 'System.Security.Cryptography.Aes'.
dbug: Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ManagedAuthenticatedEncryptorFactory[10]
      Using managed keyed hash algorithm 'System.Security.Cryptography.HMACSHA256'.
dbug: Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider[2]
      Using key {784f15d0-86f5-4b69-8385-56831915d539} as the default key.
dbug: Microsoft.AspNetCore.DataProtection.Internal.DataProtectionHostedService[0]
      Key ring with default key {784f15d0-86f5-4b69-8385-56831915d539} was loaded during application startup.
dbug: Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer[2]
      Failed to locate the development https certificate at '(null)'.
dbug: Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer[0]
      Using development certificate: CN=localhost (Thumbprint: 163AB9BC6FB63A5504E690BC3603E0931557FCD8)
info: Microsoft.Hosting.Lifetime[0]
      Now listening on: https://localhost:5001
info: Microsoft.Hosting.Lifetime[0]
      Now listening on: http://localhost:5000
dbug: Microsoft.AspNetCore.Hosting.Diagnostics[0]
      Loaded hosting startup assembly webappclean31
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /Users/jacalvar/work/validation/webappclean31
dbug: Microsoft.Extensions.Hosting.Internal.Host[2]
      Hosting started
dbug: Microsoft.AspNetCore.Server.Kestrel[39]
      Connection id "0HLQJPNJM1BN5" accepted.
dbug: Microsoft.AspNetCore.Server.Kestrel[1]
      Connection id "0HLQJPNJM1BN5" started.
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET http://localhost:5000/
dbug: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[0]
      Wildcard detected, all requests with hosts will be allowed.
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
dbug: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[5]
      Https port '5001' discovered from server endpoints.
dbug: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[1]
      Redirecting to 'https://localhost:5001/'.
dbug: Microsoft.AspNetCore.Server.Kestrel[9]
      Connection id "0HLQJPNJM1BN5" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 16.4956ms 307
dbug: Microsoft.AspNetCore.Server.Kestrel[39]
      Connection id "0HLQJPNJM1BN6" accepted.
dbug: Microsoft.AspNetCore.Server.Kestrel[1]
      Connection id "0HLQJPNJM1BN6" started.
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET https://localhost:5001/
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[4]
      The request path / does not match a supported file type
dbug: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[3]
      Initializing Razor view compiler with compiled view: '/Pages/Error.cshtml'.
dbug: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[3]
      Initializing Razor view compiler with compiled view: '/Pages/Index.cshtml'.
dbug: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[3]
      Initializing Razor view compiler with compiled view: '/Pages/Privacy.cshtml'.
dbug: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[3]
      Initializing Razor view compiler with compiled view: '/Pages/Shared/_Layout.cshtml'.
dbug: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[3]
      Initializing Razor view compiler with compiled view: '/Pages/Shared/_ValidationScriptsPartial.cshtml'.
dbug: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[3]
      Initializing Razor view compiler with compiled view: '/Pages/_ViewImports.cshtml'.
dbug: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[3]
      Initializing Razor view compiler with compiled view: '/Pages/_ViewStart.cshtml'.
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1001]
      1 candidate(s) found for the request path '/'
dbug: Microsoft.AspNetCore.Routing.Matching.DfaMatcher[1005]
      Endpoint 'Page: /Index' with route pattern '' is valid for the request path '/'
trce: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[5]
      Located compiled view for view at path '/Pages/Index.cshtml'.
dbug: Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware[1]
      Request matched endpoint '/Index'
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint '/Index'
dbug: Microsoft.AspNetCore.Mvc.ModelBinding.ModelBinderFactory[12]
      Registered model binder providers, in the following order: Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexTypeModelBinderProvider
trce: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[5]
      Located compiled view for view at path '/Pages/_ViewStart.cshtml'.
trce: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[7]
      Could not find a file for view at path '/_ViewStart.cshtml'.
info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[3]
      Route matched with {page = "/Index"}. Executing page /Index
dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1]
      Execution plan of authorization filters (in the following order): Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter
dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1]
      Execution plan of resource filters (in the following order): Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter
dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1]
      Execution plan of action filters (in the following order): Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)
dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1]
      Execution plan of exception filters (in the following order): None
dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1]
      Execution plan of result filters (in the following order): Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[2]
      Authorization Filter: Before executing OnAuthorizationAsync on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[3]
      Authorization Filter: After executing OnAuthorizationAsync on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[2]
      Resource Filter: Before executing OnResourceExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[3]
      Resource Filter: After executing OnResourceExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter.
dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[101]
      Executing page model factory for page webappclean31.Pages.Pages_Index (webappclean31.Views)
dbug: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[102]
      Executed page model factory for page webappclean31.Pages.Pages_Index (webappclean31.Views)
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1]
      Page Filter: Before executing OnPageHandlerSelectionAsync on filter Microsoft.AspNetCore.Mvc.Filters.PageHandlerPageFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[2]
      Page Filter: After executing OnPageHandlerSelectionAsync on filter Microsoft.AspNetCore.Mvc.Filters.PageHandlerPageFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1]
      Page Filter: Before executing OnPageHandlerSelected on filter Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandleOptionsRequestsPageFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1]
      Page Filter: Before executing OnPageHandlerExecutionAsync on filter Microsoft.AspNetCore.Mvc.Filters.PageHandlerPageFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1]
      Page Filter: Before executing OnPageHandlerExecuting on filter Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandleOptionsRequestsPageFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[2]
      Page Filter: After executing OnPageHandlerExecuting on filter Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandleOptionsRequestsPageFilter.
info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[101]
      Executing handler method webappclean31.Pages.IndexModel.OnGet - ModelState is Valid
info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[102]
      Executed handler method OnGet, returned result .
info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[103]
      Executing an implicit handler method - ModelState is Valid
info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[104]
      Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[1]
      Page Filter: Before executing OnPageHandlerExecuted on filter Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandleOptionsRequestsPageFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[2]
      Page Filter: After executing OnPageHandlerExecuted on filter Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.HandleOptionsRequestsPageFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[2]
      Page Filter: After executing OnPageHandlerExecutionAsync on filter Microsoft.AspNetCore.Mvc.Filters.PageHandlerPageFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[2]
      Result Filter: Before executing OnResultExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[3]
      Result Filter: After executing OnResultExecuting on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[4]
      Before executing action result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
dbug: Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine[1]
      View lookup cache miss for view '_Layout' in controller '(null)'.
trce: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[7]
      Could not find a file for view at path '/Pages/_Layout.cshtml'.
trce: Microsoft.AspNetCore.Mvc.Razor.Compilation.DefaultViewCompiler[5]
      Located compiled view for view at path '/Pages/Shared/_Layout.cshtml'.
dbug: Microsoft.AspNetCore.Routing.DefaultLinkGenerator[100]
      Found the endpoints Page: /Index for address Microsoft.AspNetCore.Routing.RouteValuesAddress
dbug: Microsoft.AspNetCore.Routing.DefaultLinkGenerator[102]
      Successfully processed template  for Page: /Index resulting in  and
dbug: Microsoft.AspNetCore.Routing.DefaultLinkGenerator[105]
      Link generation succeeded for endpoints Page: /Index with result /
dbug: Microsoft.AspNetCore.Routing.DefaultLinkGenerator[100]
      Found the endpoints Page: /Index for address Microsoft.AspNetCore.Routing.RouteValuesAddress
dbug: Microsoft.AspNetCore.Routing.DefaultLinkGenerator[102]
      Successfully processed template  for Page: /Index resulting in  and
dbug: Microsoft.AspNetCore.Routing.DefaultLinkGenerator[105]
      Link generation succeeded for endpoints Page: /Index with result /
dbug: Microsoft.AspNetCore.Routing.DefaultLinkGenerator[100]
      Found the endpoints Page: /Privacy for address Microsoft.AspNetCore.Routing.RouteValuesAddress
dbug: Microsoft.AspNetCore.Routing.DefaultLinkGenerator[102]
      Successfully processed template Privacy for Page: /Privacy resulting in /Privacy and
dbug: Microsoft.AspNetCore.Routing.DefaultLinkGenerator[105]
      Link generation succeeded for endpoints Page: /Privacy with result /Privacy
dbug: Microsoft.AspNetCore.Routing.DefaultLinkGenerator[100]
      Found the endpoints Page: /Privacy for address Microsoft.AspNetCore.Routing.RouteValuesAddress
dbug: Microsoft.AspNetCore.Routing.DefaultLinkGenerator[102]
      Successfully processed template Privacy for Page: /Privacy resulting in /Privacy and
dbug: Microsoft.AspNetCore.Routing.DefaultLinkGenerator[105]
      Link generation succeeded for endpoints Page: /Privacy with result /Privacy
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[5]
      After executing action result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[2]
      Result Filter: Before executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[3]
      Result Filter: After executing OnResultExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[2]
      Resource Filter: Before executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter.
trce: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[3]
      Resource Filter: After executing OnResourceExecuted on filter Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter.
info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[4]
      Executed page /Index in 170.9765ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint '/Index'
dbug: Microsoft.AspNetCore.Server.Kestrel[9]
      Connection id "0HLQJPNJM1BN6" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 328.3339ms 200 text/html; charset=utf-8
dbug: Microsoft.AspNetCore.Server.Kestrel[39]
      Connection id "0HLQJPNJM1BN7" accepted.
dbug: Microsoft.AspNetCore.Server.Kestrel[1]
      Connection id "0HLQJPNJM1BN7" started.
dbug: Microsoft.AspNetCore.Server.Kestrel[39]
      Connection id "0HLQJPNJM1BN8" accepted.
dbug: Microsoft.AspNetCore.Server.Kestrel[1]
      Connection id "0HLQJPNJM1BN8" started.
dbug: Microsoft.AspNetCore.Server.Kestrel[39]
      Connection id "0HLQJPNJM1BN9" accepted.
dbug: Microsoft.AspNetCore.Server.Kestrel[39]
      Connection id "0HLQJPNJM1BNA" accepted.
dbug: Microsoft.AspNetCore.Server.Kestrel[1]
      Connection id "0HLQJPNJM1BN9" started.
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET https://localhost:5001/lib/bootstrap/dist/css/bootstrap.min.css
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
trce: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[0]
      Range header's value is empty.
dbug: Microsoft.AspNetCore.Server.Kestrel[1]
      Connection id "0HLQJPNJM1BNA" started.
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/lib/bootstrap/dist/css/bootstrap.min.css'. Physical path: '/Users/jacalvar/work/validation/webappclean31/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css'
dbug: Microsoft.AspNetCore.Server.Kestrel[9]
      Connection id "0HLQJPNJM1BN6" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 56.0355ms 200 text/css
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET https://localhost:5001/css/site.css
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
trce: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[0]
      Range header's value is empty.
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/css/site.css'. Physical path: '/Users/jacalvar/work/validation/webappclean31/wwwroot/css/site.css'
dbug: Microsoft.AspNetCore.Server.Kestrel[9]
      Connection id "0HLQJPNJM1BN7" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 0.5293ms 200 text/css
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET https://localhost:5001/lib/jquery/dist/jquery.min.js
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
trce: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[0]
      Range header's value is empty.
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET https://localhost:5001/lib/bootstrap/dist/js/bootstrap.bundle.min.js
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
trce: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[0]
      Range header's value is empty.
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/lib/jquery/dist/jquery.min.js'. Physical path: '/Users/jacalvar/work/validation/webappclean31/wwwroot/lib/jquery/dist/jquery.min.js'
dbug: Microsoft.AspNetCore.Server.Kestrel[9]
      Connection id "0HLQJPNJM1BN6" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 4.2159ms 200 application/javascript
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/lib/bootstrap/dist/js/bootstrap.bundle.min.js'. Physical path: '/Users/jacalvar/work/validation/webappclean31/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js'
dbug: Microsoft.AspNetCore.Server.Kestrel[9]
      Connection id "0HLQJPNJM1BN7" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 2.4162ms 200 application/javascript
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET https://localhost:5001/js/site.js?v=dLGP40S79Xnx6GqUthRF6NWvjvhQ1nOvdVSwaNcgG18
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
trce: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[0]
      Range header's value is empty.
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/js/site.js'. Physical path: '/Users/jacalvar/work/validation/webappclean31/wwwroot/js/site.js'
dbug: Microsoft.AspNetCore.Server.Kestrel[9]
      Connection id "0HLQJPNJM1BN7" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 0.2242ms 200 application/javascript
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/1.1 GET https://localhost:5001/favicon.ico
trce: Microsoft.AspNetCore.HostFiltering.HostFilteringMiddleware[2]
      All hosts are allowed.
trce: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[0]
      Range header's value is empty.
info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
      Sending file. Request path: '/favicon.ico'. Physical path: '/Users/jacalvar/work/validation/webappclean31/wwwroot/favicon.ico'
dbug: Microsoft.AspNetCore.Server.Kestrel[9]
      Connection id "0HLQJPNJM1BN7" completed keep alive response.
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 1.2431ms 200 image/x-icon

dev-certs export exception
-------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (vsdbg) with
Visual Studio Code, Visual Studio or Visual Studio for Mac software
to help you develop and test your applications.
-------------------------------------------------------------------
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/Users/jacalvar/work/AspNetCore/artifacts/bin/dotnet-dev-certs/Debug/netcoreapp3.1/dotnet-dev-certs.dll'. Symbols loaded.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Diagnostics.Debug.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Diagnostics.Process.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.ComponentModel.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Threading.Thread.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Runtime.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Text.Encoding.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Collections.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Runtime.InteropServices.RuntimeInformation.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Runtime.InteropServices.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/Microsoft.Win32.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Security.Cryptography.X509Certificates.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Step into: Stepping over non-user code 'Microsoft.AspNetCore.Certificates.Generation.CertificateManager.<>c__DisplayClass46_0..ctor'
The thread 366462 has exited with code 0 (0x0).
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Collections.NonGeneric.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Security.Cryptography.Encoding.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Runtime.Numerics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Memory.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Buffers.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Security.Cryptography.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Security.Cryptography.Algorithms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Collections.Concurrent.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Step into: Stepping over property 'Microsoft.AspNetCore.Certificates.Generation.CertificateManager.DetailedEnsureCertificateResult.get_Diagnostics'. To step into properties or operators, add '"enableStepFiltering": false' to launch.json and restart debugging.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.IO.FileSystem.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'Interop.AppleCrypto.AppleCommonCryptoCryptographicException' in System.Security.Cryptography.X509Certificates.dll
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Diagnostics.StackTrace.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Reflection.Metadata.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.Collections.Immutable.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/usr/local/share/dotnet/shared/Microsoft.NETCore.App/3.1.0-preview1.19506.1/System.IO.MemoryMappedFiles.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
e.ToString()
"Interop+AppleCrypto+AppleCommonCryptoCryptographicException: The user name or passphrase you entered is not correct.\n   at Interop.AppleCrypto.X509Export(X509ContentType contentType, SafeCreateHandle cfPassphrase, IntPtr[] certHandles)\n   at Interop.AppleCrypto.X509ExportPfx(IntPtr[] certHandles, SafePasswordHandle exportPassword)\n   at Internal.Cryptography.Pal.StorePal.AppleCertificateExporter.ExportPkcs12(SafePasswordHandle password)\n   at Internal.Cryptography.Pal.StorePal.AppleCertificateExporter.Export(X509ContentType contentType, SafePasswordHandle password)\n   at Internal.Cryptography.Pal.AppleCertificatePal.Export(X509ContentType contentType, SafePasswordHandle password)\n   at System.Security.Cryptography.X509Certificates.X509Certificate.Export(X509ContentType contentType, String password)\n   at Microsoft.AspNetCore.Certificates.Generation.CertificateManager.ExportCertificate(X509Certificate2 certificate, String path, Boolean includePrivateKey, String password, DiagnosticInformation diagnostics) in /Users/jacalvar/work/AspNetCore/src/Shared/CertificateGeneration/CertificateManager.cs:line 310"

Repro steps on macOS 10.14.6:

Uninstall .NET core sdks - Use https://github.com/dotnet/cli/blob/master/scripts/obtain/uninstall/dotnet-uninstall-pkgs.sh
Delete localhost certificates from KeyChain
Install .NET Core 3.0.100 SDK
dotnet new webapp
dotnet build
dotnet run will fail since there are no certs
dotnet bin/Debug/netcore30/test.dll will run on http not https
export ASPNETCORE_URLS="https://localhost:5001;http://localhost:5000"
dotnet bin/Debug/netcore30/test.dll  will fail since there are no certs
dotnet dev-certs https --trust
dotnet bin/Debug/netcore30/test.dll now works - https://localhost:5001 can be opened in browser
Install .NET Core 3.1 preview 1 dotnet-sdk-3.1.100-preview1-014459-osx-x64
dotnet bin/Debug/netcore30/test.dll Cannot open https://localhost:5001 in browser

This machine is not a clean machine. It has had other .NET Core sdks installed
Debugging this in VS Mac:
Exception thrown: 'System.DllNotFoundException' in Microsoft.AspNetCore.Cryptography.Internal.dll

Errors after: Now listening on: https://localhost:5001
VS Mac is trying to connect to the localhost port here:
Exception thrown: 'System.Security.Authentication.AuthenticationException' in System.Private.CoreLib.dll
Exception thrown: 'System.Security.Authentication.AuthenticationException' in System.Net.Security.dll
Exception thrown: 'System.Security.Authentication.AuthenticationException' in System.Net.Security.dll
Exception thrown: 'System.Security.Authentication.AuthenticationException' in System.Private.CoreLib.dll
Exception thrown: 'System.ObjectDisposedException' in System.Net.Sockets.dll
Exception thrown: 'System.ObjectDisposedException' in System.Private.CoreLib.dll

Exception thrown: 'System.DllNotFoundException' in Microsoft.AspNetCore.Cryptography.Internal.dll

This issue seems unrelated and like based on some state on the machine. I haven't experienced it.
I think the repro can be simplified.

Install 3.0. Make sure the first run experience runs and there is a certificate in the key chain.
Run dotnet dev-certs https -ep ./cert30.pfx -p password
Install 3.1 (doesn't matter if the first run experience runs).
Run dotnet dev-certs https -ep ./cert31.pfx -p password

I have a hunch that the two exceptions happen for the same reason (both cases fail when they try to access the key material), so using this simplified repro might be an easier way to investigate.

I could not reproduce it neither on 10.14 nor on 10.15.
I did several different variations including upgrade from 10.14 -> 10.15 and it works as expected
Tomass-Mac:Downloads furt$ ~/dotnet-3.1-preview1/dotnet dev-certs https -ep ./cert31.pfx -p password
A valid HTTPS certificate is already present.

Tomass-Mac:Downloads furt$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.15
BuildVersion:	19A603
Tomass-Mac:Downloads furt$ csrutil  status
System Integrity Protection status: enabled.

I think there is something about how we install or consume dotnet or it is related to some system configuration or state. The system I'm using has default configuration. Installed 10.14.6 and then I did upgrade to 10.15. I don't know if it matters to use installer or just binaries. The symptoms @mrward is reporting looks like some corrupted install.

@wfurt Thanks for looking into this. I haven't changed anything on the Mac configuration I'm using. Is there anything I can run on my machine that would give you more details?

I ran sw_vers and csrutil  status and the only difference I find on my machine is that the build number says its BuildVersion:	19A602.
I've checked for updates and the OS says it's up to date

There are few things you can try to get some more info.
Find PID for securityd and run before export.
 log stream --process <PID>

(you can skip PID but that may be noisy. Check if you see anything interesting there.
run before trying export.
security unlock-keychain
Disable temporarily extended security (needs to be done from recovery mode)
csrutil disable

@javiercn is this still a concern?


Make gem work with Ruby 2.2.3

Comment from https://github.com/twitter/secureheaders/pull/173#issue-109281205 applies here as well since the only difference is a commit message.

:metal: please enable 2.2 in .travis.yml so we can see it passing.
THANK YOU!!!

You are welcome :)
Build is faliing for 2.2, unfortunately:
$ bundle exec rake

..........................................................................................................................................................................................

Finished in 0.53425 seconds (files took 0.26922 seconds to load)
186 examples, 0 failures

/home/travis/build/twitter/secureheaders/fixtures/rails_3_2_12
/home/travis/build/twitter/secureheaders/vendor/bundle/ruby/2.2.0/gems/activesupport-3.2.12/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now Rack::File headers parameter replaces cache_control after Rack 1.5.
Ruby 2.2+ is not supported on Rails 3.2.12. Check the Rails release notes for the appropriate update with support.

rake aborted!
Header tests with app not using initializer failed exit code: pid 2562 exit 1
/home/travis/build/twitter/secureheaders/Rakefile:24:in `block in <top (required)>'
/home/travis/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `eval'
/home/travis/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => default => all_spec
(See full trace by running task with --trace)

The command "bundle exec rake" exited with 1.

Ah, I see. Well Rails 3.2.22 supports 2.0. I'll update those tests.

I've got it working in https://github.com/twitter/secureheaders/pull/175, closing this out.