In both cases, there's no custom jetty configuration, but.... my local installation is running on windows under nssm with embedded zk, and my cloud installation is running on aws linux 2 with external zk cluster. In both cases, everything else seems to work as I would expect.
For config diffs: There don't seem to be many differences between the solr.in.cmd I'm using locally and the solr.in.sh used in the cloud environment. The main ones I see are: Cloud environment has ENABLE_REMOTE_JMX_OPTS=false and SOLR_REQUESTLOG_ENABLED=false. The solr.xml also doesn't have any salient differences. I tested by copying the settings from cloud to local and re-installing (the identical solr.xml and these variables copied over to solr.in.cmd) and I get the same result (works on the local install with the same settings as cloud). For endpoints: I've tried http://ip:8983/api, http://ip:8983/v2, http://localhost:8983/api/collections/mycollection/config, and a few others playing around.... but since it's even the root level (which works locally) I think it is all endpoints. On Thu, Nov 3, 2022 at 9:51 AM Jason Gerlowski <[email protected]> wrote: > Additionally, can you include the specific API requests you've tried? > That, combined with the information Houston suggested above would help > others to reproduce and debug. > > Best, > > Jason > > On Mon, Oct 31, 2022 at 3:41 PM Houston Putman <[email protected]> > wrote: > > > > Are there any differences between your jetty and solr.xml setup between > > your local and cloud installation? > > > > - Houston > > > > On Wed, Oct 26, 2022 at 1:10 PM Stephen Lewis Bianamara < > > [email protected]> wrote: > > > > > Hi Solr Community, > > > > > > I have been looking into the v2 API and testing it with solr 9. On a > local > > > installation (single node, cloud mode), I can access the API and it all > > > works as I would expect. However when I tested the same on a cloud > > > installation (multi node, multi shard, dedicated overseer, external 3 > node > > > zk cluster) I get a 404 for all endpoints. Even if I query from > localhost > > > (full response and screenshot below). > > > > > > I tried looking into the logs, but I couldn't find anything in the solr > > > logs; the requests themselves don't seem to hit solr (it is logging > > > requests I make to v1 api but nothing for v2 calls), probably because > it's > > > getting stopped at the jetty level. > > > > > > Can anyone suggest a next step for me to look into or have a suspicion > > > about what the issue might be? > > > > > > Thanks, > > > Stephen > > > > > > <html> > > > <head> > > > <meta http-equiv="Content-Type" > content="text/html;charset=ISO-8859-1"/> > > > <title>Error 404 Not Found</title> > > > </head> > > > <body><h2>HTTP ERROR 404 Not Found</h2> > > > <table> > > > <tr><th>URI:</th><td>/api</td></tr> > > > <tr><th>STATUS:</th><td>404</td></tr> > > > <tr><th>MESSAGE:</th><td>Not Found</td></tr> > > > <tr><th>SERVLET:</th><td>-</td></tr> > > > </table> > > > > > > </body> > > > </html> > > > > > > > > > [image: image.png] > > > > > > >
