mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-04-25 21:56:01 +03:00
[GH-ISSUE #342] Problem while configuring cloudbeaver with nginx #92
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
pull-request
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:ai
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:dark theme
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:kerberos
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @padas2 on GitHub (Apr 6, 2021).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/342
First of all, great work in building this web version of DBeaver. Simply terrific.
I am running CloudBeaver as a docker container in an Amazon EC2 instance.
I am able to access the Cloudbeaver service over the exposed port of the docker container. In this case, it is a random port.
The service is working fine as expected.
The actual problem comes when I am trying to access CloudBeaver from an Nginx (which is running inside the EC2 instance).
Also, there are other services which are load balanced using this Nginx Server.
I have provided a custom config for routing requests to CloudBeaver service but the web client simply says that Error in processing request.
I am attaching the config file. Could you please tell me what am i missing here ?
cloudbeaver.txt
@serge-rider commented on GitHub (Apr 27, 2021):
Generally nginx works fine with cloudbeaver.
Can you connect directly to cloudbeaver http port (e.g. with curl)?
Could you write the error message (in nginx log)?
@padas2 commented on GitHub (Jun 6, 2021):
Apologies for the late replay.
The thing is that I am trying to access cloudbeaver over a shared nginx server using the /cloudbeaver path.
This is the error I get:
I was able to solve this problem by duplicating nginx configuration for 2 routes.
So now,
my nginx.conf looks like this:
This approach works but I don’t think this is the right way to go.
@meb21uk commented on GitHub (Jun 27, 2021):
Hopefully helps.
Replace cloudbeaver as required.
location = /cloubeaver {
return 302 /cloudbeaver/;
}
@padas2 commented on GitHub (Jun 30, 2021):
Let me see if this works.
@meb21uk commented on GitHub (Jul 2, 2021):
Hi Padas2,
No requirement to use this obscure config now. See "Editing rootURI breaks docker.cloudbeaver #279" for the changes required for the cloudbeaver config and NGINX location block required to operate with /cloudbeaver.
@kseniiaguzeeva commented on GitHub (Jan 12, 2022):
There is no update in the ticket during the long time. Please feel free to ask to reopen the ticket if it is still actual for you.
@juanbits commented on GitHub (Aug 27, 2023):
i have the same problem. im able to connect via http://myhost:port, but no via https://cb.myhost.com (under nginx)
and when i try to reach the container via curl i got: