Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension doesn't recognize changes and isn't able to pull or push in mounted repositories. #1288

Open
DaviAragorn opened this issue Nov 3, 2023 · 2 comments
Labels

Comments

@DaviAragorn
Copy link

Description

If you clone a repository on Windows, and mount it in a Linux container, the repository will be recognized by the extension, but you won't be able to pull, push and it won't be able to recognize any changes on the files

Notice how git detect the changes in the terminal, but the extension does not
image

Reproduce

  1. Clone the repository on Windows
  2. Build a container with the specifications below and mount the cloned repository in it

I was also able to reproduce the behavior with the latest stable version of the extension (v0.44.0)

FROM jupyter/minimal-notebook:lab-3.6.3
RUN pip install jupyterlab-git
RUN jupyter lab build 

also able to reproduce with the following versions

FROM jupyter/minimal-notebook:lab-4.0.6
RUN pip install --pre "jupyterlab-git==0.50.0a2
RUN jupyter lab build 
  1. Open jupyterlab and access the mounted repository
  2. Authenticate in git
  3. Change a file and check the changes in the jupyterlab-git tab in the side menu, it won't detect any changes
  4. If you run git status the changes will be there

Expected behavior

The jupyterlab-git extension should show the same changes as git shows on the terminal with git status

Context

  • Python package version:
Name: jupyterlab_git
Version: 0.44.0
Summary: A JupyterLab extension for version control using git
Home-page: 
Author: Jupyter Development Team
  • Extension version:
