-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get-https from localhost:11470 fails #15
Comments
it might be that the server is not running yet when curl is being called. Can you edit the startup script (stremio-web-service-run.sh), increase the sleep time and build the image yourself ? |
http://api.strem.io/api/certificateGet/ gives me |
The curl that I did works fine for me, I just tested.
You don't need to specific an api key. |
can you confirm if the response of http://api.strem.io/api/certificateGet/ is not null. I am using 192.168.1.168. Hitting it through http://192.168.1.168:11470/get-https?ipAddress=192.168.1.168 throws 'Could not get a valid HTTPS certificate' in the server logs. |
its definitely not null. maybe try a couple of times ? |
If you can give a cert I can definitely try that. Earlier today I was trying this too , but it worked on everythign except the tv. I think LG does not link self-signed certs. |
I'm not happy with sharing the cert here though. find some other way and I'll try to do it. keep in mind that you would need to setup dns for your tv to be able to access the fqdn. why don't you use plain http and access it through the ip address. could you also try adding an empty auth key and quote the whole url with curl curl -Lv "http://192.168.1.168/get-https?authKey=&ipAddress=192.168.1.168" |
Many many thanks my friend. This did the trick. Now I can access it on all my local devices at 192-168-1-168.519b6502d940.stremio.rocks. |
I am running the server on a Odroid-HC4. I am using a self-signed URL which works great on everything but my TV. The *.stremio.rocks url from my PC works on the TV. I tried your repo in the hopes that it could generate a signed cert from stremio for the HC4.
However, if I specify a public or private IP, the container immediately crashes.
curl: (7) Failed to connect to localhost port 11470 after 1 ms: Couldn't connect to server
The text was updated successfully, but these errors were encountered: