question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proxy requires shared settings

See original GitHub issue

I just tried using reverse-proxy for the first time, with these settings:

  proxy: {
    domains: 'coauthor2.csail.mit.edu',
    ssl: {
      crt: '....pem',
      key: '....key',
      forceSSL: true,
    },
  },

Here’s the error message I got during mup setup:

Started TaskList: Start proxy
[coauthor2.csail.mit.edu] - Start proxy
[coauthor2.csail.mit.edu] x Start proxy: FAILED

        -----------------------------------STDERR-----------------------------------
        config/start.sh: line 7: /opt/mup-nginx-proxy/config/shared-config.sh: No such file or directory
        Error response from daemon: No such container: mup-nginx-proxy
        Error response from daemon: endpoint mup-nginx-proxy not found
        Error response from daemon: No such container: mup-nginx-proxy-letsencrypt
        Error response from daemon: endpoint mup-nginx-proxy-nginx-proxy not found
        docker: open /opt/mup-nginx-proxy/config/env.list: no such file or directory.
        See 'docker run --help'.

The fix was simple: add shared settings under proxy (and then run mup proxy reconfig-shared – this doesn’t seem to be implied by mup setup which was also confusing):

  proxy: {
    domains: 'coauthor2.csail.mit.edu',
    ssl: {
      crt: '....pem',
      key: '....key',
      forceSSL: true,
    },
    shared: {
      clientUploadLimit: '0', // disable upload limit
    },
  },

I wanted to disable the clientUploadLimit anyway, so this is fine for my purposes, but maybe you want to avoid crashing when there’s no shared, as the documentation calls it “Advanced configuration”.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
GraemeFultoncommented, Oct 20, 2019

for me i ran # netstat -tulpn | grep :80 to see what’s running on port 80…it was apache2, so i ran sudo service stop apache2…from there mup setup worked fine

3reactions
domramirezcommented, Aug 27, 2018

Thanks, @john-guerra! All the documentation I saw (especially Meteor Up SSL Docs) seemed to want me to run mup setup AND THEN mup reconfig. I guess running those in reverse order shook things loose.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change proxy settings on Mac - Apple Support
Learn how to enter proxy server settings. To change these settings, choose Apple menu > System Settings, click Network in the sidebar, click...
Read more >
Configure device proxy and Internet connection settings
Configure the Microsoft Defender for Endpoint proxy and internet settings to enable communication with the cloud service.
Read more >
Specify a proxy server for storage zones
Select the Enable Proxy check box and enter the proxy server Address and Port. Select an Authentication Mode and specify your Windows account ......
Read more >
Drive and Sites firewall and proxy settings - Google Support
Drive and Sites firewall and proxy settings. This article is for network administrators. For users on your network to access Google Drive, Google...
Read more >
Setting Tekla Structures to work with HTTP proxy that requires ...
Answer: If all the http(s) communication is routed through a http proxy that requires authentication, the following http proxy related settings must be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found