Jamling / SmartIM4IntelliJ

IntelliJ IDEA上的SmartIM(原SmartQQ)插件,可以在IDEA中使用QQ或微信聊天
Apache License 2.0
877 stars 98 forks source link

微信二维码显示失败,提示java.lang.RuntimeException: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name #12

Closed Cai-Go closed 5 months ago

Cai-Go commented 6 years ago

image

Jamling commented 6 years ago

微信需加JVM运行参数,如快捷方式目标指向:E:\Android\eclipse\eclipse.exe -nl=en -Djsse.enableSNIExtension=false,注意,exe所在的路径不能带空格

Jamling commented 6 years ago

@solodoit 木有办法,微信的https有问题。只能禁用java 的jsse.enableSNIExtension

crazyair commented 6 years ago

mac 还没有装 eclipse 怎么办? @Jamling

Jamling commented 6 years ago

@qq645381995 将我的示例快捷方式目标替换成你自己的,比如 /path/toyour_idea.exe

crazyair commented 6 years ago

mac 没有 exe

Jamling commented 6 years ago

@qq645381995 这个你自己百度一下子吧。类似windows

crazyair commented 6 years ago

@Jamling 你说这个 要在哪里设置?

Jamling commented 6 years ago

@qq645381995 你可以添加一个快捷方式指向可运行程序,再加运行参数。实在不行就写个命令脚本吧。

crazyair commented 6 years ago

算了 不搞了

sth0409 commented 6 years ago

在bin文件夹下的 studio64.exe.vmoptions 中添加 -Djsse.enableSNIExtension=false 就行了

Jamling commented 6 years ago

@sth0409 👍 🥇 感谢!我马上更新到README中

Mr-Guan commented 6 years ago

@Jamling @qq645381995 Mac电脑只需要打开: 1.Applications 2.找到【IntelliJ IDEA】 3.右击【显示包内容】 4.打开:Contents--->bin 5.使用Atom/其他 编辑【idea.vmoptions】尾部加入:-Djsse.enableSNIExtension=false

  1. reset 完毕~
Jamling commented 6 years ago

@Mr-Guan 谢谢~ 6, reset是什么意思?是idea重启吗?

raysonmeng commented 6 years ago

@Mr-Guan @Jamling Mac pycharm 的 Contents--->bin 另种没有 idea.vmoptions 啊 只有一个 pycharm.vmoptions 在pycharm.vmoptions 中增加-Djsse.enableSNIExtension=false 保存重启 pycharm 后还是没有生效 继续报这个错 java.lang.RuntimeException: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name

Jamling commented 6 years ago

@raysonmeng pycharm就是pycharm.vmoptions,内容贴出来看看。