Config option `kernel_spec_manager_class` not recognized by `ListLabExtensionsApp`.
WARNING: Insecure writes have been enabled via environment variable 'JUPYTER_ALLOW_INSECURE_WRITES'! If this is not intended, remove the variable or set its value to 'False'.
[W 2023-11-03 16:04:01.507 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
JupyterLab v3.6.3
/opt/conda/share/jupyter/labextensions
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        nbdime-jupyterlab v2.2.0 enabled OK
        @jupyterlab/git v0.44.0 enabled OK (python, jupyterlab-git)

Other labextensions (built into JupyterLab)
   app dir: /opt/conda/share/jupyter/lab
  • Git version:

git version 2.34.1

  • Operating System and its version:
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Entered start.sh with args: bash -c jupyter lab --ip=${HOST} --port=${JUPYTERLAB_INTERNAL_PORT} --NotebookApp.token='' --NotebookApp.password='' --ServerApp.disable_check_xsrf=True --allow-root --no-browser --config=/home/jovyan/.jupyter/jupyter_notebook_config.py
/usr/local/bin/start.sh: running hooks in /usr/local/bin/before-notebook.d as uid / gid: 1000 / 100
/usr/local/bin/start.sh: running script /usr/local/bin/before-notebook.d/100_start_envoy.sh
starting envoy   581616644
/usr/local/bin/start.sh: running script /usr/local/bin/before-notebook.d/200_setup_git.sh
/usr/local/bin/start.sh: done running hooks in /usr/local/bin/before-notebook.d
Executing the command: bash -c jupyter lab --ip=${HOST} --port=${JUPYTERLAB_INTERNAL_PORT} --NotebookApp.token='' --NotebookApp.password='' --ServerApp.disable_check_xsrf=True --allow-root --no-browser --config=/home/jovyan/.jupyter/jupyter_notebook_config.py
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:404] initializing epoch 0 (base id=581616644, hot restart version=11.104)
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:406] statically linked extensions:
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.route.early_data_policy: envoy.route.early_data_policy.default
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.filters.udp_listener: envoy.filters.udp.dns_filter, envoy.filters.udp_listener.udp_proxy
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.request_id: envoy.request_id.uuid
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.listener_manager_impl: envoy.listener_manager_impl.default
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.clusters: envoy.cluster.eds, envoy.cluster.logical_dns, envoy.cluster.original_dst, envoy.cluster.static, envoy.cluster.strict_dns, envoy.clusters.aggregate, envoy.clusters.dynamic_forward_proxy, envoy.clusters.redis
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.http.stateful_header_formatters: envoy.http.stateful_header_formatters.preserve_case, preserve_case
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.path.match: envoy.path.match.uri_template.uri_template_matcher
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.quic.proof_source: envoy.quic.proof_source.filter_chain
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.http.original_ip_detection: envoy.http.original_ip_detection.custom_header, envoy.http.original_ip_detection.xff
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.matching.input_matchers: envoy.matching.matchers.consistent_hashing, envoy.matching.matchers.ip
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.health_checkers: envoy.health_checkers.grpc, envoy.health_checkers.http, envoy.health_checkers.redis, envoy.health_checkers.tcp, envoy.health_checkers.thrift
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.upstreams: envoy.filters.connection_pools.tcp.generic
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.tls.cert_validator: envoy.tls.cert_validator.default, envoy.tls.cert_validator.spiffe
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.load_balancing_policies: envoy.load_balancing_policies.least_request, envoy.load_balancing_policies.maglev, envoy.load_balancing_policies.random, envoy.load_balancing_policies.ring_hash, envoy.load_balancing_policies.round_robin
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.transport_sockets.upstream: envoy.transport_sockets.alts, envoy.transport_sockets.http_11_proxy, envoy.transport_sockets.internal_upstream, envoy.transport_sockets.quic, envoy.transport_sockets.raw_buffer, envoy.transport_sockets.starttls, envoy.transport_sockets.tap, envoy.transport_sockets.tcp_stats, envoy.transport_sockets.tls, envoy.transport_sockets.upstream_proxy_protocol, raw_buffer, starttls, tls
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.rbac.matchers: envoy.rbac.matchers.upstream_ip_port
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.access_loggers.extension_filters: envoy.access_loggers.extension_filters.cel
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.guarddog_actions: envoy.watchdog.abort_action, envoy.watchdog.profile_action
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.filters.http.upstream: envoy.buffer, envoy.filters.http.admission_control, envoy.filters.http.buffer, envoy.filters.http.header_mutation, envoy.filters.http.upstream_codec
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.http.cache: envoy.extensions.http.cache.file_system_http_cache, envoy.extensions.http.cache.simple
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.transport_sockets.downstream: envoy.transport_sockets.alts, envoy.transport_sockets.quic, envoy.transport_sockets.raw_buffer, envoy.transport_sockets.starttls, envoy.transport_sockets.tap, envoy.transport_sockets.tcp_stats, envoy.transport_sockets.tls, raw_buffer, starttls, tls
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.retry_host_predicates: envoy.retry_host_predicates.omit_canary_hosts, envoy.retry_host_predicates.omit_host_metadata, envoy.retry_host_predicates.previous_hosts
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.wasm.runtime: envoy.wasm.runtime.null, envoy.wasm.runtime.v8
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.http.header_validators: envoy.http.header_validators.envoy_default
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.dubbo_proxy.protocols: dubbo
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.thrift_proxy.transports: auto, framed, header, unframed
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   network.connection.client: default, envoy_internal
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.quic.connection_id_generator: envoy.quic.deterministic_connection_id_generator
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.dubbo_proxy.serializers: dubbo.hessian2
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.access_loggers: envoy.access_loggers.file, envoy.access_loggers.http_grpc, envoy.access_loggers.open_telemetry, envoy.access_loggers.stderr, envoy.access_loggers.stdout, envoy.access_loggers.tcp_grpc, envoy.access_loggers.wasm, envoy.file_access_log, envoy.http_grpc_access_log, envoy.open_telemetry_access_log, envoy.stderr_access_log, envoy.stdout_access_log, envoy.tcp_grpc_access_log, envoy.wasm_access_log
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.filters.listener: envoy.filters.listener.http_inspector, envoy.filters.listener.local_ratelimit, envoy.filters.listener.original_dst, envoy.filters.listener.original_src, envoy.filters.listener.proxy_protocol, envoy.filters.listener.tls_inspector, envoy.listener.http_inspector, envoy.listener.original_dst, envoy.listener.original_src, envoy.listener.proxy_protocol, envoy.listener.tls_inspector
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.internal_redirect_predicates: envoy.internal_redirect_predicates.allow_listed_routes, envoy.internal_redirect_predicates.previous_routes, envoy.internal_redirect_predicates.safe_cross_scheme
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.matching.action: envoy.matching.actions.format_string, filter-chain-name
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.http.early_header_mutation: envoy.http.early_header_mutation.header_mutation
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.formatter: envoy.formatter.metadata, envoy.formatter.req_without_query
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.tracers: envoy.dynamic.ot, envoy.tracers.datadog, envoy.tracers.dynamic_ot, envoy.tracers.opencensus, envoy.tracers.opentelemetry, envoy.tracers.skywalking, envoy.tracers.xray, envoy.tracers.zipkin, envoy.zipkin
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.config_subscription: envoy.config_subscription.filesystem, envoy.config_subscription.filesystem_collection, envoy.config_subscription.rest
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.compression.compressor: envoy.compression.brotli.compressor, envoy.compression.gzip.compressor, envoy.compression.zstd.compressor
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.regex_engines: envoy.regex_engines.google_re2
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.rate_limit_descriptors: envoy.rate_limit_descriptors.expr
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.common.key_value: envoy.key_value.file_based
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.config.validators: envoy.config.validators.minimum_clusters, envoy.config.validators.minimum_clusters_validator
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   quic.http_server_connection: quic.http_server_connection.default
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.filters.network: envoy.echo, envoy.ext_authz, envoy.filters.network.connection_limit, envoy.filters.network.direct_response, envoy.filters.network.dubbo_proxy, envoy.filters.network.echo, envoy.filters.network.ext_authz, envoy.filters.network.http_connection_manager, envoy.filters.network.local_ratelimit, envoy.filters.network.mongo_proxy, envoy.filters.network.ratelimit, envoy.filters.network.rbac, envoy.filters.network.redis_proxy, envoy.filters.network.sni_cluster, envoy.filters.network.sni_dynamic_forward_proxy, envoy.filters.network.tcp_proxy, envoy.filters.network.thrift_proxy, envoy.filters.network.wasm, envoy.filters.network.zookeeper_proxy, envoy.http_connection_manager, envoy.mongo_proxy, envoy.ratelimit, envoy.redis_proxy, envoy.tcp_proxy
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.quic.server_preferred_address: quic.server_preferred_address.fixed
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.upstream_options: envoy.extensions.upstreams.http.v3.HttpProtocolOptions, envoy.extensions.upstreams.tcp.v3.TcpProtocolOptions, envoy.upstreams.http.http_protocol_options, envoy.upstreams.tcp.tcp_protocol_options
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.udp_packet_writer: envoy.udp_packet_writer.default, envoy.udp_packet_writer.gso
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.thrift_proxy.protocols: auto, binary, binary/non-strict, compact, twitter
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.matching.http.custom_matchers: envoy.matching.custom_matchers.trie_matcher
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.matching.network.input: envoy.matching.inputs.application_protocol, envoy.matching.inputs.destination_ip, envoy.matching.inputs.destination_port, envoy.matching.inputs.direct_source_ip, envoy.matching.inputs.dns_san, envoy.matching.inputs.filter_state, envoy.matching.inputs.server_name, envoy.matching.inputs.source_ip, envoy.matching.inputs.source_port, envoy.matching.inputs.source_type, envoy.matching.inputs.subject, envoy.matching.inputs.transport_protocol, envoy.matching.inputs.uri_san
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.thrift_proxy.filters: envoy.filters.thrift.header_to_metadata, envoy.filters.thrift.payload_to_metadata, envoy.filters.thrift.rate_limit, envoy.filters.thrift.router
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.compression.decompressor: envoy.compression.brotli.decompressor, envoy.compression.gzip.decompressor, envoy.compression.zstd.decompressor
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.quic.server.crypto_stream: envoy.quic.crypto_stream.server.quiche
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.stats_sinks: envoy.dog_statsd, envoy.graphite_statsd, envoy.metrics_service, envoy.stat_sinks.dog_statsd, envoy.stat_sinks.graphite_statsd, envoy.stat_sinks.hystrix, envoy.stat_sinks.metrics_service, envoy.stat_sinks.statsd, envoy.stat_sinks.wasm, envoy.statsd
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.resolvers: envoy.ip
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.dubbo_proxy.filters: envoy.filters.dubbo.router
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.retry_priorities: envoy.retry_priorities.previous_priorities
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.http.custom_response: envoy.extensions.http.custom_response.local_response_policy, envoy.extensions.http.custom_response.redirect_policy
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.grpc_credentials: envoy.grpc_credentials.aws_iam, envoy.grpc_credentials.default, envoy.grpc_credentials.file_based_metadata
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.network.dns_resolver: envoy.network.dns_resolver.cares, envoy.network.dns_resolver.getaddrinfo
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.resource_monitors: envoy.resource_monitors.fixed_heap, envoy.resource_monitors.injected_resource
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.matching.network.custom_matchers: envoy.matching.custom_matchers.trie_matcher
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.path.rewrite: envoy.path.rewrite.uri_template.uri_template_rewriter
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.bootstrap: envoy.bootstrap.internal_listener, envoy.bootstrap.wasm, envoy.extensions.network.socket_interface.default_socket_interface
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.connection_handler: envoy.connection_handler.default
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.http.stateful_session: envoy.http.stateful_session.cookie, envoy.http.stateful_session.header
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.matching.http.input: envoy.matching.inputs.destination_ip, envoy.matching.inputs.destination_port, envoy.matching.inputs.direct_source_ip, envoy.matching.inputs.dns_san, envoy.matching.inputs.request_headers, envoy.matching.inputs.request_trailers, envoy.matching.inputs.response_headers, envoy.matching.inputs.response_trailers, envoy.matching.inputs.server_name, envoy.matching.inputs.source_ip, envoy.matching.inputs.source_port, envoy.matching.inputs.source_type, envoy.matching.inputs.status_code_class_input, envoy.matching.inputs.status_code_input, envoy.matching.inputs.subject, envoy.matching.inputs.uri_san, query_params
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.filters.http: envoy.bandwidth_limit, envoy.buffer, envoy.cors, envoy.csrf, envoy.ext_authz, envoy.ext_proc, envoy.fault, envoy.filters.http.adaptive_concurrency, envoy.filters.http.admission_control, envoy.filters.http.alternate_protocols_cache, envoy.filters.http.aws_lambda, envoy.filters.http.aws_request_signing, envoy.filters.http.bandwidth_limit, envoy.filters.http.buffer, envoy.filters.http.cache, envoy.filters.http.cdn_loop, envoy.filters.http.composite, envoy.filters.http.compressor, envoy.filters.http.connect_grpc_bridge, envoy.filters.http.cors, envoy.filters.http.csrf, envoy.filters.http.custom_response, envoy.filters.http.decompressor, envoy.filters.http.dynamic_forward_proxy, envoy.filters.http.ext_authz, envoy.filters.http.ext_proc, envoy.filters.http.fault, envoy.filters.http.file_system_buffer, envoy.filters.http.gcp_authn, envoy.filters.http.grpc_http1_bridge, envoy.filters.http.grpc_http1_reverse_bridge, envoy.filters.http.grpc_json_transcoder, envoy.filters.http.grpc_stats, envoy.filters.http.grpc_web, envoy.filters.http.header_mutation, envoy.filters.http.header_to_metadata, envoy.filters.http.health_check, envoy.filters.http.ip_tagging, envoy.filters.http.jwt_authn, envoy.filters.http.local_ratelimit, envoy.filters.http.lua, envoy.filters.http.match_delegate, envoy.filters.http.oauth2, envoy.filters.http.on_demand, envoy.filters.http.original_src, envoy.filters.http.rate_limit_quota, envoy.filters.http.ratelimit, envoy.filters.http.rbac, envoy.filters.http.router, envoy.filters.http.set_metadata, envoy.filters.http.stateful_session, envoy.filters.http.tap, envoy.filters.http.wasm, envoy.grpc_http1_bridge, envoy.grpc_json_transcoder, envoy.grpc_web, envoy.health_check, envoy.ip_tagging, envoy.local_rate_limit, envoy.lua, envoy.rate_limit, envoy.router
[2023-11-03 15:47:19.351][19][info][main] [source/server/server.cc:408]   envoy.matching.common_inputs: envoy.matching.common_inputs.environment_variable
[2023-11-03 15:47:19.370][19][info][main] [source/server/server.cc:456] HTTP header map info:
[2023-11-03 15:47:19.371][19][info][main] [source/server/server.cc:459]   request header map: 672 bytes: :authority,:method,:path,:protocol,:scheme,accept,accept-encoding,access-control-request-headers,access-control-request-method,access-control-request-private-network,authentication,authorization,cache-control,cdn-loop,connection,content-encoding,content-length,content-type,expect,grpc-accept-encoding,grpc-timeout,if-match,if-modified-since,if-none-match,if-range,if-unmodified-since,keep-alive,origin,pragma,proxy-connection,proxy-status,referer,te,transfer-encoding,upgrade,user-agent,via,x-client-trace-id,x-envoy-attempt-count,x-envoy-decorator-operation,x-envoy-downstream-service-cluster,x-envoy-downstream-service-node,x-envoy-expected-rq-timeout-ms,x-envoy-external-address,x-envoy-force-trace,x-envoy-hedge-on-per-try-timeout,x-envoy-internal,x-envoy-ip-tags,x-envoy-is-timeout-retry,x-envoy-max-retries,x-envoy-original-path,x-envoy-original-url,x-envoy-retriable-header-names,x-envoy-retriable-status-codes,x-envoy-retry-grpc-on,x-envoy-retry-on,x-envoy-upstream-alt-stat-name,x-envoy-upstream-rq-per-try-timeout-ms,x-envoy-upstream-rq-timeout-alt-response,x-envoy-upstream-rq-timeout-ms,x-envoy-upstream-stream-duration-ms,x-forwarded-client-cert,x-forwarded-for,x-forwarded-host,x-forwarded-port,x-forwarded-proto,x-ot-span-context,x-request-id
[2023-11-03 15:47:19.371][19][info][main] [source/server/server.cc:459]   request trailer map: 120 bytes: 
[2023-11-03 15:47:19.371][19][info][main] [source/server/server.cc:459]   response header map: 432 bytes: :status,access-control-allow-credentials,access-control-allow-headers,access-control-allow-methods,access-control-allow-origin,access-control-allow-private-network,access-control-expose-headers,access-control-max-age,age,cache-control,connection,content-encoding,content-length,content-type,date,etag,expires,grpc-message,grpc-status,keep-alive,last-modified,location,proxy-connection,proxy-status,server,transfer-encoding,upgrade,vary,via,x-envoy-attempt-count,x-envoy-decorator-operation,x-envoy-degraded,x-envoy-immediate-health-check-fail,x-envoy-ratelimited,x-envoy-upstream-canary,x-envoy-upstream-healthchecked-cluster,x-envoy-upstream-service-time,x-request-id
[2023-11-03 15:47:19.371][19][info][main] [source/server/server.cc:459]   response trailer map: 144 bytes: grpc-message,grpc-status
[2023-11-03 15:47:19.391][19][info][main] [source/server/server.cc:827] runtime: {}
[2023-11-03 15:47:19.403][19][warning][main] [source/server/server.cc:690] No admin address given, so no admin HTTP server started.
[2023-11-03 15:47:19.403][19][info][config] [source/server/configuration_impl.cc:131] loading tracing configuration
[2023-11-03 15:47:19.403][19][info][config] [source/server/configuration_impl.cc:91] loading 0 static secret(s)
[2023-11-03 15:47:19.403][19][info][config] [source/server/configuration_impl.cc:97] loading 1 cluster(s)
[2023-11-03 15:47:19.407][19][info][config] [source/server/configuration_impl.cc:101] loading 1 listener(s)
[2023-11-03 15:47:19.554][19][critical][main] [source/server/server.cc:131] error initializing configuration '/etc/envoy/config.yaml': Invalid path: /etc/envoy/certs/ca.pem
[2023-11-03 15:47:19.554][19][info][main] [source/server/server.cc:980] exiting
Invalid path: /etc/envoy/certs/ca.pem
WARNING: Insecure writes have been enabled via environment variable 'JUPYTER_ALLOW_INSECURE_WRITES'! If this is not intended, remove the variable or set its value to 'False'.
[I 2023-11-03 15:47:21.560 ServerApp] Package jupyterlab took 0.0000s to import
[I 2023-11-03 15:47:21.576 ServerApp] Package jupyter_server_fileid took 0.0052s to import
[I 2023-11-03 15:47:21.579 ServerApp] Package jupyter_server_mathjax took 0.0021s to import
[I 2023-11-03 15:47:21.595 ServerApp] Package jupyter_server_terminals took 0.0143s to import
[I 2023-11-03 15:47:21.680 ServerApp] Package jupyter_server_ydoc took 0.0846s to import
[I 2023-11-03 15:47:21.745 ServerApp] Package jupyterlab_git took 0.0586s to import
[I 2023-11-03 15:47:21.746 ServerApp] Package nbclassic took 0.0000s to import
[W 2023-11-03 15:47:21.750 ServerApp] A `_jupyter_server_extension_points` function was not found in nbclassic. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2023-11-03 15:47:21.751 ServerApp] Package nbdime took 0.0001s to import
[I 2023-11-03 15:47:21.752 ServerApp] Package notebook_shim took 0.0000s to import
[W 2023-11-03 15:47:21.752 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[W 2023-11-03 15:47:21.765 FileIdExtension] Config option `kernel_spec_manager_class` not recognized by `FileIdExtension`.  Did you mean `file_id_manager_class`?
[W 2023-11-03 15:47:21.767 FileIdExtension] Config option `kernel_spec_manager_class` not recognized by `FileIdExtension`.  Did you mean `file_id_manager_class`?
[W 2023-11-03 15:47:21.772 FileIdExtension] Config option `kernel_spec_manager_class` not recognized by `FileIdExtension`.  Did you mean `file_id_manager_class`?
[I 2023-11-03 15:47:21.774 ServerApp] jupyter_server_fileid | extension was successfully linked.
[W 2023-11-03 15:47:21.786 MathJaxExtension] Config option `kernel_spec_manager_class` not recognized by `MathJaxExtension`.
[W 2023-11-03 15:47:21.788 MathJaxExtension] Config option `kernel_spec_manager_class` not recognized by `MathJaxExtension`.
[W 2023-11-03 15:47:21.801 MathJaxExtension] Config option `kernel_spec_manager_class` not recognized by `MathJaxExtension`.
[I 2023-11-03 15:47:21.803 ServerApp] jupyter_server_mathjax | extension was successfully linked.
[W 2023-11-03 15:47:21.805 TerminalsExtensionApp] Config option `kernel_spec_manager_class` not recognized by `TerminalsExtensionApp`.  Did you mean `terminal_manager_class`?
[W 2023-11-03 15:47:21.818 TerminalsExtensionApp] Config option `kernel_spec_manager_class` not recognized by `TerminalsExtensionApp`.  Did you mean `terminal_manager_class`?
[W 2023-11-03 15:47:21.822 TerminalsExtensionApp] Config option `kernel_spec_manager_class` not recognized by `TerminalsExtensionApp`.  Did you mean `terminal_manager_class`?
[I 2023-11-03 15:47:21.824 ServerApp] jupyter_server_terminals | extension was successfully linked.
[W 2023-11-03 15:47:21.838 YDocExtension] Config option `kernel_spec_manager_class` not recognized by `YDocExtension`.
[W 2023-11-03 15:47:21.840 YDocExtension] Config option `kernel_spec_manager_class` not recognized by `YDocExtension`.
[W 2023-11-03 15:47:21.844 YDocExtension] Config option `kernel_spec_manager_class` not recognized by `YDocExtension`.
[I 2023-11-03 15:47:21.856 ServerApp] jupyter_server_ydoc | extension was successfully linked.
[W 2023-11-03 15:47:21.860 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
[W 2023-11-03 15:47:21.871 LabApp] 'token' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-11-03 15:47:21.871 LabApp] 'password' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-11-03 15:47:21.872 LabApp] 'allow_origin' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-11-03 15:47:21.872 LabApp] 'allow_credentials' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-11-03 15:47:21.872 LabApp] 'tornado_settings' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-11-03 15:47:21.874 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
[W 2023-11-03 15:47:21.904 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
[W 2023-11-03 15:47:21.905 ServerApp] ServerApp.token config is deprecated in 2.0. Use IdentityProvider.token.
[I 2023-11-03 15:47:21.905 ServerApp] jupyterlab | extension was successfully linked.
[I 2023-11-03 15:47:21.906 ServerApp] jupyterlab_git | extension was successfully linked.
[W 2023-11-03 15:47:21.908 NotebookApp] Config option `kernel_spec_manager_class` not recognized by `NotebookApp`.
[W 2023-11-03 15:47:21.910 NotebookApp] 'ip' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-11-03 15:47:21.910 NotebookApp] 'ip' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-11-03 15:47:21.911 NotebookApp] 'allow_origin' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-11-03 15:47:21.911 NotebookApp] 'allow_credentials' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-11-03 15:47:21.911 NotebookApp] 'tornado_settings' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2023-11-03 15:47:21.912 NotebookApp] Config option `kernel_spec_manager_class` not recognized by `NotebookApp`.
[W 2023-11-03 15:47:21.925 NotebookApp] Config option `kernel_spec_manager_class` not recognized by `NotebookApp`.
[I 2023-11-03 15:47:21.927 ServerApp] nbclassic | extension was successfully linked.
[I 2023-11-03 15:47:21.927 ServerApp] nbdime | extension was successfully linked.
[I 2023-11-03 15:47:21.941 ServerApp] Writing Jupyter server cookie secret to /home/jovyan/.local/share/jupyter/runtime/jupyter_cookie_secret
[I 2023-11-03 15:47:22.492 ServerApp] notebook_shim | extension was successfully linked.
[I 2023-11-03 15:47:24.046 ServerApp] [nb_conda_kernels] enabled, 1 kernels found
[W 2023-11-03 15:47:24.228 ServerApp] All authentication is disabled.  Anyone who can connect to this server will be able to run code.
[I 2023-11-03 15:47:24.228 ServerApp] notebook_shim | extension was successfully loaded.
[I 2023-11-03 15:47:24.229 FileIdExtension] Configured File ID manager: ArbitraryFileIdManager
[I 2023-11-03 15:47:24.229 FileIdExtension] ArbitraryFileIdManager : Configured root dir: /home/jovyan
[I 2023-11-03 15:47:24.229 FileIdExtension] ArbitraryFileIdManager : Configured database path: /home/jovyan/.local/share/jupyter/file_id_manager.db
[I 2023-11-03 15:47:24.230 FileIdExtension] ArbitraryFileIdManager : Successfully connected to database file.
[I 2023-11-03 15:47:24.230 FileIdExtension] ArbitraryFileIdManager : Creating File ID tables and indices with journal_mode = DELETE
[I 2023-11-03 15:47:24.326 FileIdExtension] Attached event listeners.
[I 2023-11-03 15:47:24.327 ServerApp] jupyter_server_fileid | extension was successfully loaded.
[I 2023-11-03 15:47:24.328 ServerApp] jupyter_server_mathjax | extension was successfully loaded.
[I 2023-11-03 15:47:24.330 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2023-11-03 15:47:24.331 ServerApp] jupyter_server_ydoc | extension was successfully loaded.
[I 2023-11-03 15:47:24.332 LabApp] JupyterLab extension loaded from /opt/conda/lib/python3.10/site-packages/jupyterlab
[I 2023-11-03 15:47:24.332 LabApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
[I 2023-11-03 15:47:24.347 ServerApp] jupyterlab | extension was successfully loaded.
[I 2023-11-03 15:47:24.370 ServerApp] jupyterlab_git | extension was successfully loaded.

  _   _          _      _
 | | | |_ __  __| |__ _| |_ ___
 | |_| | '_ \/ _` / _` |  _/ -_)
  \___/| .__/\__,_\__,_|\__\___|
       |_|
                                                                           
Read the migration plan to Notebook 7 to learn about the new features and the actions to take if you are using extensions.

https://jupyter-notebook.readthedocs.io/en/latest/migrate_to_notebook7.html

Please note that updating to Notebook 7 might break some of your extensions.

[I 2023-11-03 15:47:24.384 ServerApp] nbclassic | extension was successfully loaded.
[I 2023-11-03 15:47:24.546 ServerApp] nbdime | extension was successfully loaded.
[I 2023-11-03 15:47:24.547 ServerApp] Serving notebooks from local directory: /home/jovyan
[I 2023-11-03 15:47:24.547 ServerApp] Jupyter Server 2.5.0 is running at:
[I 2023-11-03 15:47:24.548 ServerApp] http://127.0.0.1:8889/lab
[I 2023-11-03 15:47:24.548 ServerApp]     http://127.0.0.1:8889/lab
[I 2023-11-03 15:47:24.548 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
Web Browser Output
Result from trying to pull changes in jupyterlab-git extension, pull works with `git pull` in the terminal

image

@DaviAragorn DaviAragorn added the bug label Nov 3, 2023
Copy link

welcome bot commented Nov 3, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@DaviAragorn DaviAragorn changed the title Extension doesn't recognize changes, and isn't able to pull or push in mounted repositories Extension doesn't recognize changes and isn't able to pull or push in mounted repositories. Nov 3, 2023
@fcollonval
Copy link
Member

@omnidavi it looks like you are using some kind of proxy between the frontend and the server. That prevents the requests from this extension to be routed to the Jupyter Server (see the 504 errors you are getting).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants