Page MenuHomePhabricator

Add HTTP proxy settings for outgoing requests to the production service configuration(s)
Open, MediumPublic

Description

As noted on wikitech, apps and services running in Wikimedia production need to go through a proxy to make HTTP requests to the outside world.

Since we are using service-runner, we can use the standard app configuration proxy setting for this:

services:
  - name: push-notifications
    module: ./dist/app.js
    conf:
      port: 8900
      proxy:
         host: url-downloader.eqiad.wikimedia.org
         port: 8080
         protocol: http
      [...]

This setting should be added to the production service configurations provided on a per-DC basis under the helmfile.d directory in operations/deployment-charts.

Event Timeline

Restricted Application added subscribers: Liuxinyu970226, Aklapper. · View Herald TranscriptJun 11 2020, 7:09 PM
Mholloway triaged this task as Medium priority.Jun 11 2020, 7:12 PM

Change 602390 had a related patch set uploaded (by MSantos; owner: MSantos):
[operations/deployment-charts@master] charts for push-notification service

https://gerrit.wikimedia.org/r/602390

MSantos updated the task description. (Show Details)Mon, Jul 6, 6:12 PM
Mholloway updated the task description. (Show Details)Mon, Jul 6, 6:20 PM

Updated the task to reflect discussion with Alexandros last week about the HTTP proxy; it should be a url-downloader instance IIUC. (This should be verified during the Helm chart code review.)