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

按照流程安装 #4

Closed
1 task done
Morben opened this issue May 19, 2023 · 3 comments
Closed
1 task done

按照流程安装 #4

Morben opened this issue May 19, 2023 · 3 comments

Comments

@Morben
Copy link

Morben commented May 19, 2023

⚠️ 确认 issue 是否已存在 ⚠️

  • 我已经搜索了现有的问题,没有找到跟我问题相关的问题。

GPT-3 or GPT-4

GPT-3.5

操作系统

Linux

Bug 描述 📝

找不到 xx.xx.x.x的网页找不到与以下网址对应的网页:http://x.x.x.x:5678/chat/
HTTP ERROR 404

我的8888端口被占用了,前端的端口我改成了8889

重现步骤 🕹

几乎是按照文档默认的配置安装的

你的应用配置信息

Title = "Chat-Plus AI 助手"
ConsoleTitle = "Chat-Plus 控制台"
Listen = "0.0.0.0:5678"
ProxyURL = [""]
AccessKey = ""

[Session]
  SecretKey = "azyehq3ivunjhbntz78isj00i4hz2mt9xtddysfucxakadq4qbfrt0b7q3lnvg80"
  Name = "CHAT_SESSION_ID"
  Path = "/"
  Domain = ""
  MaxAge = 86400
  Secure = false
  HttpOnly = false
  SameSite = 2

[ImgURL]
  WechatCard = "https://img.r9it.com/chatgpt/WX20230505-162403.png"
  WechatGroup = " https://img.r9it.com/chatgpt/WX20230505-162538.png"

[Manager]
  Username = "admin"
  Password = "admin123"

[Chat]
  ApiURL = "https://api.openai.com/v1/chat/completions"
  Model = "gpt-3.5-turbo"
  Temperature = 1.0
  MaxTokens = 1024
  EnableContext = true
  ChatContextExpireTime = 3600

  [[Chat.ApiKeys]]
    Value = "sk-xx"
    LastUsed = 0


服务正常启动
2023-05-20T04:42:19.134+0800	INFO	src/main.go:18	Loading config file: config.toml
2023-05-20T04:42:19.135+0800	INFO	server/server.go:136	Loading config file:aa dist
2023-05-20T04:42:19.135+0800	INFO	server/server.go:153	http://0.0.0.0:5678
@yangjian102621
Copy link
Owner

@Morben 你这是用一键快速启动包启动的还是使用开发模式启动的,如果是开发模式,该项目是前后端分离的,你应该访问 http://localhost:8889/chat 才对。5678 是后端 API 的访问端口。

@huang-td
Copy link

@yangjian102621 你的快速一键启动包直接点击怎么进入不了网页啊?

@yangjian102621
Copy link
Owner

@yangjian102621 你的快速一键启动包直接点击怎么进入不了网页啊?

这个不是直接点击进入网页的,只是一个启动程序,启动好了通过浏览器访问的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants