Skip to content

试图支持deviantart失败 #226

@kukukumiko-git

Description

@kukukumiko-git

直到前几天我还在用改host上deviantart,最近几天差不多完全失效,返回ERR_CONNECTION_RESET

尝试按照wiki指引添加支持,curl结果为

C:\Users\****>curl https://deviantart.com --resolve "deviantart.com:443:13.226.120.10" -v
* Added deviantart.com:443:13.226.120.10 to DNS cache
* Hostname deviantart.com was found in DNS cache
*   Trying 13.226.120.10:443...
* Connected to deviantart.com (13.226.120.10) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* Recv failure: Connection was reset
* schannel: failed to receive handshake, SSL/TLS connection failed
* closing connection #0
curl: (35) Recv failure: Connection was reset

通过7654端口进行curl结果为

C:\Users\**>curl https://deviantart.com -x http://localhost:7654 -v --insecure
* Host localhost:7654 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:7654...
*   Trying 127.0.0.1:7654...
* Connected to localhost (127.0.0.1) port 7654
* CONNECT tunnel: HTTP/1.1 negotiated
* allocate connect buffer
* Establish HTTP proxy tunnel to deviantart.com:443
> CONNECT deviantart.com:443 HTTP/1.1
> Host: deviantart.com:443
> User-Agent: curl/8.9.1
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 200 Connection Established
<
* CONNECT phase completed
* CONNECT tunnel established, response 200
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* ALPN: server did not agree on a protocol. Uses default.
* using HTTP/1.x
> GET / HTTP/1.1
> Host: deviantart.com
> User-Agent: curl/8.9.1
> Accept: */*
>
* Request completely sent off
* schannel: server close notification received (close_notify)
* Empty reply from server
* shutting down connection #0
* schannel: shutting down SSL/TLS connection with deviantart.com port 443
curl: (52) Empty reply from server

accesser中日志为

2025-03-30 **:**:** DEBUG    127.0.0.1:1716 say: CONNECT deviantart.com:443 HTTP/1.1                    __init__.py:102
2025-03-30 **:**:**  DEBUG    [ 1716] DNS: deviantart.com -> 3.170.229.47                                __init__.py:109
2025-03-30 **:**:**  DEBUG    [ 1716] server_hostname=''                                                 __init__.py:130
                    ERROR    Unhandled exception in client_connected_cb                             base_events.py:1833
                             transport: <_ProactorSocketTransport fd=1340 read=<_OverlappedFuture
                             pending cb=[_ProactorReadPipeTransport._loop_reading()]>>
                             Traceback (most recent call last):
                               File "accesser\__init__.py", line 133, in handle
                               File "asyncio\streams.py", line 48, in open_connection
                               File "asyncio\base_events.py", line 1159, in create_connection
                               File "asyncio\base_events.py", line 1192, in
                             _create_connection_transport
                               File "asyncio\sslproto.py", line 581, in _on_handshake_complete
                               File "asyncio\sslproto.py", line 563, in _do_handshake
                               File "ssl.py", line 916, in do_handshake
                             ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert
                             handshake failure (_ssl.c:1010)
2025-03-30 **:**:**  ERROR    Unhandled exception in client_connected_cb                             base_events.py:1833
                             transport: <_ProactorSocketTransport closed>
                             Traceback (most recent call last):
                               File "accesser\__init__.py", line 99, in handle
                               File "asyncio\streams.py", line 657, in readuntil
                             asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of
                             undefined expected bytes

向pac中添加了“deiviantart.com”: 1 后日志是跟上面一样的。
接着试图在[alter_hostname]加入同公司没被墙的域名,我添加了
"deviantart.com" = "images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com"
后未解决,accesser日志同上

另外deviantart的ip地址13.226.120.10是可以直接访问的,网页会返回403错误,deviantart不知道是采用了什么访问控制,大部分服务器ip都可以直连,但只会403

最后附上我用的host ,如果有用的话

#Deviantart Start
#13.226.120.10 deviantart.com
#13.226.120.10  www.deviantart.com


#18.244.214.92 email.mg.deviantart.com
#18.155.202.16 st.deviantart.net
#18.172.52.49 a.deviantart.net
#18.155.202.127 e.deviantart.net
#18.155.202.76 i.deviantart.net
#18.155.192.81 t00.deviantart.net
#18.155.192.49 static.parastorage.com
#142.251.220.19 api-da.wixmp.com 

#18.239.199.42 images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com
#Deviantart End

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions