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

This topic contains 13 replies, has 3 voices, and was last updated by  Hillel Coren 6 days, 19 hours ago.

Viewing 14 posts - 1 through 14 (of 14 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 2 months ago by  waveworm.
    • This reply was modified 2 months ago by  waveworm.
    #22102

    Hillel Coren
    Keymaster

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

    #22770

    waveworm
    Participant

    Yes, all my user info is filled out.null

    • This reply was modified 1 week, 1 day ago by  waveworm.
    • This reply was modified 1 week, 1 day ago by  waveworm.
    #22773

    waveworm
    Participant

    null

    #22774

    waveworm
    Participant

    <a href="https://ibb.co/Fn0XCsf"><img src="https://i.ibb.co/7bRQLgT/Annotation-2019-11-28-071742.png" alt="Annotation-2019-11-28-071742" border="0"></a>

    #22797

    Hillel Coren
    Keymaster

    What do you see if your run this SQL query

    select id, email, first_name from users;

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

You must be logged in to reply to this topic.

Posted in: