Onpremise: Sentry did not generate DSN

Created on 7 May 2019  ·  10Comments  ·  Source: getsentry/onpremise

After I created a new project, sentry did not generate a DSN.It's empty.
image
image

Most helpful comment

I fixed this when I set the following code at config.yml

###################
# System Settings #
###################

# If this file ever becomes compromised, it's important to regenerate your a new key
# Changing this value will result in all current sessions being invalidated.
# A new key can be generated with `$ sentry config generate-secret-key`
# system.secret-key: 'changeme'
system.url-prefix: 'http://my-sentry-host:9000'

Than

docker-compose build # Build the services again after updating
docker-compose up -d # Recreate the services

Hope can help you.

All 10 comments

a same problem,I have built local Docker server with Sentry,but dsn is empty.

1

Same here!

同样,构建完成后,没有显示DSN

After I created a new project, sentry did not generate a DSN.It's empty.
image
image

Is the request solved?

在登陆后将默认的localhost:9000改为127.0.0.1:9000,即可

在登陆后将默认的本地主机:9000改为127.0.0.1:9000,即可

The problem was solved in this way.Thank you.

应该是防火墙或者网络限制之类的原因,就算DSN没有显示,也可以自己合成dsn信息的,组成为http://公钥@ip:port/projectid。

应该是防火墙或者网络限制之类的原因,就算DSN没有显示,也可以自己合成DSN信息的,组成为HTTP://公钥@ip:端口/专案编号。

Ok,The above method can also solve the problem

I have the same issue, It's there any idea how can I fix it?

I fixed this when I set the following code at config.yml

###################
# System Settings #
###################

# If this file ever becomes compromised, it's important to regenerate your a new key
# Changing this value will result in all current sessions being invalidated.
# A new key can be generated with `$ sentry config generate-secret-key`
# system.secret-key: 'changeme'
system.url-prefix: 'http://my-sentry-host:9000'

Than

docker-compose build # Build the services again after updating
docker-compose up -d # Recreate the services

Hope can help you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marbon87 picture marbon87  ·  5Comments

NullIsNot0 picture NullIsNot0  ·  5Comments

rmisyurev picture rmisyurev  ·  4Comments

dotconnor picture dotconnor  ·  6Comments

MaximilianKindshofer picture MaximilianKindshofer  ·  6Comments