Comments (18)
Please ensure you've set the settings for the API in Hydrus as shown in the screenshot in the guide. Especially the CORS setting.
from hydrus-web.
I double cheked it just now and it matches all the ticks in the Wiki Screenshot.
from hydrus-web.
Can you screenshot what you get when you visit the duckdns domain on your phone and what you're putting in the Hydrus Web API settings? If you would rather not post those here you can send them to me via Discord, email, or any other service I have listed on my website.
from hydrus-web.
Nevermind, for some reason the Duck DNS service isn't working anymore. I get "site can't be reached" error. Here's a screenshot of my client api and Duck DNS settings
The Duck DNS was able to access my Hydrus API before but I made a change to remove Tailscale and use my own IP Address instead. Could my Firewall be blocking the connection some how? I'm new to this so how do I make sure the firewall allows this connection?
Here are the steps I've followed:
- Setup the Hydrus API as shown in the Wiki Screenshot.
- Created an Access Key with all permissions enabled.
- Setup a Duck DNS Domain with my local IP (IPv4 Address)
- Downloaded Windows amd64 Caddy file and placed it in C:\caddy after renaming it to "caddy.exe"
- I used CMD instead of PowerShell to Install Caddy using the WinSW x64 service wrapper (renamed to "caddy-service") after creating a caddy-service xml file using NotePad++.
- Created a "Caddyfile" with no extensions and added the below details.
- Configured Caddyfile using the http Duck DNS Domain, replaced Duck DNS API and I'm using the correct host.
- Restarted Caddy service from taskmanager
from hydrus-web.
All I need is to access my Hydrus files locally (connected to the same router) so I can tag and manage files from my Android Tablet instead of sitting long hours at a desk. If there is a safe and easy way to do this, please let me know.
from hydrus-web.
Please post your Caddyfile
from hydrus-web.
Here it is
Caddyfile.zip
I replaced my data with "x" and hope that's not going to cause an issue with diagnosing the error.
I'll try messing around with some settings when I have the time and see why I'm unable to connect to Hydrus API using my IP Address when I was able to connect it using Tailscale.
from hydrus-web.
Ok, I managed to get the second problem fixed (kinda), Like an idiot, I was using a IPv4 DNS value instead of IP Address. Entered the right value in appropriate fields and now, I'm able access Hydrus Client again when entering my domain address in my PC browser. When entering the same domain address on my Tablet however, it shows loading for sometime and ends up in a "site can't be reached" error.
Here are screenshots of the error I get when trying to test the Hydrus Web settings from my PC and Tablet.
Also, I had a doubt about the Email address in "Caddyfile". How can it be helpful in obtaining my https certificate? I'm not adding my Email address in Hydrus, Duck DNS... e.t.c. right?
from hydrus-web.
You have to include https://
in the url you enter in Hydrus Web. This is in the guide.
from hydrus-web.
When entering the same domain address on my Tablet however, it shows loading for sometime and ends up in a "site can't be reached" error.
This is probably a firewall or other network issue on your local network assuming you're using the correct IP. Part of why I recommend Tailscale is because it avoids issues like that.
Also, I had a doubt about the Email address in "Caddyfile". How can it be helpful in obtaining my https certificate? I'm not adding my Email address in Hydrus, Duck DNS... e.t.c. right?
The email address is only used by Let's Encrypt to email you about your certificate expiring or other issues.
from hydrus-web.
You have to include
https://
in the url you enter in Hydrus Web. This is in the guide.
Oh ok, made the change and tried the connection on my Desktop PC and I get the following toast message
I named my Access key as "new api permissions" so I'm guessing that this is a good response.
However, when I go to the main page and search for something, I get the following toast
This is probably a firewall or other network issue on your local network assuming you're using the correct IP. Part of why I recommend Tailscale is because it avoids issues like that.
Correct IP in Duck DNS? assuming that this is a firewall issue, how do I make this connection (PC to Tablet) work? or am I better off using Tailscale?
The email address is only used by Let's Encrypt to email you about your certificate expiring or other issues.
Got it, thanks for clarifing.
from hydrus-web.
Please format your replies better. This is hard to read because half your reply is in the quote
from hydrus-web.
You need to give the API key full permissions...
from hydrus-web.
Please format your replies better. This is hard to read because half your reply is in the quote
Sorry about that, I removed extra newlines and it ended up that way.
You need to give the API key full permissions...
I'm using a dark theme on Hydrus and it masked the check boxes in the permissions tab. At first glance, I figured since all the options were in the permission box, it meant I enabled them but it was not so. I checked the boxes and now it's working on my Desktop browser.
All that's left is to get it to work on my Tablet browser. How do I allow the connection to work successfully? Like you said, it's probably an issue with firewall or router settings.
from hydrus-web.
Ok, turns out that it's an issue with firewall cause I just disabled my firewall temporarily and was able to access the Hydrus database from my Tablet browser. How can I make an exception in the firewall to allow my Tablet.
from hydrus-web.
First make sure your network is set to private in the Windows settings.
Windows should've already asked you to add a firewall rule the first time you enabled the API, it would look like this:
You may have clicked cancel or closed the window in which case the rules were added but set to block connections. If you open the WIndows Firewall settings you should see a couple rules like this:
Edit them and set them to "Allow the connection". Otherwise if the rules aren't there you can add them.
from hydrus-web.
Sorry for the slightly delayed reply, I had some stuff I needed to do. I always set my network to private so that's set. I looked into the firewall settings and see that Hydrus (client.exe) is set to allow so that's not an issue. I messed around with the firewall settings a bit and found that when adding a new rule to allow all connections from my Tablet's IP Address, Hydrus Web works as expected from my Tablet browser.
So that's it right? or is it un-safe to allow all connections from a particular IP address?
from hydrus-web.
Anyways, it seems to be working right now so thanks for your help.
from hydrus-web.
Related Issues (20)
- Casual password protection.
- Bug: cannot use Z key in any fields when viewing a file HOT 1
- Default sorting option
- Error when downloading large fiels HOT 5
- Pages not loading after trying to goto settings HOT 1
- 504 Gateway Timeout when SSL used HOT 1
- Better tag namespace display and customization
- Feature request: Hotkey support
- System predicate regex gets converted to lowercase HOT 1
- Latest Client and API update breaks HOT 3
- [solved] Can not get working, I've tried ALL methods | I think I'm losing my mind HOT 5
- [Comics] Separate by creator as well as title
- Sort order, file limit and password protection. HOT 10
- Can't hit enter to add tag in settings tag input on mobile
- The ability to edit tags/urls HOT 5
- [Feature request] favourite (like/dislike ratting service) HOT 1
- Unable to connect to API server using DuckDNS HOT 5
- Comics not working HOT 1
- File metadata not showing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydrus-web.