Select to view content in your preferred language

error when login the Exb

429
4
05-27-2025 05:43 AM
baohuachu7
Emerging Contributor

When click the "login" button, no response. 

The browser console is as  attached.

Environment :

     portal:10.6.1

     Exb dev version: 1.17

  OS: windows server 2016s 

00022606-90b1-4d85-b2be-a47ea09240e4.png

    

 

 

Tags (1)
0 Kudos
4 Replies
Allen_Zhang
Frequent Contributor

I see CORS(Cross-Origin Resource Sharing) errors in the snapshot, which tell that https://localhost:3001 can't fetch the portal URL's resources. 

Maybe the portal admin has forbidden CORS requests?

See:  https://enterprise.arcgis.com/en/portal/latest/administer/windows/restrict-cross-domain-requests-to-...

0 Kudos
codethemap
Emerging Contributor

This might help for offline environment:
1. Create self-signed cert on IIS
2. Find and use OpenSSL (find a path of openssl.exe on your local machine)
3. Use OpenSSL to extract the certificate and key (through cmd command)
4. Move certificate files to EB installation server folder: ArcGISExperienceBuilder\server\cert
5. Import certificate into trusted store with CMD -> MMC (ref: https://learn.microsoft.com/en-us/skype-sdk/sdn/articles/installing-the-trusted-root-certificate)
6. Add HTTP response headers for JSAPI folder in IIS

0 Kudos
baohuachu7
Emerging Contributor

I have used the same Open SSL  certificate to Exb, IIS(for js SDK and calcite), portal.

It seems the issue is from offline calcite components configuration steps.

I deploy local "calcite" follow this:offline calcite configuration 

      

0 Kudos
Wei_Ying
Esri Regular Contributor

So do you mean you are working on offline environment and seeing this login error?  

0 Kudos