I do not have access to http: // localhost / csweb / api

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
jenbba
Posts: 6
Joined: April 9th, 2018, 12:34 pm

I do not have access to http: // localhost / csweb / api

Post by jenbba »

Hi, I'm starting the use of CSWEB. Below I detail the steps taken so far:
1. Full installation of CSWEB
2. access to http: // localhost / csweb / ui or by ip address http: //192.168.XX.XX/csweb/ui
3. Load dictionary at platform CSWEB
4. Local test and between my network for access from tablets is correct.

The problem I have is in the synchronization test I can not access the link http: // localhost / csweb / api or
http: // localhost / api

What am I doing wrong?
jenbba
Posts: 6
Joined: April 9th, 2018, 12:34 pm

Re: I do not have access to http: // localhost / csweb / api

Post by jenbba »

After so much searching I find this post.
http://www.csprousers.org/forum/viewtopic.php?t=1904

My error is that I was trying to access http: // localhost / csweb / api from the browser.
But with the previous indications I made the test of access from the synchronization and if it connects.

My question now is what files should be placed on the server and where exactly?
jenbba
Posts: 6
Joined: April 9th, 2018, 12:34 pm

Re: I do not have access to http: // localhost / csweb / api

Post by jenbba »

After many hours of reading I managed to synchronize. :D
For those who have the same problem, I recommend reading the instructions of the CSWEB installation attached to the download, follow the example found in the Example Folder 7.1 Synchronization in Logic and locate the project files in the folder C: \ wamp64 \ www \ csweb \ files

Thanks.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: I do not have access to http: // localhost / csweb / api

Post by josh »

Note that with CSPro 7.1 there is the deploy application tool for synchronizing the application files (.pen and .pff). If you use this tool you don't need to worry about where to put files on the server. The only limitation is that updating the application files on the device is not automatic when you use the deploy tool. You have to go to "Add application" on the tablet to do the update.

The synchronization in logic is good for advanced synchronization where you have multiple data files to sync or want to control synchronization using a menu program but if you just have one data file to sync you can just set up synchronization using the dialog under the Options-->Synchronization menu.
jenbba
Posts: 6
Joined: April 9th, 2018, 12:34 pm

Re: I do not have access to http: // localhost / csweb / api

Post by jenbba »

Thanks Josh,
I'm going to try using the application tool. We plan to implement several survey formats so we would be working with the synchronization in logic.
Best regards
Post Reply