Yang-LU Posted March 6, 2020 Share Posted March 6, 2020 Today I built a virtual router on unraid and then found out I couldn't install anything in docker, I don't understand what the problem is, so I hope someone can help me. 2.bmp yang-diagnostics-20200306-1854.zip Quote Link to comment
trurl Posted March 6, 2020 Share Posted March 6, 2020 32 minutes ago, Yang-LU said: virtual router on unraid On mobile now so can't look at Diagnostics. Can your server reach the internet? Quote Link to comment
Yang-LU Posted March 6, 2020 Author Share Posted March 6, 2020 Yes, This is my APPS interface. 1.bmp Quote Link to comment
bastl Posted March 6, 2020 Share Posted March 6, 2020 @Yang-LU I quickly tried to to pull the jellyfin/jellyfin docker from your first post and I had no issues installing it. Your Timezone is set to Asia/Shanghai so I guess your server is in China. The "certificate has expired or is not yet valid" might indicate you're not able to reach the source of the docker you try to pull. Not sure how many chinese users Unraid has and where the limitations are in China but for me it looks like you can't reach the site for the docker where it is hosted. from your docker logs: time="2018-01-16T14:04:20.388405528+08:00" level=error msg="Handler for POST /v1.40/images/create returned error: Get https://registry-1.docker.io/v2/: x509: certificate has expired or is not yet valid" time="2018-01-16T14:05:23.771327113+08:00" level=error msg="Handler for POST /v1.37/images/create returned error: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" Quote Link to comment
Yang-LU Posted March 6, 2020 Author Share Posted March 6, 2020 (edited) So my unraid setup is right? I have installed SSR on the router and can access the network normally, but this problem appeared after I installed the virtual router. It makes me depressed. Edited March 6, 2020 by Yang-LU Quote Link to comment
bastl Posted March 6, 2020 Share Posted March 6, 2020 Can you try to access "https://registry-1.docker.io/v2/" via a browser? You should see something like the following: or can you try to reach "docker.io"? If I check the certificate for the page it's registered by Amazon. Either one of them isn't reachable for you. Not exactly sure how SSR or your "virtual router" is setup, how it exactly works or where the limitations are, but I guess you know, that you propably not able to reach all global sites from China without some sort of VPN or Tor. Quote Link to comment
Yang-LU Posted March 6, 2020 Author Share Posted March 6, 2020 All right, I thought I'd build the router again, because it works before I mess around with it. 3.bmp Quote Link to comment
bastl Posted March 6, 2020 Share Posted March 6, 2020 That's the exact message I get accessing the page. Can you check the certificate for the page? Example for Firefox click the lock item and select connection details and "more information" at the bottom. You should see a new window pop up where you can select "show certificate". Check if the Amazon cerificate is valid for you. Are you able to access Amazon or "docker.io" in China? Quote Link to comment
trurl Posted March 6, 2020 Share Posted March 6, 2020 54 minutes ago, bastl said: from your docker logs: time="2018-01-16T14:04:20.388405528+08:00" level=error msg="Handler for POST /v1.40/images/create returned error: Get https://registry-1.docker.io/v2/: x509: certificate has expired or is not yet valid" time="2018-01-16T14:05:23.771327113+08:00" level=error msg="Handler for POST /v1.37/images/create returned error: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" Fix your server time. Quote Link to comment
bastl Posted March 6, 2020 Share Posted March 6, 2020 1 minute ago, trurl said: Fix your server time. Oops. I completly missed the wrong time. 2018-01-16 😂 Quote Link to comment
Yang-LU Posted March 6, 2020 Author Share Posted March 6, 2020 😂😂😂😂 Problem solved,Thank you so much for your guys patience and help. Quote Link to comment
ijuarez Posted March 6, 2020 Share Posted March 6, 2020 Glad you fix it, What's this virtual router you are talking about? Quote Link to comment
Yang-LU Posted March 6, 2020 Author Share Posted March 6, 2020 e..You know in china, We cannot access some websites freely, so we need SSR or foreign server to do it, I used to use the software on my computer, but I found the steps too cumbersome, so I made up a router on unraid to mount programs such as removing ads, SSR, and remote downloads etc, I do not know how to say this kind of equipment in English, in Chinese we call soft route. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.