Traceback (most recent call last):


 "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step

result = coro.throw(exc)


 "/usr/local/lib/python3.5/dist-packages/aiohttp/server.py", line 315, in start

yield from self.handle_error(504, message)


 "/usr/local/lib/python3.5/dist-packages/aiohttp/server.py", line 382, in handle_error

self.log_access(message, None, response, self._loop.time() - now)


 "/usr/local/lib/python3.5/dist-packages/gunicorn/workers/_gaiohttp.py", line 24, in log_access

self.logger.access(response, request, environ, datetime.timedelta(0, 0, time))


 "/usr/local/lib/python3.5/dist-packages/gunicorn/glogging.py", line 324, in access

request_time))


 "/usr/local/lib/python3.5/dist-packages/gunicorn/glogging.py", line 267, in atoms

'h': environ.get('REMOTE_ADDR', '-'),
AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last):


 "/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/knack/cli.py", line 215, in invoke

cmd_result = self.invocation.execute(args)


 "/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 654, in execute

raise ex


 "/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 718, in _run_jobs_serially

results.append(self._run_job(expanded_arg, cmd_copy))


 "/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 711, in _run_job

six.reraise(*sys.exc_info())


 "/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/six.py", line 703, in reraise

raise value


 "/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 688, in _run_job

result = cmd_copy(params)


 "/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 325, in __call__

return self.handler(*args, **kwargs)


 "/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/cli/core/__init__.py", line 545, in default_command_handler

return op(**command_args)


 "/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/cli/command_modules/appservice/custom.py", line 1151, in update_container_settings

_add_fx_version(cmd, resource_group_name, name, docker_custom_image_name, slot)


 "/usr/local/Cellar/azure-cli/2.7.0/libexec/lib/python3.8/site-packages/azure/cli/command_modules/appservice/custom.py", line 905, in _add_fx_version

linux_fx = fx_version if web_app.reserved else None
AttributeError: 'NoneType' object has no attribute 'reserved'
