myzinsky / cloudLogOffline

An App as Offline Frontend for CloudLog
GNU Lesser General Public License v3.0
17 stars 7 forks source link

API sync to Cloudlog instance fails possibly when running in virtual folder on webserver #88

Closed c-o-m-m-a-n-d-e-r-d-a-t-a closed 8 months ago

c-o-m-m-a-n-d-e-r-d-a-t-a commented 11 months ago

Steps to reproduce:

  1. Have Cloudlog running in a virtual folder on your webserver (eg https://mydomain.me/cloudlog ) - this can't be that unusual?
  2. Configure cloudLogOffline with read/write API key generated in Cloudlog, and hostname as hostname/cloudlog along with https proto
  3. hit 'Test API Key'

Result:

No output at all, when hitting 'Test API Key', or when attempting to 'export' and 'upload QSOs to Cloudlog' - it silently fails on both.

This behaviour is observed both on Android version 1.1.4 as downloaded from Aurora app store, and when compiled on desktop (version 1.1.5)

myzinsky commented 11 months ago

Have you tried "mydomain.me/cloudlog" as url, without "https://" in the string?

c-o-m-m-a-n-d-e-r-d-a-t-a commented 11 months ago

Yup, tried both. On the desktop version, it actually removes the 'https://' for you, and behaviour is still same.

myzinsky commented 10 months ago

@phl0 any ideas?

myzinsky commented 8 months ago

Did that resolve?

c-o-m-m-a-n-d-e-r-d-a-t-a commented 8 months ago

Hi Matthias,

Unfortunately not... If I push the test the API key button nothing happens, equally the Upload to cloudlog button causes nothing to happen.

I have been exporting to adi for now :-)

Thanks,

Andy

On 2 January 2024 19:21:13 GMT, Matthias Jung @.***> wrote:

Did that resolve?

-- Reply to this email directly or view it on GitHub: https://github.com/myzinsky/cloudLogOffline/issues/88#issuecomment-1874444907 You are receiving this because you authored the thread.

Message ID: @.***>

c-o-m-m-a-n-d-e-r-d-a-t-a commented 8 months ago

I am on mobile app 1.1.4 , wondering if there is an update although I don't see one in the store...

On 2 January 2024 19:21:13 GMT, Matthias Jung @.***> wrote:

Did that resolve?

-- Reply to this email directly or view it on GitHub: https://github.com/myzinsky/cloudLogOffline/issues/88#issuecomment-1874444907 You are receiving this because you authored the thread.

Message ID: @.***>

myzinsky commented 8 months ago

I cannot reproduce your problem. I tried it with my instance it works there.

1.1.5 is currenlty in preparation for iOS, Android follow later.

myzinsky commented 8 months ago

I just installed Cloudlog that way:

image

It just works. So I have no idea, but I think its on your end ... maybe wrong config at your server?

c-o-m-m-a-n-d-e-r-d-a-t-a commented 8 months ago

I actually worked it out - when you said it could be server config... it's actually how you enter the config in the app - if you put the trailing slash on the URL, then you get a 404 in the server logs eg "POST /cloudlog//index.php/api/qso HTTP/1.1" 404 539 "-" "CloudLogOffline v1.1.4"

-----Original Message----- From: Matthias Jung Reply-To: myzinsky/cloudLogOffline To: myzinsky/cloudLogOffline Cc: c-o-m-m-a-n-d-e-r-d-a-t-a, Author Subject: Re: [myzinsky/cloudLogOffline] API sync to Cloudlog instance fails possibly when running in virtual folder on webserver (Issue #88) Date: 06/01/24 22:47:24

Closed #88 as completed.