[GH-ISSUE #150] heroku部署以后URL模式访问能正常发送消息及提醒,但是在Bark App中服务器添加就出现“填写的服务器无效,请重试!网络错误” #136

Closed
opened 2026-03-03 11:37:24 +03:00 by kerem · 10 comments
Owner

Originally created by @neohob on GitHub (May 30, 2022).
Original GitHub issue: https://github.com/Finb/Bark/issues/150

heroku部署以后URL模式访问能正常发送消息及提醒,但是在Bark App中服务器添加就出现“填写的服务器无效,请重试!网络错误”

Originally created by @neohob on GitHub (May 30, 2022). Original GitHub issue: https://github.com/Finb/Bark/issues/150 heroku部署以后URL模式访问能正常发送消息及提醒,但是在Bark App中服务器添加就出现“填写的服务器无效,请重试!网络错误”
kerem closed this issue 2026-03-03 11:37:24 +03:00
Author
Owner

@neohob commented on GitHub (May 30, 2022):

用了梯子也不行

<!-- gh-comment-id:1140849239 --> @neohob commented on GitHub (May 30, 2022): 用了梯子也不行
Author
Owner

@Finb commented on GitHub (May 30, 2022):

将地址复制到 手机safari 试试看能不能访问

<!-- gh-comment-id:1140887251 --> @Finb commented on GitHub (May 30, 2022): 将地址复制到 手机safari 试试看能不能访问
Author
Owner

@neohob commented on GitHub (May 30, 2022):

safari , chrome都试了一下,都可以收到提醒消息

<!-- gh-comment-id:1141084540 --> @neohob commented on GitHub (May 30, 2022): safari , chrome都试了一下,都可以收到提醒消息
Author
Owner

@neohob commented on GitHub (May 30, 2022):

bark里可以添加 https://xxxx.herokuapp.com/keykeykey/这里填你要发送的消息 这个地址,但是明显是不对的

<!-- gh-comment-id:1141090548 --> @neohob commented on GitHub (May 30, 2022): bark里可以添加 https://xxxx.herokuapp.com/keykeykey/这里填你要发送的消息 这个地址,但是明显是不对的
Author
Owner

@Finb commented on GitHub (May 31, 2022):

https://xxxx.herokuapp.com/ping 直接用手机safari 打开返回什么
当前手机APP的 DeviceToken(在设置中查看),与配置heroku时填写的是否一样

<!-- gh-comment-id:1141625523 --> @Finb commented on GitHub (May 31, 2022): https://xxxx.herokuapp.com/ping 直接用手机safari 打开返回什么 当前手机APP的 DeviceToken(在设置中查看),与配置heroku时填写的是否一样
Author
Owner

@neohob commented on GitHub (May 31, 2022):

https://xxxx.herokuapp.com/ping 直接用手机safari 打开返回什么
{"code":200,"message":"pong","timestamp":1653970266}

当前手机APP的 DeviceToken(在设置中查看),与配置heroku时填写的是否一样
检查过几次,是直接复制过去的,并且手机浏览器访问 https://xxxx.herokuapp.com/keykeykey/这里填你要发送的消息 是可以收到提醒通知的;就是在bark第一个tab里面增加服务器输入 https://xxxx.herokuapp.com/ 不行

<!-- gh-comment-id:1141649031 --> @neohob commented on GitHub (May 31, 2022): >>>https://xxxx.herokuapp.com/ping 直接用手机safari 打开返回什么 {"code":200,"message":"pong","timestamp":1653970266} >>>当前手机APP的 DeviceToken(在设置中查看),与配置heroku时填写的是否一样 检查过几次,是直接复制过去的,并且手机浏览器访问 https://xxxx.herokuapp.com/keykeykey/这里填你要发送的消息 是可以收到提醒通知的;就是在bark第一个tab里面增加服务器输入 https://xxxx.herokuapp.com/ 不行
Author
Owner

@Finb commented on GitHub (May 31, 2022):

看下APP的网络权限

<!-- gh-comment-id:1141701898 --> @Finb commented on GitHub (May 31, 2022): 看下APP的网络权限
Author
Owner

@neohob commented on GitHub (Jun 1, 2022):

https://xxxx.herokuapp.com/keykeykey/这里填你要发送的消息

加这个地址是可以加的 https://xxxx.herokuapp.com/keykeykey/这里填你要发送的消息 ,APP网络权限没问题

<!-- gh-comment-id:1143097784 --> @neohob commented on GitHub (Jun 1, 2022): > [https://xxxx.herokuapp.com/keykeykey/这里填你要发送的消息](https://xxxx.herokuapp.com/keykeykey/%E8%BF%99%E9%87%8C%E5%A1%AB%E4%BD%A0%E8%A6%81%E5%8F%91%E9%80%81%E7%9A%84%E6%B6%88%E6%81%AF) 加这个地址是可以加的 https://xxxx.herokuapp.com/keykeykey/这里填你要发送的消息 ,APP网络权限没问题
Author
Owner

@Finb commented on GitHub (Jun 1, 2022):

输入 "https://xxxx.herokuapp.com" 试试
后面不要加 /

<!-- gh-comment-id:1143171346 --> @Finb commented on GitHub (Jun 1, 2022): 输入 "https://xxxx.herokuapp.com" 试试 后面不要加 /
Author
Owner

@neohob commented on GitHub (Jun 1, 2022):

输入 "https://xxxx.herokuapp.com" 试试 后面不要加 /

果然好了!

<!-- gh-comment-id:1143185412 --> @neohob commented on GitHub (Jun 1, 2022): > 输入 "https://xxxx.herokuapp.com" 试试 后面不要加 / 果然好了!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Bark#136
No description provided.