Microsoft symbols don't get downloaded - 404 error [duplicate]

断了今生、忘了曾经 提交于 2020-02-24 12:37:47

问题


The Microsoft symbol servers are online but somehow I am not able to download any symbols.

I tried to narrow it down to following POC. It should just download the symbols of aadtb.dll but it returns a HTTP_STATUS_NOT_FOUND.

symchk /v /r c:\windows\system32\aadtb.dll /s SRV*c:\symbols*https://msdl.microsoft.com/download/symbols

Alternatively, I tried downloading the pdb using following different Powershell methods but this also returned 404 messages

$url = "https://msdl.microsoft.com/download/symbols/aadtb.pdb/BC45F7DA843249FFA96D9396BEE5F35D1/aadtb.pdb"
$output = "c:\test.pdb"

(New-Object System.Net.WebClient).DownloadFile($url, $output)
Invoke-WebRequest -Uri $url -OutFile $output
Start-BitsTransfer -Source $url -Destination $output

I still suspect an issue on my end but do note that I did try on two different machines and through 3 different VPN tunnels, all with the same result. It worked last Friday, 25/10 on a completely different machine at work.

Before going completely insane, can someone verify if they can still download symbols, preferably the symbols I mentioned?

Edit

kernel32.dll and ntdll give the same result snipped for brevity

symchk /v c:\windows\system32\kernel32.dll /s SRV*c:\symbols*https://msdl.microsoft.com/download/symbols
symchk /v c:\windows\system32\ntdll.dll /s SRV*c:\symbols*https://msdl.microsoft.com/download/symbols

SYMSRV:  HTTPGET: /download/symbols/kernel32.pdb/5A77DE8CE8D58731F0EA38F1C92F48D81/kernel32.pdb
SYMSRV:  HttpQueryInfo: 80190194 - HTTP_STATUS_NOT_FOUND

SYMSRV:  HTTPGET: /download/symbols/ntdll.pdb/0C2E19EA1901E9B82E4567D2D21E56D21/ntdll.pdb
SYMSRV:  HttpQueryInfo: 80190194 - HTTP_STATUS_NOT_FOUND

Edit 2

c:\Program Files (x86)\Windows Kits\10\Debuggers\x64>ver

Microsoft Windows [Version 10.0.18362.418]

Output of symchk

SRV*c:\symbols*http://msdl.microsoft.com/download/symbols

[SYMCHK] Searching for symbols to c:\windows\system32\aadtb.dll in path SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
DBGHELP: Symbol Search Path: SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
[SYMCHK] Using search path "SRV*c:\symbols*http://msdl.microsoft.com/download/symbols"
DBGHELP: No header for c:\windows\system32\aadtb.dll.  Searching for image on disk
DBGHELP: c:\windows\system32\aadtb.dll - OK
SYMSRV:  BYINDEX: 0x1
         c:\symbols*http://msdl.microsoft.com/download/symbols
         aadtb.pdb
         BC45F7DA843249FFA96D9396BEE5F35D1
SYMSRV:  UNC: c:\symbols\aadtb.pdb\BC45F7DA843249FFA96D9396BEE5F35D1\aadtb.pdb - path not found
SYMSRV:  UNC: c:\symbols\aadtb.pdb\BC45F7DA843249FFA96D9396BEE5F35D1\aadtb.pd_ - path not found
SYMSRV:  UNC: c:\symbols\aadtb.pdb\BC45F7DA843249FFA96D9396BEE5F35D1\file.ptr - path not found
SYMSRV:  HTTPGET: /download/symbols/index2.txt
SYMSRV:  HttpQueryInfo: 80190190 - HTTP_STATUS_BAD_REQUEST
SYMSRV:  HTTPGET: /download/symbols/aadtb.pdb/BC45F7DA843249FFA96D9396BEE5F35D1/aadtb.pdb
SYMSRV:  HttpQueryInfo: 80190194 - HTTP_STATUS_NOT_FOUND
SYMSRV:  HTTPGET: /download/symbols/aadtb.pdb/BC45F7DA843249FFA96D9396BEE5F35D1/aadtb.pd_
SYMSRV:  HttpQueryInfo: 80190194 - HTTP_STATUS_NOT_FOUND
SYMSRV:  HTTPGET: /download/symbols/aadtb.pdb/BC45F7DA843249FFA96D9396BEE5F35D1/file.ptr
SYMSRV:  HttpQueryInfo: 80190194 - HTTP_STATUS_NOT_FOUND
SYMSRV:  RESULT: 0x80190194
DBGHELP: aadtb - no symbols loaded
[SYMCHK] MODULE64 Info ----------------------
[SYMCHK] Struct size: 1680 bytes
[SYMCHK] Base: 0x0000000180000000
[SYMCHK] Image size: 1986560 bytes
[SYMCHK] Date: 0x5c901636
[SYMCHK] Checksum: 0x001eadb3
[SYMCHK] NumSyms: 0
[SYMCHK] SymType: SymNone
[SYMCHK] ModName: aadtb
[SYMCHK] ImageName: c:\windows\system32\aadtb.dll
[SYMCHK] LoadedImage: c:\windows\system32\aadtb.dll
[SYMCHK] PDB: ""
[SYMCHK] CV: RSDS
[SYMCHK] CV DWORD: 0x53445352
[SYMCHK] CV Data:  aadtb.pdb
[SYMCHK] PDB Sig:  0
[SYMCHK] PDB7 Sig: {BC45F7DA-8432-49FF-A96D-9396BEE5F35D}
[SYMCHK] Age: 1
[SYMCHK] PDB Matched:  TRUE
[SYMCHK] DBG Matched:  TRUE
[SYMCHK] Line nubmers: FALSE
[SYMCHK] Global syms:  FALSE
[SYMCHK] Type Info:    FALSE
[SYMCHK] ------------------------------------
SymbolCheckVersion  0x00000002
Result              0x00010001
DbgFilename         aadtb.dbg
DbgTimeDateStamp    0x00000000
DbgSizeOfImage      0x00000000
DbgChecksum         0x00000000
PdbFilename         aadtb.pdb
PdbSignature        {BC45F7DA-8432-49FF-A96D-9396BEE5F35D}
PdbDbiAge           0x00000001
[SYMCHK] [ 0x00000000 - 0x00010001 ] Checked "c:\windows\system32\aadtb.dll"
SYMCHK: aadtb.dll            FAILED  - aadtb.pdb mismatched or not found

SYMCHK: FAILED files = 1
SYMCHK: PASSED + IGNORED files = 0

Output of Powershell download methods

Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
At line:4 char:1
+ (New-Object System.Net.WebClient).DownloadFile($url, $output)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

Invoke-WebRequest : The remote server returned an error: (404) Not Found.
At line:5 char:1
+ Invoke-WebRequest -Uri $url -OutFile $output
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Start-BitsTransfer : HTTP status 404: The requested URL does not exist on the server.
At line:6 char:1
+ Start-BitsTransfer -Source $url -Destination $output
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-BitsTransfer], Exception
    + FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBitsTransferCommand

回答1:


It looks like some kinda SNAFU on Microsoft part. So, yeah, like @RbMm pointed out, send an email to WinDbgFb@microsoft.com to let them know. And maybe also tweet it to Andy Luhrs. Keep in mind though that it's a small team, and they might not be able to do anything until Monday (here in US.)




回答2:


The file simply does not exist on the server.

Can this help you?



来源:https://stackoverflow.com/questions/58582147/microsoft-symbols-dont-get-downloaded-404-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!