-
Notifications
You must be signed in to change notification settings - Fork 188
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
后台地址填什么啊? #36
Comments
有人回答吗 |
比如说我在本地电脑上面搭建,ip:192.168.1.10,端口9092 |
一样的,尝试过了 |
挺好奇你的,前端可以访问,就是app不行对吧?
那么这直接查看手机和服务器之间的连接问题
---- 回复的原邮件 ----
***@***.***>发送日期2025年2月10日 ***@***.***>***@***.***>,
***@***.***>主题Re: [getmoneynote/moneynote-api] 后台地址填什么啊? (Issue #36)
比如说我在本地电脑上面搭建,ip:192.168.1.10,端口9092 那么手机上在同一局域网下,输入的就是 http://192.168.1.10:9092 必须要手动填写http,不然正则不通过
一样的,尝试过了
image.png (view on web)
无论公网还是内网,还是什么协议,都是同样的报错
image.png (view on web)
并且确认在容器内,是可以访问和连接到我前台的地址的
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
|
@db-root |
@db-root |
下列是容器中的报错日志 cn.biq.mn.exception.FailureMessageException: user.authentication.empty 2025-02-10T12:47:25.850Z ERROR 23 --- [nio-9092-exec-9] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] threw exception cn.biq.mn.exception.FailureMessageException: user.authentication.empty 2025-02-10T12:47:25.851Z ERROR 23 --- [nio-9092-exec-9] o.a.c.c.C.[Tomcat].[localhost] : Exception Processing ErrorPage[errorCode=0, location=/api/v1/error] jakarta.servlet.ServletException: Request processing failed: cn.biq.mn.exception.FailureMessageException: user.authentication.empty |
@db-root 我发现基本上都是这个错误,也就是用户的令牌为空,然后我发现个问题,你发的这两张图片 81和82我不知道是什么服务的,但是api是9092,你映射出来也就是10191,那么app也应该访问10191,你访问81(也就是10192)端口干嘛?? |
@db-root |
不是吧,我访问下来发现9092是个API,81是PC、82是H5,也就是移动端页面,我现在遇到的就是82这个移动端无法登录,访问都是正常的 |
我也不确定这么理解是否正确,还得大佬帮忙看下 |
具体的81和82我不知道,但是我看你截图的前端81有个“不安全”,也就是说是http协议,82我不知道,但是docker底层逻辑肯定是容器内部前端访问的api是9092,而你的app也应该访问9092(映射也就是10191),你要这么理解,前后端分离,前端(网页版==h5==app),后端(api) |
我看的有一点迷糊,我捋一下思路 电脑能访问服务器的 前端(10192)、后端(10191) |
@db-root |
使用的浏览器,没有手机APP |
后端也是可以访问,这三个端口都可以访问,但是访问H5地址,也就是10193-82,因为IOS系统无法安装APP官方教程说是访问手机端网站,也就是这个10193端口 |
访问10193-82这个地址是可以访问没有问题,但登录的时候无法登录 |
方便远程么todesk? |
出了一样的问题,我使用了k8s部署成功,web端可以正常访问。 就是这个手机网页版,登录成功后就报错。 Q群申请了,无人审核 [root@node1 ~]# kubectl get svc -owide |
我目前没有时间去修这个bug,我也不是这个项目的开发者,但是这个项目的后端api挺和我心意,我学习这个开源项目并打算自己写一个好看的前端,目前大致了解完api,并且“优化”成我熟悉的技术栈,目前安卓app能正常使用 前端页面大概没那么快,最近比较忙,目前是先开发网页版(兼容手机端)-》安卓/ios |
No description provided.
The text was updated successfully, but these errors were encountered: