-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Printer Wireless, Networking & Internet
- HP Smart Tank 7305 access with domain name

Create an account on the HP Community to personalize your profile and ask a question
03-13-2024 02:15 PM - edited 03-16-2024 02:38 PM
This is an interesting one.
If I access the printer via a FQDN on my browser e.g. hp.mydomain.com it shows the homepage correctly with one problem.
It shows all items as "locked" but the user on top right shows as admin. In fact I am not logged in at all.
If I click "Sign Out" it tells me "to view password protected pages sign-in again" but the link goes back to "User: admin | Sign out".
Now, if I access the page via its IP address it correctly shows "Welcone | Sign In" and if I click the link it allows me to login using the PIN as expected.
I think the fault is related to using a domain name and perhaps CORS security settings. not allowing some of the parts of the page to load. Or not correctly handling access via domain name.
I tried the obvious - clear cache, clear cookies, use incognito, use Windows Sandbox but the behaviour is consistent between different browsers, statuses and machines.
Has anyone experienced this and fixed it?
03-16-2024 09:01 AM
Welcome to HP Support Community.
Thank you for posting your query, I will be glad to help you.
Your issue with accessing the HP Smart Tank 7305 printer via a Fully Qualified Domain Name (FQDN) like hp.mydomain.com sounds like it might indeed involve Cross-Origin Resource Sharing (CORS) or possibly other web security policies that differentiate between different ways of accessing the same resource. When accessed via its IP address, your browser treats the printer's web interface as a direct, same-origin request. However, accessing it via a custom domain name introduces a different origin from the browser's perspective, which can trigger stricter security policies.
Here are a few potential solutions and troubleshooting steps you can consider:
Check CORS Settings: If you have control over the web server settings on the printer (which might not be directly accessible or modifiable on most printers), ensure that CORS policies are correctly configured to allow requests from your custom domain.
Inspect Web Console for Errors: Use your browser's Developer Tools (usually accessible with F12 or right-click → "Inspect") and navigate to the Console tab. Access the printer's web interface via the domain name and look for any CORS or security-related errors. This can give you clues about what's being blocked.
DNS Configuration: Ensure your DNS settings for the custom domain (hp.mydomain.com) are correctly pointing to the printer's IP address. Sometimes, issues can arise from misconfigured DNS records leading to incorrect routing or security checks.
Web Server Configuration: If your network setup involves a web server or reverse proxy that routes requests to the printer, make sure that it's configured to forward requests properly. The web server should pass along necessary headers and not strip out or alter requests in a way that would affect authentication.
Try a Different Domain or Subdomain: As a troubleshooting step, try using a different domain or a subdomain to see if the issue persists. This can help identify if the problem is specifically related to the hp.mydomain.com domain or a broader issue with domain-based access.
I hope this helps.
Take care and have a good day.
Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!
Rachel571
HP Support
Sneha_01- HP support
03-16-2024 02:27 PM - edited 03-16-2024 02:29 PM
Hi @Rachel571
Thanks for the detailed post. Unfortunately, I've done all this. The sub-domain matches the certificate and the sub-domain is available in DNS. I tried accessing the sub-domain directly and via a tunnel. I've looked at the request and response headers and made sure that the domain name in the printer matches the certificate, which matches the actual domain name.
I've done this because without the domain name the XHR requests go to the IP address. With that setting all requests go to the correct sub-domain so it shouldn't be a CORS problem:
But you see some requests receive a 403 (Forbidden) response, while direct access via IP have a 200 (Ok) response.
The problem seems to be the EWS somehow not treating requests with a sub-domain correctly.