CuriousCoder
CuriousCoder

Reputation: 1600

WebSync server on demand configuration problem

I got a websync server on demand and registered a domain at www.hariwebsync.com and got the api key. In my javascript client , i wrote

  fm.websync.client.initialize({
    requestUrl: 'request.ashx',
    stream: {
        requestUrl: 'http://www.hariwebsync.com/request.ashx'
    },
    key: '1dee9f44-dc60-47f8-b544-ba9a466a6bae' 
});

to initialize the client. But, when i am loading the html file, i get an error "page not displayed". It is not able to load the registered domain (www.hariwebsync.com).

Can someone explain what i am doing wrong here. I am completely new to WebSync. So, please put up with me.

Upvotes: 2

Views: 597

Answers (1)

Anton
Anton

Reputation: 4584

If you are using WebSync On-Demand, you don't need to specify any URLs:

fm.websync.client.init({
    key: '1dee9f44-dc60-47f8-b544-ba9a466a6bae' 
});

You should probably check out the Getting Started guide: http://docs.frozenmountain.com/#class=on-demand-getting-started-connecting-a-client

Upvotes: 1

Related Questions