Home Forums Support [self-hosted] Mobile App not host specified

This topic contains 9 replies, has 3 voices, and was last updated by  Hillel Coren 1 week, 6 days ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #15267

    Anonymous

    When starting the beta app and trying to connect to my self-hosted instance it delivers a strange error message:

    no host specified in URI .../api/v1/login?include=tax_rates&include_static=true

    Error Message Screenshot

    Any idea on how this comes up and how to solve this?

    #15273

    Hillel Coren
    Keymaster

    From the error it seems like something may be wrong with the URL, can you email the value you’re using to [email protected].

    Note: please make sure you’re using the latest version of the web app (v4.5.1).

    #15285

    Anonymous

    the moment you mentioned the URL… I realized I switched the suffix from .com to .de and could log in… sorry for that stupid mistake including question…

    Actually another error message came up saying deserializing failed… complete messsage again as screenshot:

    error2

    #15286

    Hillel Coren
    Keymaster

    Hmm… I’m not sure, I haven’t seen this error before.

    – Are you using v0.1.2 of the mobile app
    – Are you using v4.5.1 of the web appp
    – Have you made any manual changes to the database

    #15293

    Anonymous

    a) yes
    b) yes
    c) no

    #15294

    Hillel Coren
    Keymaster

    Can you try changing this line:

    https://github.com/invoiceninja/invoiceninja/blob/master/app/Libraries/Utils.php#L518

    From:

    });

    To

    })->values();

    #15296

    Anonymous

    Bam! That did the trick. Awesome!
    So many thanks!

    #15298

    Hillel Coren
    Keymaster

    Thanks, good to know!

    We’ll look into including this fix with our next release.

    I just need to understand why the problem doesn’t affect everyone…

    #22098

    waveworm
    Participant

    Hello,

    Running 4.5.14 and latest ISO app. having a similar issue with logging in.

    I checked that the line in the utils was correct.

    IMG-9873

    • This reply was modified 1 week, 6 days ago by  waveworm.
    • This reply was modified 1 week, 6 days ago by  waveworm.
    #22102

    Hillel Coren
    Keymaster

    In the web app on Settings > User Details are the fields filled in?

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.

Posted in: