D365: Symbols won´t download (SSL error) (updated) (solved)

txeriff
Member Posts: 515
update 3:
At the end, I closed vstudio tryed again and symbols downloaded. Not sure why ...
but I never managed using docker.
thanks anyway.
Update2:
Hi,
i decided to swtich cloud test account, things look better but still, can´t download symbols! any idea? thanks!
[2019-12-11 15:08:22.66] Using reference symbols cache path: c:\Users\XXXXX\Documents\AL\ALBook\./.alpackages
[2019-12-11 15:08:22.67] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=15.0.0.0
[2019-12-11 15:08:22.70] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System Application&versionText=1.0.0.0
[2019-12-11 15:08:22.70] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Base Application&versionText=15.0.0.0
[2019-12-11 15:08:23.43] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=1.0.0.0 failed with code BadRequest. Reason: Bad Request
[2019-12-11 15:08:23.76] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=15.0.0.0 failed with code BadRequest. Reason: Bad Request
[2019-12-11 15:08:24.32] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=15.0.0.0 failed with code BadRequest. Reason: Bad Request
[2019-12-11 15:08:24.32] Could not download reference symbols. Please ensure that:
1. The correct server name and instance are specified in the launch.json file.
2. The correct application version is specified in the app.json file.
3. The dependencies are correctly specified in the app.json file.
All looks good:
"dependencies": [
{
"appId": "63ca2fa4-4f03-4f2b-a480-172fef340d3f",
"publisher": "Microsoft",
"name": "System Application",
"version": "1.0.0.0"
},
{
"appId": "437dbf0e-84ff-417a-965d-ed2bb9650972",
"publisher": "Microsoft",
"name": "Base Application",
"version": "15.0.0.0"
}
Old:
Hi ,
I hope some1 can help.
Im trying to download symbols but for some reason, I can´t.
I get the following error:
The target Page "Customer List" for the extension object is not found ( I guess because symbols are not there yet)
And in output console, it stops in here:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
The remote certificate is invalid according to the validation procedure.
Json file:
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "Your own server",
"server": "https://172.31.250.117",
"serverInstance": "BC",
"authentication": "UserPassword",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true
}
]
}
I downloaded the provided certificate file and installed in windows (docker).
Any ideas?
thanks a lot!
Edit:
I tried to add to hosts file the server, 8e40bd3ccbe6. However, even with certtificate added to the system i get it revoked when entering
https://8e40bd3ccbe6/BC
Error Code: ERROR_INTERNET_SEC_CERT_REVOKED
At the end, I closed vstudio tryed again and symbols downloaded. Not sure why ...
but I never managed using docker.
thanks anyway.
Update2:
Hi,
i decided to swtich cloud test account, things look better but still, can´t download symbols! any idea? thanks!
[2019-12-11 15:08:22.66] Using reference symbols cache path: c:\Users\XXXXX\Documents\AL\ALBook\./.alpackages
[2019-12-11 15:08:22.67] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=15.0.0.0
[2019-12-11 15:08:22.70] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System Application&versionText=1.0.0.0
[2019-12-11 15:08:22.70] Sending request to https://api.businesscentral.dynamics.com/v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Base Application&versionText=15.0.0.0
[2019-12-11 15:08:23.43] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=1.0.0.0 failed with code BadRequest. Reason: Bad Request
[2019-12-11 15:08:23.76] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=System&versionText=15.0.0.0 failed with code BadRequest. Reason: Bad Request
[2019-12-11 15:08:24.32] The request for path /v1.0/sandbox/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=15.0.0.0 failed with code BadRequest. Reason: Bad Request
[2019-12-11 15:08:24.32] Could not download reference symbols. Please ensure that:
1. The correct server name and instance are specified in the launch.json file.
2. The correct application version is specified in the app.json file.
3. The dependencies are correctly specified in the app.json file.
All looks good:
"dependencies": [
{
"appId": "63ca2fa4-4f03-4f2b-a480-172fef340d3f",
"publisher": "Microsoft",
"name": "System Application",
"version": "1.0.0.0"
},
{
"appId": "437dbf0e-84ff-417a-965d-ed2bb9650972",
"publisher": "Microsoft",
"name": "Base Application",
"version": "15.0.0.0"
}
Old:
Hi ,
I hope some1 can help.
Im trying to download symbols but for some reason, I can´t.
I get the following error:
The target Page "Customer List" for the extension object is not found ( I guess because symbols are not there yet)
And in output console, it stops in here:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
The remote certificate is invalid according to the validation procedure.
Json file:
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "Your own server",
"server": "https://172.31.250.117",
"serverInstance": "BC",
"authentication": "UserPassword",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true
}
]
}
I downloaded the provided certificate file and installed in windows (docker).
Any ideas?
thanks a lot!
Edit:
I tried to add to hosts file the server, 8e40bd3ccbe6. However, even with certtificate added to the system i get it revoked when entering
https://8e40bd3ccbe6/BC
Error Code: ERROR_INTERNET_SEC_CERT_REVOKED
0
Answers
-
Maybe "https://172.31.250.117", should really be "http://172.31.250.117",Kyle Hardin - ArcherPoint0
-
kylehardin wrote: »Maybe "https://172.31.250.117", should really be "http://172.31.250.117",
Hi,
i tried also that but didnt work. it freezes for a while then, error.
0 -
any1??0
-
Why are you using an IP address? How did you create this docker container?Kyle Hardin - ArcherPoint0
-
any1??kylehardin wrote: »Why are you using an IP address? How did you create this docker container?
I used following MS guide. If I dont enter the IP address it cannot resolve . These are the parameters:
Container IP Address: 172.31.250.117
Container Hostname : d7da135939db
Container Dns Name : d7da135939db
Web Client : https://d7da135939db/BC/
Admin Username : admin
Admin Password : XXXXXX
Dev. Server : https://d7da135939db
Dev. ServerInstance : BC
Files:
http://d7da135939db:8080/al-4.0.194000.vsix
http://d7da135939db:8080/certificate.cer
0 -
Try the name d7da135939db in your launch.json file rather than the IP address.
I'd also advise you have a read through Freddy's blog. He's written a fantasic toolkit that really simplifies creating a BC docker container.
https://freddysblog.com/
Kyle Hardin - ArcherPoint0 -
kylehardin wrote: »Try the name d7da135939db in your launch.json file rather than the IP address.
I'd also advise you have a read through Freddy's blog. He's written a fantasic toolkit that really simplifies creating a BC docker container.
https://freddysblog.com/
I did that, obviously.
Last thing I tried is to add that name to hosts file in windows.0 -
any1?0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions