在许多的工具使用中,会出现很多的错误,要养成先思考再去寻找帮助的习惯 在用use命令使用arp_sweep模块的时候爆出错误:usbmon1:ERROR while getting interface flags:no such device 意思就是没有interface这个东西,其实我们用完use命令后show options的时候:(其实required向为no的按理说是不需要的,但当这个出错的时候把这些项都加上就能正常运行,具体原因不明) 我们可以看到这几项是没有的,当然RHOSTS是我…
因为Grpc采用HTTP/2作为通信协议,默认采用LTS/SSL加密方式传输,比如使用.net core启动一个服务端(被调用方)时: public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.ConfigureKestrel(options => {…
服务器上的yum突然不好使用,使用yum的时候报错如下:[root@bastion-IDC src]# yum list......Could not retrieve mirrorlist http://mirrorlist.repoforge.org/el6/mirrors-rpmforge error was14: PYCURL ERROR 7 - "couldn't connect to host"http://apt.sw.be/redhat/el6/en/x86_64/rp…
在activity_main.xml文件中添加了editText控件 <EditText        android:id="@+id/edit_text"        android:hint="@the next" <!--用the next或者@the next都报错,要使用@string/the next,用标准写法在string.xml文件中配置键值对(name:the next   vlaue:下一步),注意键值对有未使用的也会报错--&…
当我们调用Grpc是出现下面的一堆异常时,一般是由于LTS导致的: Call failed with gRPC error status. Status code: 'Unavailable', Message: 'Error starting gRPC call. HttpRequestException: An error occurred while sending the request. IOException: The response ended prematurely.'. fa…
报错:Original error was: DLL load failed: 找不到指定的模块. 环境变量需要添加3个 然后就okay了.…
显然这个报错是说HTTP/1.1不支持. 首先,我们要知道,Grpc是Google开源的,跨语言的,高性能的远程过程调用框架,它是以HTTP/2作为通信协议的,所以当我启动启用一个服务作为Grpc的服务端(被调用方)时,我们需要将监听的端口设置成HTTP/2协议的,设置方法有两种: 1.修改appsettings.json 在根节点下添加下面的配置 "Kestrel": { "EndpointDefaults": { "Protocols": &…
原博文 https://blog.csdn.net/sdfdyubo/article/details/59536781 使用 原写法 /*为选项卡绑定右键*/ $(".tabs li").live('contextmenu', function(e) { /*选中当前触发事件的选项卡 */ var subtitle = $(this).text(); $('#mainTab').tabs('select', subtitle); //显示快捷菜单 $('#tab_menu').menu…
出现这个问题有两种原因: 虚拟机设置中没有添加对应的网卡 更改了虚拟机中网卡的MAC,但是Debian 的缓存中将eth0与上次的MAC对应 解决方法: 这里仅就第二种问题提出解决方案: 删除/etc/udev/rules.d/70-persistent-net.rules,然后重新启动虚拟机. 参考: http://askubuntu.com/questions/9375/new-mac-address-now-i-have-no-network-access https://forums.v…
首先输入ifconfig命令查看当前的ip信息 发现没有eth0这个网卡设备,有ens33 接着输入命令:ifconfig ens33 192.168.2.110    --  修改临时ip地址,系统reboot之后,会恢复之前配置的ip地址 输入命令:Vi /etc/sysconfig/network-scripts/ifcfg-ens33    -- 修改永久ip地址 修改BOOTPROTO=static               --静态ip 修改IPADDR=192.168.2.110…