openstreetmap / openstreetmap/mod_tile

Host name warning at startup/reload

Open
#41 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
318
Forks
199
PR merge metrics
No merged PRs in 30d

Description

If something (AddTileConfig/LoadTileConfig) tries to add a tile config before the ServerName directive is seen (normal on Ubuntu where module config files are loaded before it is set) then you get this warning:

08:08:35 2013] [warn] Could not determine host name of server to configure tile-json request. Using localhost instead

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the AddTileConfig and LoadTileConfig entry points and how ServerName is handled during startup and reload. Reproduce the warning with the configuration order described in the issue, then verify that normal Ubuntu startup and reload no longer emit the host-name warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, cpp
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.