Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35

Thread: Calling webservices by IP address

  1. #21
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,726
    If it works locally which you say it does and you have deployed your app and data so that the server matches exactly what you have locally it should work without messing about with IIS and SSL certificates.

    Get it working using http first.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  2. #22
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,726
    Hi Simon,

    I have looked at the issue that you have and determined that it is permissions related.

    I do not know who you are using as your ISP nor what drive they have installed LCS on.

    It appears to have no access to either the registry on the server to read the LCS configuration from and they have disabled access to environment variables.

    I would verify that you can access your apps locally on that machine to try and figure out what has been done on the installation and configure the server properly before testing.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #23
    Senior Member
    Join Date
    Jan 2014
    Posts
    262
    Hi Barry

    Now updated all machines (dev PCs and server (Windows 2008R2) to RC92.

    All installations are default ie C:\Lianja. The system account has full access permissions to C:\Lianja and subordinate folders.

    Having now transferred the entire project to the server and effectively made it a dev machine by installing LAB, it works fine on dev, app center and localhost on the server. The record saving issue seems to have resolved itself.

    The server is an exact replica of the working dev machine. The Lianja system database is untouched from standard install.

    As before, from an external IP address, we can logon and run our app fine from any pc based browser, android tablets, android phones etc but no ios devices. iPad, iPhone and Mac all exhibit the same behaviour with LCS. After entering credentials, they all stop.

    Can you replicate the above behaviour?

    LCS is running using the default "guest" account - is that correct? We have tried using a windows admin account but then we cannot log in at all (instant browser "site could not be reached") so clearly we don't understand what that is for.

    We agree that https is a long shot with ios devices but what else could be causing this specifically with ios?

    We are not sure what you mean about limiting access to registry or environment variables. This server is straight out of the box.

    We really need to get to the bottom of this as the entire project is now in jeopardy.

    Any thoughts?

    Thanks in advance


    Simon
    Last edited by SpringBox; 2019-11-18 at 12:06.

  4. #24
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    1,933
    Hi Simon,

    LCS is running using the default "guest" account
    Can you explain what you mean by that? If you are referring to LianjaPortServer.exe, that must run with sufficient permissions to perform the actions Barry described. The Server's Guest account most assuredly does not have those permissions. SYSTEM will typically work. Administrators will always work.

    Hank

  5. #25
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,726
    It has nothing to do with iOS. Have you tried accessing your apps in chrome on windows remotely. That’s not working for me either. Your reference to iOS is a red herring. You need to verify that it works from a windows browser first.

    How did you deploy your apps to that server?

    If it works locally on that machine as an administrator then it’s a permissions issue.

    The LCS does not run as a guest user. It runs as a service.

    Are you trying to deploy the development LCS to a production server? You need to purchase an LCS license.

    You state it works localhost on the server, does it work using your numeric IP address on the server? Have you looked at the server log file and/or looked for error files.

    I would suggest that you edit the registry on your server and set the Lianja DB_WWWDEBUG to true. Then try and login from windows. Submit a ticket and attach the debug files in lianja\debug. Do that same thing when logging in from iOS. This will let me see what’s going on.

    Also, that IP address you provided to me is not accessible anymore. Have you changed that? If you have you need to provide that on a ticket.
    Last edited by barrymavin; 2019-11-18 at 17:20.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  6. #26
    Senior Member
    Join Date
    Jan 2014
    Posts
    262
    Thanks Hank

    We have tried an admin account but couldn't log in. Instant age rejection in any browser.

    We will try another user with full domain admin privilidges but that still doesn't explain wht all non ios works fine but ios just hangs.

    Just made a brand new user with short name & password so nothing too long. Same again - cannot log in.

    So, why can we log in as "Guest" but not as full domain admin?

    Cheers


    Simon

  7. #27
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,726
    That’s a red herring. Leave it as is. The LCS runs as a service. Nothing to do with that at all. Turn debugging on as I requested and submit a ticket attaching the debug files.
    Last edited by barrymavin; 2019-11-18 at 17:38.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  8. #28
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,726
    I'm looking into it with some better debugging trace. Leave it with me.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  9. #29
    Senior Member
    Join Date
    Jan 2014
    Posts
    262
    Hi Barry

    We rebooted the server and now the LCS licence won't activate. We lost an activation count when we killed he previous server. Will send you our licence key by email - could you please put a couple of extra user counts on it to bring it up to norm so we can test. Obviously happy to purchase appropriate licence for production server if we can get it working.

    When working, we can log in with every browser except ios. We cannot explain that. Once we have the licence, that same IP address will be available again.



    How did you deploy your apps to that server? - having generated the web app index file and deployed, we copied the contents of:

    c:\lianja\cloudserver\tenants\public\wwwroot\apps\ <appname> folder to the matching folder on the production server and

    c:\lianja\cloudserver\tenants\public\data\<databas ename> folder to the matching folder on the production server


    If it works locally on that machine as an administrator then it’s a permissions issue. - yes if all browsers failed but it is only ios that fails.

    The LCS does not run as a guest user. It runs as a service. - understood - what is the other account option for? That means that it is not permissions for the service. What specifiacally does Lianja need in terms of registry and environment variables?

    You state it works localhost on the server, does it work using your numeric IP address on the server? not tried that one - are you thinking hairpinning?

    I would suggest that you edit the registry on your server and set the Lianja DB_WWWDEBUG to true. Then try and login from windows. Submit a ticket and attach the debug files in lianja\debug. Do that same thing when logging in from iOS. This will let me see what’s going on. Registry Done


    Thanks

    Simon
    Last edited by SpringBox; 2019-11-18 at 19:30.

  10. #30
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    5,726
    It seems that a recent safari update has messed up the use of concurrent connections.

    It works fine on chrome and firefox on the mac but not with safari. I am investigating.

    Name:  Screen Shot 2019-11-19 at 10.00.35 AM.jpg
Views: 24
Size:  110.3 KB
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Page 3 of 4 FirstFirst 1234 LastLast

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us