Error communicating with server

Forside Forum Developer discussions Error communicating with server

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3906
    rebecca
    Participant

    Hi,We have tried to install the OpenTele-client-android .apk file on our phone. We have started the tomcat7 server which is running on port :8080 and the OpenTele-server which is running on the localhost port :8090. No matter which password and username we enter, the error "Error communicating with server" appears. We have tried a real one and a dummy one. We have tried to login with admin/admin and change the server address, but the same error still occurs. Should we change the server address somewhere in the code or? I have tried to change it in the pom.xml file inside the questionnaire.mainapp, but this doesn't help me. How does the phone know the server address it should connect to, is it according to the server address inserted in the admin user. Thanks for your time.  🙂/Rebecca

    #3931
    mikek
    Participant

    Hi,When you say you started the opentele-server on port 8090, do you mean that you started it directly from the command line, or did you generate a war file that you added to tomcat?In either case a way to test the server setup is trying to access the server from a browser, I would first try it from the same machine as the server is installed on, when you have verified that the URL is correct, then try it from a browser on the mobile device - just to give an indication if the issue is with the client, the server or with routing between the Android device and the server.The opentele-server is the clinician server, a good login/password combination for the clinician interface is helleandersen/helleandersen1.If you can't login with admin/admin in the Android app, then it could be because you are using the html5 android app, instead of the native android app.  The admin/admin login is for the native android app.(There are three ways to access the citizen interface, through a browser (the html5 interface), through the android html app, and through the native android app.)For reference you can see how (or use, depending on your needs) the servers look on the following URL'shttp://opentele-citizen.4s-online.dk/ - The server the native Android app needs to connect tohttp://opentele-html.4s-online.dk/ - The html5 interface, that you can use directly from a browser, and from the html android clienthttp://opentele-server.4s-online.dk/ - The clinician interfaceI hope the above helps.^__^Mike

    #3932
    rebecca
    Participant

    Hi again, Thanks it works. The problem was that I havn't started the citizen-server but instead the clinical-server.  🙂/ Rebeccca

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.