QiangYu

Results 9 comments of QiangYu

> It is public IP which the tracker or DHT peer can access. So it is 128.100... in your case. can I use domain names instead of IP ? because...

直接下载官方 SDK,然后编译是可以的, 用官方的 SDK编译,你会遇到找不到 libpcap.a 文件 这是因为,官方的 SDK 默认只编译出来 libpcap.so ,没有把 libpcap.a 编译出来 ./script/feeds update -a ./script/feeds install libpcap 到 package/feeds/base/libpcap 目录下面,找到 Makefile ,你会看到下面的内容 define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/pcap*...

这里是需要修改的编译选项 ![编译选项](https://user-images.githubusercontent.com/5996702/66255346-f7db8880-e7b4-11e9-91bc-d5e0109ec8ed.png) 下面是编译出来的结果 ![编译结果](https://user-images.githubusercontent.com/5996702/66255347-fca03c80-e7b4-11e9-9a73-61a23f91c22e.png) 附赠几个我自己编译好的东西,我是为 DW33D 路由器编译的,不知道对你们有没有用 [Desktop.zip](https://github.com/KyleRicardo/MentoHUST-OpenWrt-ipk/files/3693257/Desktop.zip)

知道原因了,因为我的服务器支持 IPv6,目前 DrissionPage 还不支持 IPv6 Chrome 监听了 IPv6 端口,而 DrissionPage 一直在检测 IPv4 端口,导致始终检测都是失败 解决方法:把服务器的 IPv6 关了,只能用 IPv4 希望 DrissionPage 尽快加上对 IPv6 的支持

> 我再测试了一下,我的电脑win系统用127.0.0.1连接只要0.02秒,用localhost连接要6秒,暂时不知道问题在哪里。 应该是 DNS 解析导致的慢, localhost 先解析为 127.0.0.1 ,然后连接 我有 IPv6 环境,我看了 test_connect() 方法,里面用的是 AF_INET ,只支持 IPv4 的连接测试 在 IPv6 下,test_connect() 会一直失败,导致无法工作

See my issue [https://github.com/mkhorasani/Streamlit-Authenticator/issues/159](https://github.com/mkhorasani/Streamlit-Authenticator/issues/159) Just code two lines would fix this

> > > See my issue #159 > > > Just code two lines would fix this > > > > > > Please, note that both lines are already...

> authenticator = stauth.Authenticate( > config['credentials'], > config['cookie']['name'], > config['cookie']['key'], > config['cookie']['expiry_days'], > config['preauthorized'] > ) > name, authentication_status, username = authenticator.login() I Confirm, the code is there The issue...

必须要杀掉对应程序,然后才能打开 我是服务器上运行,必须保证 7x24 遇到任何错误都要能 自己恢复,现在**自己恢复的唯一方法就是杀掉监听端口的程序** ![杀端口1](https://github.com/user-attachments/assets/f370ba19-49da-4da6-9ff2-4cfe79d6f367) ![杀端口2](https://github.com/user-attachments/assets/c3cc43a0-3753-47d0-a46e-edaf2d2b11c4) ![杀端口3](https://github.com/user-attachments/assets/41ef2a40-5f83-4175-a079-14942092bc52)