I still get this message after trying different configurations (Error: OpenRefine isn't running on http://127.0.0.1:3334/. Maybe a proxy issue?)
I use Ubuntu 20.04, chromium and apache (not sure yet if apache plays a role in my case)
I did exported no_proxy, I did try to change ports, I configured the java home, I surfed the net to find some more info but nothing works. I still get the same error again and again.
I also adapted the script adding an echo in the code. When ./refine I got a curl (56) error. No clue on how I can fix it now
rem: Strangest thing is that it worked fine with Ubuntu 18.04.
I would be really happy to understand what is happening. Would you have any idea ?
Does openrefine creates logs (I did see nothing at the moment) ?
Can you give some information about how you are setting the port when you run OpenRefine - are you using command line arguments, or have you setup refine.ini with the relevant port information?
Does openrefine creates logs (I did see nothing at the moment) ?
When you run OpenRefine it should start outputting to a console / command line window something like this:
Thanks for your message.
Sorry for the late answer, here is some more information
I first tried to run openrefine without changing anything to refine.ini file.
Then I tried to change the port number in refine.ini but none of these works.
As no proxy is configured, I do not get the message "maybe a proxy issue" ?
I use lsof -i:3333 / 3334 / ... nothing runs on that ports
localhost gets me to apache index.php file
and this is the only error I get when I start refine:
Using refine.ini for configuration
Error: OpenRefine isn't running on http://127.0.0.1:3333/. Maybe a proxy issue?
if it can help, java version is :
openjdk 11.0.22 2024-01-16
OpenJDK Runtime Environment (build 11.0.22+7-post-Ubuntu-0ubuntu220.04.1)
OpenJDK 64-Bit Server VM (build 11.0.22+7-post-Ubuntu-0ubuntu220.04.1, mixed mode, sharing)
The mentions of Apache (presumably HTTP Server) are confusing because OpenRefine doesn't use the Apache HTTP Server. It has its own embedded Jetty web server. If there's a port conflict between the two web servers, that could definitely be an issue.
Hi @tfmorris ,
In fact, I always used apache and refine in parallel with no problems. I don't understand why it doesn't work anymore (Apache is used to serve Drupal websites locally).
Do you know what I could do to troubelshoot this potential port conflict ?
In the meantime/in case of, I also checked the config of ubuntu firewall, port 3333 is allowed IN
Thanks in advance
Sorry for the long delay @ets . I can't really work out what could be going on here, but there was a change in 3.8 to how we check that OpenRefine is running. How the check works also depends on whether you have curl or wget in your PATH - so this could explain differences in different environments.
I'd suggest:
Make sure curl is in your PATH
Test OpenRefine 3.7.9 vs 3.8 to see if one works and one doesn't on the same environment
That would at least give a starting point for diagnosis
Today I got a similar error in a fresh installation of OpenRefine 3.8.1 in Ubuntu 24.04 and 22.04 (both with open-jdk 11). The error was something like:
./refine
Using refine.ini for configuration
--2024-06-08 20:47:14-- http://127.0.0.1/
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10671 (10K) [text/html]
Saving to: ‘STDOUT’
- 100%[=================================================================================================>] 10.42K --.-KB/s in 0s
2024-06-08 20:47:14 (540 MB/s) - written to stdout [10671/10671]
Error: OpenRefine isn't running on http://127.0.0.1:3333/. Maybe a proxy issue?
In both the machines OpenRefine 3.7.9 was running without any issues.