Closed gregwbrooks closed 4 years ago
Hi, @gregwbrooks ! Thanks for your report. It seems like you are trying to use not existent (invalid) Truemail server endpoint. Your validator urls should look like as in example below:
http://validator.domain.com:{assigned-port}/?email=your@email.here
https://validator.domain.com:{assigned-port}/?email=your@email.here
http://validator.domain.com:{assigned-port}/healthcheck
You should use correct Truemail endpoits to get successful responce.
P.S.: I have 3 testing examples of Truemail server (on bare metal server, DO - rack app, AWS - containerized app) and they work like a charm.
Also you can enable log all http requests to stdout.
Just add in your docker-compose.yml
in envirinment section LOG_STDOUT: 'true'
It will help you to debug what endpoints you exactly trying to use. Anyway let me know about your result in this thread. Cheers.
@bestwebua thanks for the helpful reply. Unfortunately, no combination of things I've tried gets me past "{"error":"invalid truemail access token"}". As I said initially, this is 99% likely a case of error on my part rather than an issue with Truemail.
I suspect I'll end up hiring someone to sort it out -- it really does seem like an ideal solution for my use case. Thanks.
New Issue Checklist
Issue Description
The Docker image of Truemail-rack mounts properly in a range of environments -- Plesk, Cyberpanel, Portainer, etc.. However, all attempts to use it from the command line fail with "error":"resource not found".
This occurs via HTTPS or HTTP. (Attempts to secure the subdomain via SSL report back as successful but HTTPS connections to the API always fail.) It occurs on a single-host box with one domain, trying to access the API with a single verification test via a browser using either the domain or the IP in the URL. It occurs when trying to use the default port of 9292 or when a management app like Portainer assigns a random IP.
I suspect this is user/installer error rather than a problem with Truemail, but I wanted to report the difficulty in hope of guidance.
Example URLs that create this error:
Complete output when running truemail, including the stack trace and command used