简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM