Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8150

Moved my application (Delivery Unit) to new AWS instance, xsjs service still references old IP address

$
0
0

Hello experts,

 

I did some development on an AWS instance (rev 60) and had some issues with the catalog and memory (I've read the discussions that tried to help the situation).  Since Rev 68 came out, I figured I would try to go to a clean instance and try from there.  I exported my code/Delivery Unit and I exported my catalog content from the Rev 60 server to my local machine.  I spun up a new AWS instance with Rev 68 and it booted right up.   I proceeded to import and activate my DU as well imported as my catalog content.   The strange thing is that some of my XSJS services are still pointing back to the original AWS instance IP Address and throwing errors when I load them on Webpages.  

 

In my developer tools. I can see that the origin and host are different for the request. 

The errors I see are:

XMLHttpRequest cannot load <Removed>. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://54.235.147.181:8000' is therefore not allowed access.

 

2013-12-07 10:59:42 The following problem occurred: error - ,0,error in sap-ui-core.js:77


I've tried to locate anything "hard-coded" against the old IP address, but I cannot figure out why the code is referencing the other instance.  I originally was using imbdhdb in my hosts file to point to the Rev 60 server, but I changed the reference locally - so I suspect it has something to do with that old host name mapping somewhere. 

 

It seems to be isolated to xsjs services, it my xsodata services seem to be working fine (at least they are not throwing errors). 

 

How do I resolve this?  I have tried with multiple browsers, in incognito/private mode and checked/updated my activations not in December. 

 

Thank you,

 

Jim Giffin


Viewing all articles
Browse latest Browse all 8150

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>