Jump to content

502 Bad Gateway


judgey

Recommended Posts

Hey, just spent 3 days scanning in my media on a new server, was messing with "networking" page in emby but after i messed with it i can no longer load emby. Emby is running but either url or ip i get "502 Bad Gateway" Anything i can do to fix rather than starting again. Is there anything i can do to try and fix this rather than spending the rest of the week starting over again.

 

thank u

Link to comment
Share on other sites

Here is my config

 

Quote

<?xml version="1.0"?>
<ServerConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EnableDebugLevelLogging>false</EnableDebugLevelLogging>
  <EnableAutoUpdate>true</EnableAutoUpdate>
  <LogFileRetentionDays>3</LogFileRetentionDays>
  <RunAtStartup>true</RunAtStartup>
  <IsStartupWizardCompleted>true</IsStartupWizardCompleted>
  <CachePath />
  <EnableUPnP>true</EnableUPnP>
  <PublicPort>8096</PublicPort>
  <PublicHttpsPort>8920</PublicHttpsPort>
  <HttpServerPortNumber>8093</HttpServerPortNumber>
  <HttpsPortNumber>8920</HttpsPortNumber>
  <EnableHttps>false</EnableHttps>
  <IsPortAuthorized>true</IsPortAuthorized>
  <AutoRunWebApp>true</AutoRunWebApp>
  <EnableRemoteAccess>true</EnableRemoteAccess>
  <LogAllQueryTimes>false</LogAllQueryTimes>
  <EnableCaseSensitiveItemIds>true</EnableCaseSensitiveItemIds>
  <MetadataPath />
  <MetadataNetworkPath />
  <PreferredMetadataLanguage>en</PreferredMetadataLanguage>
  <MetadataCountryCode>GB</MetadataCountryCode>
  <SortRemoveWords>
    <string>the</string>
    <string>a</string>
    <string>an</string>
    <string>das</string>
    <string>der</string>
    <string>el</string>
    <string>la</string>
  </SortRemoveWords>
  <LibraryMonitorDelay>60</LibraryMonitorDelay>
  <EnableDashboardResponseCaching>true</EnableDashboardResponseCaching>
  <ImageSavingConvention>Compatible</ImageSavingConvention>
  <EnableAutomaticRestart>true</EnableAutomaticRestart>
  <CollectionOptionsMigrated>false</CollectionOptionsMigrated>
  <CollectionsMigratedToTags>true</CollectionsMigratedToTags>
  <CollectionFolderIdsMigrated>true</CollectionFolderIdsMigrated>
  <SaveMetadataHiddenMigrated>false</SaveMetadataHiddenMigrated>
  <ServerName>Let Me Stream</ServerName>
  <WanDdns />
  <UICulture>en-GB</UICulture>
  <SaveMetadataHidden>false</SaveMetadataHidden>
  <RemoteClientBitrateLimit>0</RemoteClientBitrateLimit>
  <DisplaySpecialsWithinSeasons>true</DisplaySpecialsWithinSeasons>
  <LocalNetworkSubnets />
  <LocalNetworkAddresses />
  <EnableExternalContentInSuggestions>true</EnableExternalContentInSuggestions>
  <RequireHttps>false</RequireHttps>
  <IsBehindProxy>false</IsBehindProxy>
  <RemoteIPFilter />
  <IsRemoteIPFilterBlacklist>false</IsRemoteIPFilterBlacklist>
  <ImageExtractionTimeoutMs>0</ImageExtractionTimeoutMs>
  <PathSubstitutions />
  <UninstalledPlugins>
    <string>AutoBoxSets.dll</string>
    <string>CoverArt.dll</string>
    <string>Emby.Notifications.Discord.dll</string>
    <string>PhillipsHue.dll</string>
    <string>Iconic.dll</string>
    <string>moviethemesongs.dll</string>
    <string>MovieThemeVideos.dll</string>
    <string>playback_reporting.dll</string>
    <string>themesongs.dll</string>
    <string>ThemeVideos.dll</string>
    <string>Fanart.dll</string>
    <string>Mediabrowser.Plugins.Trailers.dll</string>
    <string>Statistics.dll</string>
  </UninstalledPlugins>
  <CollapseVideoFolders>true</CollapseVideoFolders>
  <EnableOriginalTrackTitles>false</EnableOriginalTrackTitles>
  <VacuumDatabaseOnStartup>false</VacuumDatabaseOnStartup>
  <SimultaneousStreamLimit>0</SimultaneousStreamLimit>
  <DatabaseCacheSizeMB>96</DatabaseCacheSizeMB>
  <EnableSqLiteMmio>false</EnableSqLiteMmio>
  <NextUpUpgraded>true</NextUpUpgraded>
  <ChannelOptionsUpgraded>true</ChannelOptionsUpgraded>
  <OptimizeDbOnShutdown>false</OptimizeDbOnShutdown>
  <DatabaseAnalysisLimit>400</DatabaseAnalysisLimit>
</ServerConfiguration>

 

Link to comment
Share on other sites

Hey,

 

In my case was because publicport and httpserverport ports did not match

 

  <PublicPort>8096</PublicPort>
  <PublicHttpsPort>8920</PublicHttpsPort>
  <HttpServerPortNumber>8093</HttpServerPortNumber>
  <HttpsPortNumber>8920</HttpsPortNumber>

Link to comment
Share on other sites

Sorry Luke, I did think the same as I done this loads before but as soon as I changed it and restarted emby emby loader like normal. Maybe just a glitch my end I seem to get stuff like this happening to me all the time 🤷

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...