草庐IT

err_connection_reset

全部标签

Refused to apply style from ‘http://localhost:8080/src/assets//css/reset.css‘

完整报错信息是Refusedtoapplystylefrom'http://localhost:8080/src/assets//css/reset.css'becauseitsMIMEtype('text/html')isnotasupportedstylesheetMIMEtype,andstrictMIMEcheckingisenabled问题就是这个文件的类型不是一个受支持的样式表,无法应用样式。在vue项目中,在src的assets目录下设置了一些css文件,然后在public下的index.html中引入,启动项目出现了此问题。解决方法:因为在vue项目中,public和src目录

【报错解决】CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/nux-64

下包的时候遇到如下报错:Collectingpackagemetadata(current_repodata.json):doneSolvingenvironment:failedwithinitialfrozensolve.Retryingwithflexiblesolve.Collectingpackagemetadata(repodata.json):/iledCondaHTTPError:HTTP000CONNECTIONFAILEDforurlElapsed:-AnHTTPerroroccurredwhentryingtoretrievethisURL.HTTPerrorsareof

Java问题解决:严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.util.descriptor.web.WebXmlParser.par

问题如下: tomcat服务器启动是,出现多个严重错误:03-Oct-202213:54:17.374严重[RMITCPConnection(3)-127.0.0.1]org.apache.tomcat.util.descriptor.web.WebXmlParser.parseWebXml出现在第[32]行第[44]列03-Oct-202213:54:17.391严重[RMITCPConnection(3)-127.0.0.1]org.apache.catalina.startup.ContextConfig.configureStart由于之前的错误,标记当前应用程序不可用03-Oct-2

Elasticsearch Connection is closed全文检索连接问题

Elasticsearch全文检索连接问题Causedby:java.lang.RuntimeException:Connectionisclosedatorg.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.translateException(ElasticsearchRestTemplate.java:425)~[spring-data-elasticsearch-4.3.2.jar:4.3.2]...54commonframesomitted大概就是说:连接已在org.springframework.d

解决git问题Failed to connect to 127.0.0.1 port 7890 after 2070 ms: Connection refused

gitconfig--globalhttp.proxygitconfig--global--unsethttp.proxy然后可以正常gitclone

html - CSS counter-reset 在伪元素中不起作用

以下CSS计数器示例未按预期工作。副标题计数器应在每个主标题后重置:body{font:smallersans-serif;counter-reset:h1h2;}h1:before{counter-reset:h2;content:counter(h1)".";counter-increment:h1;}h2:before{content:counter(h1)"."counter(h2)".";counter-increment:h2;}HeadingSub-headingSub-headingHeadingSub-headingSub-heading但是,以下内容按预期工作:bo

html - CSS counter-reset 在伪元素中不起作用

以下CSS计数器示例未按预期工作。副标题计数器应在每个主标题后重置:body{font:smallersans-serif;counter-reset:h1h2;}h1:before{counter-reset:h2;content:counter(h1)".";counter-increment:h1;}h2:before{content:counter(h1)"."counter(h2)".";counter-increment:h2;}HeadingSub-headingSub-headingHeadingSub-headingSub-heading但是,以下内容按预期工作:bo

【已解决】解决Finalshell连接Linux报错java.net.ConnectException: Connection refused: connect

 错误提示:java.net.ConnectException:Connectiontimeout:connect解决办法:重新启动系统SSH服务  如linux输入 #servicesshdrestart

使用scrcpy 连接荣耀50手机,解决 ERROR: “adb push“ returned with value 1, ERROR: Server connection failed 报错

今天使用scrcpy连接荣耀50手机遇到报错,提示如下:1.解决办法  说明一下:我的手机是荣耀50,电脑是荣耀MagicBookPro,操作系统是Windows10家庭中文版  首先要把手机和电脑连接同一个WIFI,用USB将手机与电脑进行连接,手机要打开USB调试和选择USB配置,手机要把所连接WIFI的IP设置为静态。  USB调试方法:点击设定----关于手机----版本号连续点击5次,返回菜单,在搜索框搜索开发人员选项----打开USB调试,再下滑找到选择USB配置----选择MIDI(不要选仅充电的USB配置否则USB调试会一直自动关闭),再进行下述操作(这是荣耀手机的方法,其他类

前端连接线上websocket报错 websocket connection to ‘***‘ failed

报错:wss连接是不能以ip加端口的方式来连接的解决办法是利用nginx的反向代理功能nginx配置文件中,加入如下配置:#websocket location/wss{ proxy_passhttp://localhost:****/websocket; proxy_http_version1.1; proxy_set_headerUpgrade$http_upgrade; proxy_set_headerConnection"Upgrade"; }重启ng,生效