Jumble可以添加本地其他设备ip的中继吗?
Discussion
〖主人主人,摸魚不忘日一把,讓我們一起學習吧〗
语法: 嘆(なげ)くにはあたらない
解释: 不值得...
例: 試験に落ちたからといって、嘆くにはあたらない。
中文: 就算是考试落榜,业用不着唉声叹气。
例: 10円貸したくらいで、感謝されるには当たらない。
中文: 就借了10日元,用不着人感谢。
already can, but it's harder to get chrome based browsers to allow it, easier with firefox. but i don't use firefox, because i hate netscape.
可以,但不建议作为读写中继器。可以收藏起来浏览
mainly because it's not able to be written to as an outbox due to routing. i think you have a service that provides this capability though?
I have a reverse proxy service that mainly serves nostr-relay-tray. Other local relays can also be integrated, but I haven’t provided any documentation for that yet, haha. https://github.com/CodyTseng/pigeon
可以添加成功,但是写不进去,是没访问本地网络设备的权限吗?
the relay would have to have network permissions i think
I think so
btw nostr:npub1syjmjy0dp62dhccq3g97fr87tngvpvzey08llyt6ul58m2zqpzps9wf6wl i'm using the translator service in #jumble. never was that curious but then someone started writing in a language i don't understand on my discussion thread. very nice. 💪
Is the translation feature working well?
Otherwise, it will be considered as the local network as the client server.
I self-host a jumble and relay server in the same LAN network and the ws://ip:port can be read and written successfully
添加时只检查地址格式。截个图看看?你要连的是本机的 relay 还是局域网内的?
局域网内的其他ip
也有可能是浏览器的安全策略,不允许访问本地服务,可以在设置里看看
浏览器输入局域网IP是打的开的,应该是客户端没请求权限吧?
我用 Safari 试了下倒是可以 🌝
跟手机有关吗?
你中继跟Wi-Fi网络是一个局域网?
那肯定要一个局域网才能访问到的,我电脑上跑的中继器,手机上连的
奇怪🤔,我自己托管的客户端倒是没问题,他们就是一个局域网的。
我怀疑jumble是不是认为那个192IP是跟它服务器同一个局域网,所以写不进,因为不存在。
我没写这么复杂的逻辑😂 有可能是 Safari 不允许 https 网页访问本地服务
0xchat也不行,不行的都没要求本地网络设备权限。
换PC试试😂
电脑浏览器 inspect看到的error
DOMException: The operation is insecure.inspect
index-dPzpIWUu.js:1662:15898
使用 jumble.social 浏览本地中继器报的错?
嗯,就加局域网中继一个,发布失败的error
火狐浏览器
确实,我试了火狐和 chrome 都不行,浏览 https 网页时无法发起 ws:// 连接,除非是 localhost。
Mixed Content: The page at 'https://jumble.social/settings/relays' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://192.168.1.105:4869/'. This request has been blocked; this endpoint must be available over WSS.

可以考虑使用 pigeon 做个反向代理,然后就可以通过互联网访问。不过这个只是一个 demo,还存在一些小问题,完整版集成进了 nostr-relay-tray。你如果要用的话我可以完善一下。
https://github.com/CodyTseng/pigeon/blob/master/pigeon/README.md




