Skip to Content
avatar image
-1
Former Member

Not able to run xsjs file, error: site can't be reached

I created on simple XS app with help form internet, but I am getting

error : hana01’s server DNS address could not be found.

Scenario:

I am connected to a VPN which is a must to run HANA system as I am working in office.

The url which gets generated is https://hana01:4300/SampleXSapp/main.xsjs

** I have no idea from where it is picking up "hana01:4300" **

** The online tutorial had port 8000 for running it **

If I disconnect from VPN, then my HANA system goes down and the icon changes to gray from green.

I am attaching files and screenshot in case, you may check it what is wrong with any piece of code. Also please tell me if I had to make some changes in the Network to resolve this particular error.

My file "main.xsjs"

$.response.contentType = "text/html";
var output;
output = "Hello World! This is a demo of simple SAP HANA Extended Services Application. Stay tuned to learn more.";
$.response.setBody(output);

.xsaccess

{
     "exposed" : true,  
     "authentication" :  [{ "method": "Basic" }]
}

.xsapp

has no content.

HANA System

XS Project Structure

Repositories

I am able to run this XS app in my cloud trial (with or without being connected to VPN from office network)

Please advice, thanks in advance.

1.png (15.2 kB)
2.png (12.9 kB)
3.png (11.4 kB)
4.png (37.1 kB)
5.png (22.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers