Issue with opening CouchDB Admin panel when running on remote cloud container

Wappler Version : 6 beta 2
Operating System : Win 11
Server Model: node
Database Type: couch
Hosting Type: docker/Digital Ocean

Expected behaviour

What do you think should happen?

Admin console should open from “Admin Panel” button

Actual behaviour

Admin Console URL shows “undefined” in place of URL

How to reproduce

THIS ONLY APPLIES TO REMOTE CLOUD COUCHDB DATABASES, THOSE HOSTED ON LOCAL DOCKER CONTAINERS WORK CORRECTLY.

In the interest of completeness i have started from the very start of the process, creating the container and onwards. Log file attached at end of post

i create a new droplet on Digital Ocean

Setup completes

i remember to turn on logging!

i add couchdb service

image

Deploy

image

I wait for services to launch

image

I add a database

image

which completes correctly

image

I add a user

image

which completes correctly

image

I grant permissions

image

which completed correctly

image

I click Admin

image

CORS button displays spinner for about 15 seconds

image

and shows message

image

Then shows CORS options

image

I click Admin Panel

image

I see undefined in URL

image

Overtyping with IP address opens the couch admin console showing it is running correctly

image

and i can login in normally

wappler.zip (2.2 KB)

This has been fixed in the latest beta updates.

This topic was automatically closed after 27 hours. New replies are no longer allowed.