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

not in campus network #56

Closed
rangehow opened this issue Aug 8, 2024 · 5 comments
Closed

not in campus network #56

rangehow opened this issue Aug 8, 2024 · 5 comments

Comments

@rangehow
Copy link

rangehow commented Aug 8, 2024

这个项目使我的科研生活便利了很多,非常感谢 : )
但是最近我碰上了一个问题,想求助一下项目的维护者们。实验室有一台在学校机房的服务器,在昨天断电维护之前他的IP地址是219.216.64.106,断电重启之后变成了219.216.64.13, 然后再使用本项目就产生了如下的错误信息:

using account '账号'
login failed: 
        not in campus network

但我想它应该是在校园网里的,不然我应该不能远程连接到他。有什么可能的排查路径吗,我查看了一下还开放的issue,尝试了一下curl 公网地址再ipgw,但是仍然不好使:(
提前感谢,砰砰

@Neboer
Copy link

Neboer commented Aug 8, 2024

能请你在目标机器上执行一下以下命令,看看输出结果?

curl https://ipgw.neu.edu.cn/cgi-bin/rad_user_info -H "Accept: application/json"

@rangehow
Copy link
Author

rangehow commented Aug 8, 2024

能请你在目标机器上执行一下以下命令,看看输出结果?

curl https://ipgw.neu.edu.cn/cgi-bin/rad_user_info -H "Accept: application/json"

结果如下所示:
curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to ipgw.neu.edu.cn:443

@Neboer
Copy link

Neboer commented Aug 8, 2024

校园网本身是稳定的,程序运行正常。不过如果要是命令行中有代理软件设置的环境变量则可能无法登录。请问您有开启什么代理软件吗?请检查命令行中

http_proxy
HTTP_PROXY
https_proxy
HTTPS_PROXY

环境变量的值。

@rangehow
Copy link
Author

rangehow commented Aug 8, 2024

不对,校园网本身是稳定的,请问您有开启什么代理软件吗?

天呐确实qaq ,之前没注意我看了一下clash的日志把这个请求转发了,关掉就好使了,感谢

@rangehow rangehow closed this as completed Aug 8, 2024
@Neboer
Copy link

Neboer commented Aug 8, 2024

不客气,祝你工作顺利。

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

2 participants