Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting-started-with-zitadel.sh #1408

Open
clywm520 opened this issue Dec 25, 2023 · 9 comments
Open

getting-started-with-zitadel.sh #1408

clywm520 opened this issue Dec 25, 2023 · 9 comments
Labels
bug Something isn't working self-hosting zitadel

Comments

@clywm520
Copy link

i run getting-started-with-zitadel.sh lastest

type it mydomain

the caddy can not run it ;

@jiangslee
Copy link

Infrastructure requirements:

  • The VM should be publicly accessible on TCP ports 80 and 443 and UDP ports: 3478, 49152-65535.
  • Public domain name pointing to the VM.

老哥,请确认一下以上两个步骤是否完成
Brother, please confirm whether the above two steps are completed.

截图贴一下报错信息
Post the screenshot and report the error

docker compose logs

@clywm520
Copy link
Author

{"level":"info","ts":1703570985.7437882,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
run: adapting config using caddyfile: parsing caddyfile tokens for 'servers': /etc/caddy/Caddyfile:4 - Error during parsing: unrecognized servers option 'protocols'

@clywm520
Copy link
Author

如果注释 #protocols h1 h2c 可以正常运行,
但是输入域名,会等待非常长久的时间。Caddy会一起启不来。脚本有一段一直循环探测一个Caddy接口

假设我的内网ip: 10.0.12.7
如果在脚本输入 use-ip,能正常启来访问.输入10.0.12.7/ui/console能访问。
但是输入主页时,又出现 用户未认证

@clywm520
Copy link
Author

@jiangslee @rgl @diegocn @jimt 作者能修复这个脚本不,或者可以自定议添加ssl证书。

@jiangslee
Copy link

@jiangslee @rgl @diegocn @jimt 作者能修复这个脚本不,或者可以自定议添加ssl证书。

已经有ssl证书的话,你要不要试试 #1267 修改的脚本?

#1267 (comment)

同步 bc3d647 的脚本
#1267 (comment)

主要是我的英文水平只能靠翻译,脚本也是复制粘贴拼起来的,所以没发PR给官方

@jiangslee
Copy link

jiangslee commented Dec 26, 2023

@clywm520 我fork了一个,发现有一个PR将会去掉端口号 #1400 ,我们这个版本可能不太优雅,感觉不太可能被官方merge

https://github.com/netbirdio/netbird/compare/main...jiangslee:netbird:main-custom-ports-ssl-certs?expand=1

@clywm520
Copy link
Author

前置步骤都安装OK了,但访问 netbird-dashboard-1 就是域名不带端口 dashboard报以下错误 ,怎么解决呢

The requested redirect_uri is missing in the client configuration. If you have any questions, you may contact the administrator of the application.

@jiangslee
Copy link

前置步骤都安装OK了,但访问 netbird-dashboard-1 就是域名不带端口 dashboard报以下错误 ,怎么解决呢

你这是部署在内网环境??没有公网访问的域名吗??

@clywm520
Copy link
Author

OK了。 你的脚本有一个小小的问题。 还是要注释掉 # protocols h1 h2c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working self-hosting zitadel
Projects
None yet
Development

No branches or pull requests

3 participants