• Graham Reid
  • NEWBIE
  • 5 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
Having problems getting Lightning Out working.  
Getting this CORS error on sandbox with chrome.  

It looks like the following urls are in play..

https://xxxx--xxx.lightning.force.com
https://xxxx--xxx.cs32.my.salesforce.com
and the external app: https://xxxx-xxxxxx-xx.herokuapp.com

I have tried to list all three in CORS whitelist but still same error.  Any ideas?  Remote site settings needed?

Failed to load https://xxxx--xxx.lightning.force.com/c/Task.app?aura.format=JSON&aura.formatAdapter=LIGHTNING_OUT: Redirect from 'https://xxxx--xxx.lightning.force.com/c/Task.app?aura.format=JSON&aura.formatAdapter=LIGHTNING_OUT' to 'https://xxxx--xxx.cs32.my.salesforce.com/visualforce/session?url=https%3A%2F%2Fxxxx--xxx.lightning.force.com%2Fc%2FTask.app%3Faura.format%3DJSON%26aura.formatAdapter%3DLIGHTNING_OUT' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://xxxx-xxxxxx-xx.herokuapp.com' is therefore not allowed access.

Thanks
Im trying to get a Lightning Out component surfaced in an external heroku app.

The heroku page includes lightning.out.js
<script src="https://xxxx.my.salesforce.com/lightning/lightning.out.js?v=2"></script>

but in chrome this fails to load:
Failed to load resource: net::ERR_TUNNEL_CONNECTION_FAILED

I think this is something to do with my companies proxy / network config as the page will work fine when loaded outside of that network.
Any ideas on what steps are needed to solve?  Is this solvable from my end or do I need to get network folks involved?

Thanks

 
Having problems getting Lightning Out working.  
Getting this CORS error on sandbox with chrome.  

It looks like the following urls are in play..

https://xxxx--xxx.lightning.force.com
https://xxxx--xxx.cs32.my.salesforce.com
and the external app: https://xxxx-xxxxxx-xx.herokuapp.com

I have tried to list all three in CORS whitelist but still same error.  Any ideas?  Remote site settings needed?

Failed to load https://xxxx--xxx.lightning.force.com/c/Task.app?aura.format=JSON&aura.formatAdapter=LIGHTNING_OUT: Redirect from 'https://xxxx--xxx.lightning.force.com/c/Task.app?aura.format=JSON&aura.formatAdapter=LIGHTNING_OUT' to 'https://xxxx--xxx.cs32.my.salesforce.com/visualforce/session?url=https%3A%2F%2Fxxxx--xxx.lightning.force.com%2Fc%2FTask.app%3Faura.format%3DJSON%26aura.formatAdapter%3DLIGHTNING_OUT' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://xxxx-xxxxxx-xx.herokuapp.com' is therefore not allowed access.

Thanks
I am seeing the following error when attempting to check the first challenge in the Process Automation Specialist Superbadge:

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: SJNXHSJT

I am using a brand new DE org. Has anyone seen something similar for this superbadge?