appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.96k stars 3.66k forks source link

[Bug]: Port not included on login #14505

Open disl-pdavid opened 2 years ago

disl-pdavid commented 2 years ago

Is there an existing issue for this?

Description

Running locally on docker and using a different port in my docker-compose.yml:

services:
  appsmith:
    image: appsmith/appsmith-ce:latest
    container_name: appsmith
    ports:
      - "8080:80"
      - "443:443"

Everything works fine but during the login after submitting the Email/Password I get redirected to localhost/applications (w/o the port). Either manually adding the port or going back will load the correct page at that point.

Steps To Reproduce

  1. Docker install - use port 8080 on the host to 80 in the container (see above).
  2. Login with credentials.
  3. Get redirected to the page w/o the port. :(

Public Sample App

No response

Version

Self-hosted 1.7.1

sum35h commented 2 years ago

Hi @disl-pdavid , We believe it is an inginx issue since 8080 is being used by the backend server process. Meanwhile until we find a solve, you can use any other port other then 8080 on the host.

notflip commented 1 year ago

Thanks @sum35h this works for me!