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
error: 'Error occured while trying to process the information' #1
Comments
What kind of error occured? |
Fixed |
Hi guys! I'm getting that error as well, how did you fix it? just doing this (relevant stuff): const expressip = require('express-ip'); app.get('/geo-test', function (req, res) { |
Nevermind, I have the latest version (1.0.3) but it doesn't have this code:
it has this:
And my localhost was returning ::1 |
Hmmnn. I will add support for that. Thanks raising this up |
is it solve? I'm also facing the same thing
|
I'm having this issue also. I've tried testing using my code is simply as follows: server.express.use(expressip().getIpInfoMiddleware);
server.express.use((req, res, next) => {
const userIp = req.ipInfo;
if (userIp) {
console.log(userIp);
req.userIp = userIp;
}
next();
}); |
@mikestecker I think there's an issue with the ngrok header response. I came across that back ago. |
Hello everyone, I have a similar issue. }); It works on local and says - This cannot work on a localhost. However, on a live server (heroku) It says {"error":"Error occured while trying to process the information"} please assist me, Thanks! |
Reproducing the steps: Example: {
ip: '1.3.3.7,1.1.1.1',
error: 'Error occured while trying to process the information'
} |
Here is a solution for the issue when we have a proxy
|
error: 'Error occured while trying to process the information'
- how can I debug this?The text was updated successfully, but these errors were encountered: